Re:Practical Go benchmarks
by pbnjay on Tuesday March 06, 2018 @08:49PM
(#16533745)
> The following benchmarks evaluate various functionality with the focus on real-world usage patterns.
I can't say I write much code that does one thing many times in a really tight loop. It would be a lot more interesting if the code combined multiple functions into the loop body in a better attempt to simulate "real-world usage patterns."
Re:Practical Go benchmarks
by dmitrim on Wednesday March 07, 2018 @05:45AM
(#16535561)
Good point, thanks! The idea behind these benchmarks is to make the results usable in real-world programs, rather than benchmarking real-world programs. I rephrased that sentence to avoid any confusion.
I can't say I write much code that does one thing many times in a really tight loop. It would be a lot more interesting if the code combined multiple functions into the loop body in a better attempt to simulate "real-world usage patterns."