Closed prymitive closed 1 month ago
Go benchmark diff
name old time/op new time/op delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2 3.09ms ± 2% 3.11ms ± 2% ~ (p=0.447 n=10+9)
Decompress/Run-2 4.95ms ± 4% 6.05ms ± 3% +22.39% (p=0.000 n=10+10)
CompressionAndDecompression/Run-2 7.47ms ± 1% 7.60ms ± 4% +1.76% (p=0.043 n=8+10)
PullAlerts/0.22.0-2 2.91ms ± 2% 2.93ms ± 2% ~ (p=0.436 n=10+10)
AlertsAPIMisses/0.22.0-2 1.27ms ± 6% 1.33ms ± 8% ~ (p=0.075 n=10+10)
AlertsAPIMissesAutoGrid/0.22.0-2 1.26ms ± 4% 1.29ms ± 6% ~ (p=0.280 n=10+10)
AlertsAPIHits/0.22.0-2 651µs ± 2% 669µs ± 3% +2.76% (p=0.002 n=10+10)
pkg:github.com/prymitive/karma/internal/alertmanager goos:linux goarch:amd64
DedupAlerts/Run-2 152µs ± 1% 157µs ± 5% +3.45% (p=0.000 n=9+10)
DedupAutocomplete/Run-2 71.8µs ± 1% 72.6µs ± 2% +1.20% (p=0.000 n=10+9)
DedupColors/Run-2 19.8µs ± 1% 19.6µs ± 2% ~ (p=0.139 n=10+9)
pkg:github.com/prymitive/karma/internal/filters goos:linux goarch:amd64
Autocomplete-2 118ms ± 2% 122ms ± 1% +3.51% (p=0.000 n=9+8)
name old %/compression new %/compression delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2 0.04 ± 0% 0.04 ± 0% ~ (all equal)
name old alloc/op new alloc/op delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2 1.47MB ± 0% 1.47MB ± 0% +0.00% (p=0.001 n=9+9)
Decompress/Run-2 10.6MB ± 0% 10.6MB ± 0% ~ (all equal)
CompressionAndDecompression/Run-2 12.1MB ± 0% 12.1MB ± 0% ~ (p=0.071 n=10+10)
PullAlerts/0.22.0-2 887kB ± 0% 887kB ± 0% ~ (p=0.579 n=10+10)
AlertsAPIMisses/0.22.0-2 1.46MB ± 0% 1.46MB ± 0% ~ (p=0.796 n=10+10)
AlertsAPIMissesAutoGrid/0.22.0-2 1.47MB ± 0% 1.47MB ± 0% ~ (p=0.165 n=10+10)
AlertsAPIHits/0.22.0-2 255kB ± 0% 255kB ± 0% ~ (p=0.393 n=10+10)
pkg:github.com/prymitive/karma/internal/alertmanager goos:linux goarch:amd64
DedupAlerts/Run-2 181kB ± 0% 181kB ± 0% ~ (p=0.096 n=10+10)
DedupAutocomplete/Run-2 52.2kB ± 0% 52.2kB ± 0% ~ (p=0.119 n=9+10)
DedupColors/Run-2 14.6kB ± 0% 14.6kB ± 0% -0.00% (p=0.046 n=8+10)
pkg:github.com/prymitive/karma/internal/filters goos:linux goarch:amd64
Autocomplete-2 71.4MB ± 0% 71.4MB ± 0% ~ (p=0.400 n=9+10)
name old allocs/op new allocs/op delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2 28.0 ± 0% 28.7 ± 2% +2.50% (p=0.005 n=9+10)
Decompress/Run-2 76.0 ± 0% 76.0 ± 0% ~ (all equal)
CompressionAndDecompression/Run-2 108 ± 0% 108 ± 0% ~ (all equal)
PullAlerts/0.22.0-2 16.4k ± 0% 16.4k ± 0% ~ (p=1.000 n=10+10)
AlertsAPIMisses/0.22.0-2 2.71k ± 0% 2.71k ± 0% ~ (all equal)
AlertsAPIMissesAutoGrid/0.22.0-2 2.57k ± 0% 2.57k ± 0% -0.02% (p=0.022 n=10+9)
AlertsAPIHits/0.22.0-2 1.83k ± 0% 1.83k ± 0% +0.05% (p=0.000 n=10+9)
pkg:github.com/prymitive/karma/internal/alertmanager goos:linux goarch:amd64
DedupAlerts/Run-2 925 ± 0% 925 ± 0% ~ (all equal)
DedupAutocomplete/Run-2 154 ± 0% 154 ± 0% ~ (all equal)
DedupColors/Run-2 67.0 ± 0% 67.0 ± 0% ~ (all equal)
pkg:github.com/prymitive/karma/internal/filters goos:linux goarch:amd64
Autocomplete-2 1.59M ± 0% 1.59M ± 0% ~ (p=0.409 n=9+10)
Automated changes by create-pull-request GitHub action