diff --git a/cmd/tools/fast/fast.v b/cmd/tools/fast/fast.v index 41b043c8ef..12180b8ac9 100644 --- a/cmd/tools/fast/fast.v +++ b/cmd/tools/fast/fast.v @@ -42,7 +42,7 @@ fn main() { return } */ - last_commits := exec('git log --pretty=format:"%h" -n 20').split('\n')//.reverse() + last_commits := exec('git log --pretty=format:"%h" -n 20').split('\n') // Fetch all unprocessed commits (commits after the last processed commit) mut commits := []string{} println('last_commit="$commit_hash"') @@ -60,8 +60,7 @@ fn main() { println('\n${i + 1}/$commits.len Benchmarking commit $commit "$message"') // Build an optimized V println(' Building vprod...') - //exec('v -o $vdir/vprod -prod $vdir/cmd/v') - exec('v -o $vdir/vprod $vdir/cmd/v') + exec('v -o $vdir/vprod -prod $vdir/cmd/v') diff1 := measure('$vdir/vprod -cc clang -o v.c $vdir/cmd/v', 'v.c') diff2 := measure('$vdir/vprod -cc clang -o v2 $vdir/cmd/v', 'v2') diff3 := measure('$vdir/vprod -x64 $vdir/cmd/tools/1mil.v', 'x64 1mil') @@ -74,7 +73,7 @@ fn main() { table = ' ${date.format()} - $commit_hash + $commit $message ${diff1}ms ${diff2}ms