Skip to content

aukbit/fibonacci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Fibonacci Circle CI

Test and benchmark several implementations of the fibonacci numbers in Go

$ GOMAXPROCS=1 go test . -bench=. -benchmem
BenchmarkFiboRecursive           3000000               471 ns/op               0 B/op          0 allocs/op
BenchmarkFiboClosure            20000000                84.7 ns/op            48 B/op          3 allocs/op
BenchmarkFiboConcurrent          2000000               933 ns/op             192 B/op          1 allocs/op

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages