Skip to content

Commit a04c5cb

Browse files
committed
Print go version in benchmark [ci skip]
1 parent 4ace194 commit a04c5cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_benchmark/tarai.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ def tarai(x, y, z) =
2525
# Suppress Ractor warning
2626
$VERBOSE = nil
2727

28+
system("go version", exception: true)
29+
2830
Benchmark.ips do |x|
2931
# sequential version
3032
x.report("sequential"){ 4.times{ tarai(14, 7, 0) } }

0 commit comments

Comments
 (0)