Skip to content

Conversation

xiaost
Copy link
Collaborator

@xiaost xiaost commented Oct 9, 2024

goos: darwin
goarch: arm64
pkg: github.com/cloudwego/kitex/pkg/retry
                       │  ./old.txt  │             ./new.txt              │
                       │   sec/op    │   sec/op     vs base               │
PrepareRetryContext-12   68.97n ± 1%   28.52n ± 2%  -58.64% (p=0.002 n=6)

                       │  ./old.txt  │             ./new.txt             │
                       │    B/op     │    B/op     vs base               │
PrepareRetryContext-12   104.00 ± 0%   24.00 ± 0%  -76.92% (p=0.002 n=6)

                       │ ./old.txt  │             ./new.txt             │
                       │ allocs/op  │ allocs/op   vs base               │
PrepareRetryContext-12   4.000 ± 0%   1.000 ± 0%  -75.00% (p=0.002 n=6)

What type of PR is this?

perf

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@xiaost xiaost requested review from a team as code owners October 9, 2024 11:07
goos: darwin
goarch: arm64
pkg: github.com/cloudwego/kitex/pkg/retry
                       │  ./old.txt  │             ./new.txt              │
                       │   sec/op    │   sec/op     vs base               │
PrepareRetryContext-12   68.97n ± 1%   28.52n ± 2%  -58.64% (p=0.002 n=6)

                       │  ./old.txt  │             ./new.txt             │
                       │    B/op     │    B/op     vs base               │
PrepareRetryContext-12   104.00 ± 0%   24.00 ± 0%  -76.92% (p=0.002 n=6)

                       │ ./old.txt  │             ./new.txt             │
                       │ allocs/op  │ allocs/op   vs base               │
PrepareRetryContext-12   4.000 ± 0%   1.000 ± 0%  -75.00% (p=0.002 n=6)
@xiaost xiaost merged commit 9ae6f86 into cloudwego:develop Oct 14, 2024
19 checks passed
@xiaost xiaost deleted the perf/retry-obj branch October 14, 2024 04:27
ppzqh pushed a commit to ppzqh/kitex that referenced this pull request Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants