fast.v fixes
parent
2f27eb42ed
commit
53b06048d2
|
@ -124,7 +124,8 @@ jobs:
|
||||||
./v -o vprod -prod v.v
|
./v -o vprod -prod v.v
|
||||||
cd tools
|
cd tools
|
||||||
echo "Generating a 1m line V file..."
|
echo "Generating a 1m line V file..."
|
||||||
../vprod run gen1m.v > 1m.v
|
../vprod gen1m.v
|
||||||
|
./gen1m > 1m.v
|
||||||
echo "Building it..."
|
echo "Building it..."
|
||||||
../vprod -x64 -o 1m 1m.v
|
../vprod -x64 -o 1m 1m.v
|
||||||
echo "Running it..."
|
echo "Running it..."
|
||||||
|
|
|
@ -40,7 +40,7 @@ fn main() {
|
||||||
println('Measuring...')
|
println('Measuring...')
|
||||||
diff1 := measure('$vdir/vprod -cc clang -o v.c $vdir/v.v')
|
diff1 := measure('$vdir/vprod -cc clang -o v.c $vdir/v.v')
|
||||||
diff2 := measure('$vdir/vprod -cc clang -o v2 $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')
|
diff4 := measure('$vdir/vprod -cc clang $vdir/examples/hello_world.v')
|
||||||
//println('Building V took ${diff}ms')
|
//println('Building V took ${diff}ms')
|
||||||
commit_date := exec('git log -n1 --pretty="format:%at"')
|
commit_date := exec('git log -n1 --pretty="format:%at"')
|
||||||
|
|
|
@ -38,7 +38,6 @@ td {
|
||||||
<h2>Is V still fast?</h2>
|
<h2>Is V still fast?</h2>
|
||||||
|
|
||||||
Monitoring compilation speed for each commit. <br><br>
|
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>
|
Source code: <a target=blank href='https://github.com/vlang/v/blob/master/tools/fast/fast.v'>fast.v</a> <br><br>
|
||||||
|
|
||||||
<table>
|
<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:400px'></td>
|
||||||
<td style='width:120px'>v -o v.c</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</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>
|
<td style='width:120px'>v hello.v</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue