mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools/fast: use clang
This commit is contained in:
parent
c93e51e92d
commit
13ee2ad670
@ -29,9 +29,9 @@ fn main() {
|
|||||||
println('Building vprod...')
|
println('Building vprod...')
|
||||||
exec('v -o $vdir/vprod -prod $vdir/v.v')
|
exec('v -o $vdir/vprod -prod $vdir/v.v')
|
||||||
println('Measuring...')
|
println('Measuring...')
|
||||||
diff1 := measure('$vdir/vprod -o v.c $vdir/v.v')
|
diff1 := measure('$vdir/vprod -cc clang -o v.c $vdir/v.v')
|
||||||
diff2 := measure('$vdir/vprod -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 -cc clang -o v2 -fast $vdir/v.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"')
|
||||||
message := exec('git log -n1 --pretty="format:%s"')
|
message := exec('git log -n1 --pretty="format:%s"')
|
||||||
|
@ -18,9 +18,8 @@ td {
|
|||||||
<h2>Is V still fast?</h2>
|
<h2>Is V still fast?</h2>
|
||||||
|
|
||||||
Monitoring the speed of the compilation for each commit. <br><br>
|
Monitoring the speed of the compilation for each commit. <br><br>
|
||||||
|
|
||||||
Running on a $3.5/mo micro instance. <br><br>
|
Running on a $3.5/mo micro instance. <br><br>
|
||||||
Source code: <a href='#'>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>
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user