Skip to content

Commit

Permalink
even worse
Browse files Browse the repository at this point in the history
  • Loading branch information
miparnisari committed Oct 19, 2023
1 parent 316811f commit 9c73c8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ import (

func BenchmarkFib10(b *testing.B) {
for i := 0; i < b.N; i++ {
_ = Fib(20)
_ = Fib(40)
}
}

func BenchmarkFib20(b *testing.B) {
for i := 0; i < b.N; i++ {
_ = Fib(40)
_ = Fib(60)
}
}

func BenchmarkFib25(b *testing.B) {
for i := 0; i < b.N; i++ {
_ = Fib(50)
_ = Fib(70)
}
}

1 comment on commit 9c73c8d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 9c73c8d Previous: 5725c59 Ratio
BenchmarkFib10 - ns/op 1071329 ns/op 1117284 ns/op 0.96
BenchmarkFib10 - B/op 0 B/op 0 B/op NaN
BenchmarkFib10 - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkFib20 - ns/op 1066380 ns/op 1118837 ns/op 0.95
BenchmarkFib20 - B/op 0 B/op 0 B/op NaN
BenchmarkFib20 - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkFib25 - ns/op 1065059 ns/op 1116708 ns/op 0.95
BenchmarkFib25 - B/op 0 B/op 0 B/op NaN
BenchmarkFib25 - allocs/op 0 allocs/op 0 allocs/op NaN

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.