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

feat: support Go1.21.0 #493

Merged
merged 18 commits into from Aug 10, 2023
Merged

feat: support Go1.21.0 #493

merged 18 commits into from Aug 10, 2023

Conversation

AsterDY
Copy link
Collaborator

@AsterDY AsterDY commented Aug 2, 2023

Benchmark (compares to Go1.17)

  • decoder
name                                    old time/op    new time/op    delta
Decoder_Generic_Sonic-16                  69.0µs ± 3%    69.9µs ± 4%     ~     (p=0.400 n=10+9)
Decoder_Generic_Sonic_Fast-16             55.4µs ± 2%    59.8µs ± 5%   +7.90%  (p=0.000 n=10+10)
Decoder_Generic_StdLib-16                  143µs ± 5%     151µs ±13%   +5.73%  (p=0.011 n=10+10)
Decoder_Binding_Sonic-16                  25.6µs ± 5%    24.9µs ± 4%     ~     (p=0.123 n=10+10)
Decoder_Binding_Sonic_Fast-16             23.3µs ± 5%    21.1µs ± 4%   -9.54%  (p=0.000 n=10+10)
Decoder_Binding_StdLib-16                  133µs ± 1%     132µs ±11%     ~     (p=0.661 n=9+10)
Decoder_Parallel_Generic_Sonic-16         31.4µs ±13%    29.0µs ± 8%   -7.51%  (p=0.035 n=10+9)
Decoder_Parallel_Generic_Sonic_Fast-16    26.6µs ±23%    24.8µs ± 8%     ~     (p=0.123 n=10+10)
Decoder_Parallel_Generic_StdLib-16        89.8µs ±11%    65.0µs ± 8%  -27.59%  (p=0.000 n=10+10)
Decoder_Parallel_Binding_Sonic-16         10.4µs ± 2%     9.4µs ± 3%   -9.64%  (p=0.000 n=10+10)
Decoder_Parallel_Binding_Sonic_Fast-16    9.29µs ±22%    7.30µs ± 6%  -21.44%  (p=0.000 n=10+9)
Decoder_Parallel_Binding_StdLib-16        48.1µs ±12%    67.5µs ±60%  +40.47%  (p=0.000 n=10+10)
  • encoder
name                                    old time/op    new time/op    delta
Encoder_Generic_Sonic-16                  36.6µs ± 4%    38.2µs ±17%     ~     (p=0.393 n=10+10)
Encoder_Generic_Sonic_Fast-16             25.6µs ± 8%    24.2µs ±10%   -5.36%  (p=0.017 n=10+9)
Encoder_Generic_StdLib-16                  120µs ± 4%     116µs ±13%     ~     (p=0.143 n=10+10)
Encoder_Binding_Sonic-16                  6.81µs ± 3%    6.89µs ± 2%     ~     (p=0.165 n=10+10)
Encoder_Binding_Sonic_Fast-16             5.53µs ± 1%    5.32µs ± 2%   -3.80%  (p=0.000 n=9+9)
Encoder_Binding_StdLib-16                 18.0µs ±12%    15.6µs ± 2%  -13.33%  (p=0.000 n=10+10)
Encoder_Parallel_Generic_Sonic-16         14.6µs ±15%    12.4µs ± 9%  -15.15%  (p=0.001 n=10+10)
Encoder_Parallel_Generic_Sonic_Fast-16    7.94µs ±11%    7.42µs ± 9%   -6.48%  (p=0.008 n=10+9)
Encoder_Parallel_Generic_StdLib-16        51.2µs ± 5%    54.5µs ± 9%   +6.44%  (p=0.029 n=10+10)
Encoder_Parallel_Binding_Sonic-16         2.90µs ± 9%    2.76µs ± 3%   -4.64%  (p=0.003 n=9+10)
Encoder_Parallel_Binding_Sonic_Fast-16    2.23µs ± 1%    2.13µs ± 5%   -4.50%  (p=0.001 n=9+9)
Encoder_Parallel_Binding_StdLib-16        4.96µs ± 9%    4.93µs ±12%     ~     (p=0.980 n=9+9)

@codecov-commenter
Copy link

codecov-commenter commented Aug 2, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@7f66420). Click here to learn what that means.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main     #493   +/-   ##
=======================================
  Coverage        ?   72.84%           
=======================================
  Files           ?       60           
  Lines           ?     7994           
  Branches        ?        0           
=======================================
  Hits            ?     5823           
  Misses          ?     1850           
  Partials        ?      321           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@AsterDY AsterDY force-pushed the feat/go121 branch 2 times, most recently from 7c3f3d8 to 48187b5 Compare August 2, 2023 12:11
@AsterDY AsterDY force-pushed the feat/go121 branch 2 times, most recently from 2b53983 to 0ae1bf2 Compare August 2, 2023 13:50
@AsterDY AsterDY changed the title feat: support Go1.21(rc3) feat: support Go1.21(rc4) Aug 3, 2023
@AsterDY AsterDY changed the title feat: support Go1.21(rc4) feat: support Go1.21.0 Aug 9, 2023
@AsterDY AsterDY enabled auto-merge (squash) August 9, 2023 13:07
@AsterDY AsterDY merged commit 007f4ff into main Aug 10, 2023
28 checks passed
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.

None yet

3 participants