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

issues/150: make encrypted cookies more performant #152

Merged
merged 6 commits into from
Oct 11, 2022
Merged

issues/150: make encrypted cookies more performant #152

merged 6 commits into from
Oct 11, 2022

Conversation

komuw
Copy link
Owner

@komuw komuw commented Oct 11, 2022

What:

  • make encrypted cookies more performant

Why:

name            old time/op    new time/op    delta
SetEncrypted-8    3.92µs ± 2%    2.05µs ± 2%  -47.75%  (p=0.000 n=20+18)

name            old alloc/op   new alloc/op   delta
SetEncrypted-8    1.66kB ± 1%    0.83kB ± 1%  -49.93%  (p=0.000 n=20+20)

name            old allocs/op  new allocs/op  delta
SetEncrypted-8      21.0 ± 0%       9.0 ± 0%  -57.14%  (p=0.000 n=20+20)

komuw added 4 commits October 11, 2022 11:56
name            old time/op    new time/op    delta
SetEncrypted-8    3.92µs ± 2%    2.05µs ± 2%  -47.75%  (p=0.000 n=20+18)

name            old alloc/op   new alloc/op   delta
SetEncrypted-8    1.66kB ± 1%    0.83kB ± 1%  -49.93%  (p=0.000 n=20+20)

name            old allocs/op  new allocs/op  delta
SetEncrypted-8      21.0 ± 0%       9.0 ± 0%  -57.14%  (p=0.000 n=20+20)
@komuw komuw marked this pull request as ready for review October 11, 2022 09:48
@komuw komuw merged commit 05937ed into main Oct 11, 2022
@komuw komuw deleted the issues/150 branch October 11, 2022 10:07
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.

make SetEncrypted/GetEncrypted more performant
1 participant