Skip to content

perf: improve encoding performance#104

Merged
abemedia merged 1 commit into
masterfrom
perf/encoding
May 8, 2023
Merged

perf: improve encoding performance#104
abemedia merged 1 commit into
masterfrom
perf/encoding

Conversation

@abemedia
Copy link
Copy Markdown
Owner

@abemedia abemedia commented May 8, 2023

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2023

Benchmark Result

Benchmark diff with base branch
goos: linux
goarch: amd64
pkg: github.com/abemedia/go-don
cpu: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz
          │ bench-master.txt │         bench-new.txt         │
          │      sec/op      │   sec/op     vs base          │
Handler-2        570.2n ± 1%   569.2n ± 1%  ~ (p=0.838 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
Benchmark result
goos: linux
goarch: amd64
pkg: github.com/abemedia/go-don
cpu: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz
          │ bench-new.txt │
          │    sec/op     │
Handler-2     569.2n ± 1%

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

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

@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2023

Codecov Report

Patch coverage: 33.33% and project coverage change: +0.69 🎉

Comparison is base (a1d75f6) 89.73% compared to head (aad7e7c) 90.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
+ Coverage   89.73%   90.42%   +0.69%     
==========================================
  Files          19       19              
  Lines         779      773       -6     
==========================================
  Hits          699      699              
+ Misses         63       59       -4     
+ Partials       17       15       -2     
Impacted Files Coverage Δ
encode.go 42.85% <20.00%> (+4.14%) ⬆️
decode.go 60.00% <100.00%> (+7.82%) ⬆️

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

@abemedia abemedia merged commit 9dbebfa into master May 8, 2023
@abemedia abemedia deleted the perf/encoding branch May 8, 2023 18:06
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