cloudflare / cloudflare/cf_benchmark

go_benchmarks.go with looped single case got throughput drift

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
45
Forks
17
PR merge metrics
No merged PRs in 30d

Description

I'm planning to benchmark go runtime multi-thread performance with the go_benchmarks.go.
Modified the benchmark to run single case with multiple times(as Loop_single2.patch)
Observed the "RSA2048 3-prime Sign" throughput will drift from 12xxx ops/s to 15xxx ops/s gradually(ref: Loop_singel_result.txt)
Some other cases(ECDSA-P256 for example) have similar trend also.

Verified with Go 1.17 and 1.20, on Intel Xeon(R) Platinum 8480+ and Intel(R) Xeon(R) Gold 6240Y

[Loop_single2.patch](https://github.com/cloudflare/cf_benchmark/files/11392575/Loop_single2.patch)
[Loop_single_result.txt](https://github.com/cloudflare/cf_benchmark/files/11392577/Loop_single_result.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.