From 53b06048d2d41f183698a560a82f70042e3fcd8e Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 20 Jan 2020 02:19:16 +0100 Subject: [PATCH] fast.v fixes --- .github/workflows/ci.yml | 3 ++- tools/fast/fast.v | 2 +- tools/fast/header.html | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 507de3202b..13a3247a19 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,7 +124,8 @@ jobs: ./v -o vprod -prod v.v cd tools echo "Generating a 1m line V file..." - ../vprod run gen1m.v > 1m.v + ../vprod gen1m.v + ./gen1m > 1m.v echo "Building it..." ../vprod -x64 -o 1m 1m.v echo "Running it..." diff --git a/tools/fast/fast.v b/tools/fast/fast.v index a7de349d90..c1b05fd8a2 100644 --- a/tools/fast/fast.v +++ b/tools/fast/fast.v @@ -40,7 +40,7 @@ fn main() { println('Measuring...') diff1 := measure('$vdir/vprod -cc clang -o v.c $vdir/v.v') diff2 := measure('$vdir/vprod -cc clang -o v2 $vdir/v.v') - diff3 := measure('$vdir/vprod -o v2 -fast $vdir/v.v') + diff3 := measure('$vdir/vprod -x64 $vdir/tools/1mil.v') diff4 := measure('$vdir/vprod -cc clang $vdir/examples/hello_world.v') //println('Building V took ${diff}ms') commit_date := exec('git log -n1 --pretty="format:%at"') diff --git a/tools/fast/header.html b/tools/fast/header.html index e3e1fc8f86..6e3f4ae727 100644 --- a/tools/fast/header.html +++ b/tools/fast/header.html @@ -38,7 +38,6 @@ td {

Is V still fast?

Monitoring compilation speed for each commit.

-Running on a 2014 MacBook Pro.

Source code: fast.v

@@ -48,6 +47,6 @@ Source code: - +
v -o v.c v -o vv -o v -fastv -x64 1mil.v v hello.v