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

perf(uri): preallocate encodeObject buffer #719

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

tdakkota
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Dec 13, 2022

Codecov Report

Base: 74.27% // Head: 74.27% // No change to project coverage 👍

Coverage data is based on head (9ddaede) compared to base (9ddaede).
Patch has no changes to coverable lines.

❗ Current head 9ddaede differs from pull request most recent head 290e329. Consider uploading reports for the commit 290e329 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #719   +/-   ##
=======================================
  Coverage   74.27%   74.27%           
=======================================
  Files         175      175           
  Lines       12693    12693           
=======================================
  Hits         9428     9428           
  Misses       2783     2783           
  Partials      482      482           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@tdakkota tdakkota marked this pull request as ready for review December 13, 2022 00:47
Benchstat:
```
name            old time/op    new time/op    delta
EncodeObject-4     357ns ± 3%     149ns ± 3%  -58.15%  (p=0.000 n=13+14)

name            old alloc/op   new alloc/op   delta
EncodeObject-4      248B ± 0%       80B ± 0%  -67.74%  (p=0.000 n=15+15)

name            old allocs/op  new allocs/op  delta
EncodeObject-4      5.00 ± 0%      1.00 ± 0%  -80.00%  (p=0.000 n=15+15)
```
@tdakkota tdakkota force-pushed the perf/uri-preallocate branch from 7a948ad to 290e329 Compare December 13, 2022 03:43
@ernado ernado merged commit ad15ce2 into ogen-go:main Dec 13, 2022
@tdakkota tdakkota deleted the perf/uri-preallocate branch December 14, 2022 01:31
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.

2 participants