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

test: router #95

Merged
merged 1 commit into from
May 6, 2023
Merged

test: router #95

merged 1 commit into from
May 6, 2023

Conversation

abemedia
Copy link
Owner

@abemedia abemedia commented May 6, 2023

No description provided.

@codecov
Copy link

codecov bot commented May 6, 2023

Codecov Report

Patch coverage has no change and project coverage change: +1.80 🎉

Comparison is base (0a282f0) 81.00% compared to head (6ccdc5d) 82.81%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   81.00%   82.81%   +1.80%     
==========================================
  Files          19       19              
  Lines         774      774              
==========================================
+ Hits          627      641      +14     
+ Misses        119      105      -14     
  Partials       28       28              
Impacted Files Coverage Δ
api.go 84.00% <ø> (+8.00%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2023

Benchmark Result

Benchmark diff with base branch
goos: linux
goarch: amd64
pkg: github.com/abemedia/go-don
cpu: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
          │ bench-master.txt │         bench-new.txt         │
          │      sec/op      │   sec/op     vs base          │
Handler-2        465.6n ± 1%   467.5n ± 1%  ~ (p=0.481 n=10)

          │ bench-master.txt │         bench-new.txt          │
          │       B/op       │    B/op     vs base            │
Handler-2         72.00 ± 0%   72.00 ± 0%  ~ (p=1.000 n=10) ¹
¹ all samples are equal

          │ bench-master.txt │         bench-new.txt          │
          │    allocs/op     │ allocs/op   vs base            │
Handler-2         2.000 ± 0%   2.000 ± 0%  ~ (p=1.000 n=10) ¹
¹ all samples are equal

pkg: github.com/abemedia/go-don/decoder
                    │ bench-master.txt │           bench-new.txt            │
                    │      sec/op      │   sec/op     vs base               │
Decoder/Gorilla-2          19.63µ ± 3%   19.84µ ± 1%       ~ (p=0.123 n=10)
Decoder/DonCached-2        1.021µ ± 2%   1.011µ ± 1%       ~ (p=0.425 n=10)
Decoder/Don-2              1.059µ ± 2%   1.048µ ± 2%       ~ (p=0.110 n=10)
geomean                    2.768µ        2.760µ       -0.31%

                    │ bench-master.txt │             bench-new.txt             │
                    │       B/op       │     B/op      vs base                 │
Decoder/Gorilla-2         2.500Ki ± 0%   2.500Ki ± 0%       ~ (p=1.000 n=10) ¹
Decoder/DonCached-2         176.0 ± 0%     176.0 ± 0%       ~ (p=1.000 n=10) ¹
Decoder/Don-2               176.0 ± 0%     176.0 ± 0%       ~ (p=1.000 n=10) ¹
geomean                     429.6          429.6       +0.00%
¹ all samples are equal

                    │ bench-master.txt │            bench-new.txt            │
                    │    allocs/op     │ allocs/op   vs base                 │
Decoder/Gorilla-2           166.0 ± 0%   166.0 ± 0%       ~ (p=1.000 n=10) ¹
Decoder/DonCached-2         3.000 ± 0%   3.000 ± 0%       ~ (p=1.000 n=10) ¹
Decoder/Don-2               3.000 ± 0%   3.000 ± 0%       ~ (p=1.000 n=10) ¹
geomean                     11.43        11.43       +0.00%
¹ all samples are equal
Benchmark result
goos: linux
goarch: amd64
pkg: github.com/abemedia/go-don
cpu: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
          │ bench-new.txt │
          │    sec/op     │
Handler-2     467.5n ± 1%

          │ bench-new.txt │
          │     B/op      │
Handler-2      72.00 ± 0%

          │ bench-new.txt │
          │   allocs/op   │
Handler-2      2.000 ± 0%

pkg: github.com/abemedia/go-don/decoder
                    │ bench-new.txt │
                    │    sec/op     │
Decoder/Gorilla-2       19.84µ ± 1%
Decoder/DonCached-2     1.011µ ± 1%
Decoder/Don-2           1.048µ ± 2%
geomean                 2.760µ

                    │ bench-new.txt │
                    │     B/op      │
Decoder/Gorilla-2      2.500Ki ± 0%
Decoder/DonCached-2      176.0 ± 0%
Decoder/Don-2            176.0 ± 0%
geomean                  429.6

                    │ bench-new.txt │
                    │   allocs/op   │
Decoder/Gorilla-2        166.0 ± 0%
Decoder/DonCached-2      3.000 ± 0%
Decoder/Don-2            3.000 ± 0%
geomean                  11.43

@abemedia abemedia merged commit 8db2eaa into master May 6, 2023
@abemedia abemedia deleted the test/router branch May 6, 2023 16:09
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