updating benchmarks

on the new machine, consistent
not rubyx yet
This commit is contained in:
2019-07-23 20:14:28 +03:00
parent 861fa3203f
commit 00bf38a0e6
17 changed files with 47 additions and 56 deletions

25
test/bench/go/adds.go Normal file
View File

@ -0,0 +1,25 @@
package main
func fibo(n int ) int {
result := 0
a := 0
b := 1
i := 1
for( i < n ) {
result = a + b;
a = b;
b = result;
i++;
}
return result
}
func main() {
sum := 1
for sum < 100000 {
sum += 1
fibo( 20 )
}
}