Closed sabandi closed 3 years ago
Thanks @felixge for the encouragement🙂. I will keep reading the hotpath code multiple times to see if I can find any optimization there. So far it looks like you didn't leave any room there for optimizations. 🙂
@sabandi yeah, my recent optimizations definitely picked all the low hanging fruits there I think. To make it even faster will probably require hacking on the go runtime itself 🙈.
Anyway, I suppose there are still functional things left to do, e.g. exploring if the raw data could be streamed out, rather than just the aggregation at the end. This might allow integrating with tools such as FlameScope.
sure @felixge will try to understand more about FlameScope and how it can be integrated.
@sabandi cool : ). Happy to review & discuss stuff if you find the time for it. But no worries if not, I know life can be busy : )
…typo
Benchmark script: https://play.golang.org/p/1Qv2z4W0EMO
Results: