Updated Go version
This commit is contained in:
parent
b065f56b8e
commit
3b6b87f223
9 changed files with 10 additions and 10 deletions
|
@ -49,7 +49,7 @@ func BenchmarkExamples(b *testing.B) {
|
|||
b.Run(test.Name, func(b *testing.B) {
|
||||
compiler := build.New(filepath.Join("..", "examples", test.Name))
|
||||
|
||||
for range b.N {
|
||||
for b.Loop() {
|
||||
_, err := compiler.Run()
|
||||
assert.Nil(b, err)
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@ func BenchmarkPrograms(b *testing.B) {
|
|||
b.Run(test.Name, func(b *testing.B) {
|
||||
compiler := build.New(filepath.Join("programs", test.Name+".q"))
|
||||
|
||||
for range b.N {
|
||||
for b.Loop() {
|
||||
_, err := compiler.Run()
|
||||
assert.Nil(b, err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue