Skip to content

Commit

Permalink
aaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
miparnisari committed Oct 19, 2023
1 parent 44fb470 commit c7904a0
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(10)
}
}

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

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

1 comment on commit c7904a0

@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: c7904a0 Previous: 5725c59 Ratio
BenchmarkFib10 - ns/op 1062651 ns/op 1117284 ns/op 0.95
BenchmarkFib10 - B/op 0 B/op 0 B/op NaN
BenchmarkFib10 - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkFib20 - ns/op 1061485 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 1062892 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.