Untitled
unknown
plain_text
a year ago
696 B
4
Indexable
Never
go test -bench=. -benchmem goos: darwin goarch: amd64 pkg: go_advanced/fibonacci cpu: Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz BenchmarkGenerateFibonacci/input_size_10-8 21365900 54.28 ns/op 80 B/op 1 allocs/op BenchmarkGenerateFibonacci/input_size_100-8 2125785 497.8 ns/op 896 B/op 1 allocs/op BenchmarkGenerateFibonacci/input_size_743-8 444812 3166 ns/op 6144 B/op 1 allocs/op BenchmarkGenerateFibonacci/input_size_3829-8 88264 15035 ns/op 32768 B/op 1 allocs/op PASS ok go_advanced/fibonacci 6.765s