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

Add benchmark for localCounter #32

Merged
merged 4 commits into from
Jul 24, 2024
Merged

Add benchmark for localCounter #32

merged 4 commits into from
Jul 24, 2024

Conversation

VojtechVitek
Copy link
Contributor

No description provided.

Copy link

Benchmark Results


Copy link

Benchmark Results

goos: linux
goarch: amd64
pkg: github.com/go-chi/httprate
cpu: AMD EPYC 7763 64-Core Processor                
               │    pr.txt    │
               │    sec/op    │
LocalCounter-4   62.54m ± ∞ ¹
¹ need >= 6 samples for confidence interval at level 0.95

               │    pr.txt     │
               │     B/op      │
LocalCounter-4   4.362Mi ± ∞ ¹
¹ need >= 6 samples for confidence interval at level 0.95

               │    pr.txt    │
               │  allocs/op   │
LocalCounter-4   253.7k ± ∞ ¹
¹ need >= 6 samples for confidence interval at level 0.95

Copy link

Benchmark Results

goos: linux
goarch: amd64
pkg: github.com/go-chi/httprate
cpu: AMD EPYC 7763 64-Core Processor                
               │   pr.txt    │
               │   sec/op    │
LocalCounter-4   62.54m ± 1%

               │    pr.txt    │
               │     B/op     │
LocalCounter-4   4.362Mi ± 0%

               │   pr.txt    │
               │  allocs/op  │
LocalCounter-4   253.7k ± 0%

@VojtechVitek VojtechVitek merged commit 7228fd5 into master Jul 24, 2024
3 checks passed
@VojtechVitek VojtechVitek deleted the wzxOaQTV branch July 24, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant