From 13ee2ad67004e870a39250a2918f7f42a65b3133 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 7 Nov 2019 21:53:07 +0300 Subject: [PATCH] tools/fast: use clang --- tools/fast/fast.v | 6 +++--- tools/fast/header.html | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/fast/fast.v b/tools/fast/fast.v index 5473efdc9f..602c9d12ae 100644 --- a/tools/fast/fast.v +++ b/tools/fast/fast.v @@ -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"') diff --git a/tools/fast/header.html b/tools/fast/header.html index 5518555f84..5d8687c705 100644 --- a/tools/fast/header.html +++ b/tools/fast/header.html @@ -18,9 +18,8 @@ td {

Is V still fast?

Monitoring the speed of the compilation for each commit.

- Running on a $3.5/mo micro instance.

-Source code: fast.v

+Source code: fast.v