Let's say I have written different functions to compute Fibonacci's nth number:
func fiboIterative(n int) {
...
}
func fiboRecursive(n int) {
...
}
And I'd like to get a chart showing the performances of each function depending on the value of n.
So far, I have been benchmarking using the built-in testing
package which prints the time per operations to the console. Is there a simple way/package to run the benchmark for multiple values of n, stores the result in a csv or something similar and then plot them?