Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(tests): add alertmanager 0.21.0 mock files #1867

Merged
merged 1 commit into from
Jun 19, 2020
Merged

Conversation

prymitive
Copy link
Owner

No description provided.

@prymitive
Copy link
Owner Author

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                           5.44ms ± 2%        5.43ms ± 2%     ~     (p=0.383 n=20+20)
Decompress/Run-2                         3.96ms ± 2%        3.97ms ± 4%     ~     (p=0.799 n=20+20)
CompressionAndDecompression/Run-2        10.0ms ± 2%         9.9ms ± 2%     ~     (p=0.201 n=20+20)
PullAlerts/0.17.0-2                      6.32ms ± 2%        6.34ms ± 4%     ~     (p=0.426 n=18+20)
AlertsAPIMisses/0.17.0-2                 1.47ms ± 5%        1.44ms ± 3%   -2.38%  (p=0.003 n=20+19)
AlertsAPIHits/0.17.0-2                    946µs ± 3%         921µs ± 2%   -2.64%  (p=0.000 n=20+19)
pkg:github.com/prymitive/karma/internal/alertmanager goos:linux goarch:amd64
DedupAlerts/Run-2                         137µs ± 2%         178µs ± 4%  +29.66%  (p=0.000 n=19+20)
DedupAutocomplete/Run-2                  88.1µs ± 1%       101.3µs ± 2%  +14.95%  (p=0.000 n=17+20)
DedupColors/Run-2                        18.7µs ± 1%        22.8µs ± 1%  +21.50%  (p=0.000 n=20+18)

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 B/alloc        new B/alloc        delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2                            4.92M ± 0%         4.91M ± 0%   -0.07%  (p=0.000 n=19+16)
Decompress/Run-2                          3.03M ± 0%         3.03M ± 0%     ~     (p=0.131 n=20+20)
CompressionAndDecompression/Run-2         4.92M ± 0%         4.92M ± 0%     ~     (p=0.096 n=18+20)
PullAlerts/0.17.0-2                       2.98M ± 0%         2.99M ± 0%   +0.13%  (p=0.013 n=20+20)
AlertsAPIMisses/0.17.0-2                  3.38M ± 0%         3.40M ± 0%   +0.34%  (p=0.000 n=19+19)
AlertsAPIHits/0.17.0-2                    3.35M ± 0%         3.36M ± 0%   +0.35%  (p=0.000 n=18+16)

name                               old alloc/op       new alloc/op       delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2                           1.13MB ± 0%        1.13MB ± 0%     ~     (all equal)
Decompress/Run-2                         4.24MB ± 0%        4.24MB ± 0%   +0.00%  (p=0.004 n=17+20)
CompressionAndDecompression/Run-2        5.38MB ± 0%        5.38MB ± 0%   +0.00%  (p=0.013 n=20+18)
PullAlerts/0.17.0-2                      1.26MB ± 0%        1.26MB ± 0%     ~     (p=0.800 n=18+20)
AlertsAPIMisses/0.17.0-2                 1.29MB ± 0%        1.29MB ± 0%     ~     (p=0.678 n=20+20)
AlertsAPIHits/0.17.0-2                    311kB ± 1%         311kB ± 1%     ~     (p=0.547 n=20+20)
pkg:github.com/prymitive/karma/internal/alertmanager goos:linux goarch:amd64
DedupAlerts/Run-2                        75.9kB ± 0%       107.9kB ± 0%  +42.17%  (p=0.000 n=14+20)
DedupAutocomplete/Run-2                  40.3kB ± 0%        44.8kB ± 0%  +11.07%  (p=0.000 n=18+20)
DedupColors/Run-2                        6.28kB ± 0%        7.53kB ± 0%  +19.95%  (p=0.000 n=13+20)

name                               old allocs/op      new allocs/op      delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2                             31.0 ± 0%          31.0 ± 0%     ~     (all equal)
Decompress/Run-2                           80.0 ± 0%          80.0 ± 0%     ~     (all equal)
CompressionAndDecompression/Run-2           111 ± 0%           111 ± 0%     ~     (all equal)
PullAlerts/0.17.0-2                       22.5k ± 0%         22.5k ± 0%     ~     (all equal)
AlertsAPIMisses/0.17.0-2                  5.98k ± 0%         5.98k ± 0%     ~     (p=1.000 n=20+20)
AlertsAPIHits/0.17.0-2                    2.35k ± 0%         2.35k ± 0%     ~     (p=1.000 n=20+20)
pkg:github.com/prymitive/karma/internal/alertmanager goos:linux goarch:amd64
DedupAlerts/Run-2                           396 ± 0%           445 ± 0%  +12.37%  (p=0.000 n=20+20)
DedupAutocomplete/Run-2                     131 ± 0%           142 ± 0%   +8.40%  (p=0.000 n=20+20)
DedupColors/Run-2                          43.0 ± 0%          51.0 ± 0%  +18.60%  (p=0.000 n=20+20)

@prymitive prymitive merged commit 20dfcd1 into master Jun 19, 2020
@prymitive prymitive deleted the am-0.21.0 branch June 19, 2020 13:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant