rcrowley / go-metrics

Go port of Coda Hale's Metrics library
Other
3.43k stars 493 forks source link

Add use of results computed in BenchmarkCompute1000,1000000 #258

Open dr2chase opened 4 years ago

dr2chase commented 4 years ago

Gollvm inlines aggressively and discovers more dead code, resulting in very bogus benchmark results (zero nanoseconds). This prevents this (for this benchmark; others may need the same treatment).