fast.v fixes

pull/3513/head
Alexander Medvednikov 2020-01-20 02:19:16 +01:00
parent 2f27eb42ed
commit 53b06048d2
3 changed files with 4 additions and 4 deletions

View File

@ -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..."

View File

@ -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"')

View File

@ -38,7 +38,6 @@ td {
<h2>Is V still fast?</h2>
Monitoring compilation speed for each commit. <br><br>
Running on a 2014 MacBook Pro. <br><br>
Source code: <a target=blank href='https://github.com/vlang/v/blob/master/tools/fast/fast.v'>fast.v</a> <br><br>
<table>
@ -48,6 +47,6 @@ Source code: <a target=blank href='https://github.com/vlang/v/blob/master/tools/
<td style='width:400px'></td>
<td style='width:120px'>v -o v.c</td>
<td style='width:120px'>v -o v</td>
<td style='width:120px'>v -o v -fast</td>
<td style='width:130px'>v -x64 1mil.v</td>
<td style='width:120px'>v hello.v</td>
</tr>