mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fast.v fixes
This commit is contained in:
parent
2f27eb42ed
commit
53b06048d2
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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..."
|
||||
|
@ -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"')
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user