Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add benchmarks for the code changes in ac16dc9
name old time/op new time/op delta NewSampleFromTrail/no_failed-8 1.08µs ± 6% 1.02µs ± 6% ~ (p=0.095 n=5+5) NewSampleFromTrail/failed-8 2.20µs ± 5% 2.22µs ± 3% ~ (p=0.841 n=5+5) name old alloc/op new alloc/op delta NewSampleFromTrail/no_failed-8 336B ± 0% 336B ± 0% ~ (all equal) NewSampleFromTrail/failed-8 752B ± 0% 752B ± 0% ~ (all equal) name old allocs/op new allocs/op delta NewSampleFromTrail/no_failed-8 4.00 ± 0% 4.00 ± 0% ~ (all equal) NewSampleFromTrail/failed-8 5.00 ± 0% 5.00 ± 0% ~ (all equal) name old time/op new time/op delta MeasureAndEmitMetrics/no_responseCallback-8 6.71µs ± 3% 6.82µs ± 2% ~ (p=0.421 n=5+5) MeasureAndEmitMetrics/responseCallback-8 8.13µs ± 8% 7.16µs ± 3% -11.96% (p=0.008 n=5+5) name old alloc/op new alloc/op delta MeasureAndEmitMetrics/no_responseCallback-8 1.03kB ± 0% 1.10kB ± 0% +6.20% (p=0.008 n=5+5) MeasureAndEmitMetrics/responseCallback-8 1.80kB ± 0% 1.10kB ± 0% -39.11% (p=0.008 n=5+5) name old allocs/op new allocs/op delta MeasureAndEmitMetrics/no_responseCallback-8 9.00 ± 0% 9.00 ± 0% ~ (all equal) MeasureAndEmitMetrics/responseCallback-8 10.0 ± 0% 9.0 ± 0% -10.00% (p=0.008 n=5+5)
- Loading branch information