tools/fast: use clang

pull/2693/head
Alexander Medvednikov 2019-11-07 21:53:07 +03:00
parent c93e51e92d
commit 13ee2ad670
2 changed files with 4 additions and 5 deletions

View File

@ -29,9 +29,9 @@ fn main() {
println('Building vprod...')
exec('v -o $vdir/vprod -prod $vdir/v.v')
println('Measuring...')
diff1 := measure('$vdir/vprod -o v.c $vdir/v.v')
diff2 := measure('$vdir/vprod -o v2 $vdir/v.v')
diff3 := measure('$vdir/vprod -o v2 -fast $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')
diff3 := measure('$vdir/vprod -cc clang -o v2 -fast $vdir/v.v')
//println('Building V took ${diff}ms')
commit_date := exec('git log -n1 --pretty="format:%at"')
message := exec('git log -n1 --pretty="format:%s"')

View File

@ -18,9 +18,8 @@ td {
<h2>Is V still fast?</h2>
Monitoring the speed of the compilation for each commit. <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>
<tr>