-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Coroutine refactor of tester and add benchmarks #11609
Draft
jzhou77
wants to merge
7
commits into
apple:main
Choose a base branch
from
jzhou77:coroutine
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove memory allocation from existing actor callback benchmark. Comparing actor_callback to coroutine_callback (from ./cbuild_output/bin/flowbench) Benchmark Time CPU Time Old Time New CPU Old CPU New --------------------------------------------------------------------------------------------------------------------------------------------- [actor_callback vs. coroutine_callback]<1>/1 +0.1367 +0.1368 152 173 152 173 [actor_callback vs. coroutine_callback]<1>/8 +0.3173 +0.3176 481 634 481 634 [actor_callback vs. coroutine_callback]<1>/64 +0.5085 +0.5087 2633 3972 2632 3972 [actor_callback vs. coroutine_callback]<1>/256 +0.5397 +0.5399 10150 15627 10148 15626 OVERALL_GEOMEAN +0.3656 +0.3658 0 0 0 0
Benchmark Time CPU Time Old Time New CPU Old CPU New --------------------------------------------------------------------------------------------------------------------------------------------- [bench_delay vs. coroutine_delay]<DELAY>/0 +0.0418 +0.0418 102 106 102 106 [bench_delay vs. coroutine_delay]<DELAY>/1 +0.0424 +0.0424 102 107 102 107 [bench_delay vs. coroutine_delay]<DELAY>/8 +0.0393 +0.0393 102 106 102 106 [bench_delay vs. coroutine_delay]<DELAY>/64 +0.0638 +0.0638 115 122 115 122 [bench_delay vs. coroutine_delay]<DELAY>/512 +0.0429 +0.0429 127 132 127 132 [bench_delay vs. coroutine_delay]<DELAY>/4096 +0.0369 +0.0369 137 142 137 142 [bench_delay vs. coroutine_delay]<DELAY>/32768 +0.0498 +0.0498 149 157 149 157 [bench_delay vs. coroutine_delay]<DELAY>/65536 +0.0343 +0.0343 174 180 174 180 [bench_delay vs. coroutine_delay]<YIELD>/0 +0.0976 +0.0976 46 50 46 50 [bench_delay vs. coroutine_delay]<YIELD>/1 +0.0331 +0.0331 42 43 42 43 [bench_delay vs. coroutine_delay]<YIELD>/8 +0.0293 +0.0293 42 43 42 43 [bench_delay vs. coroutine_delay]<YIELD>/64 +0.0300 +0.0300 42 43 42 43 [bench_delay vs. coroutine_delay]<YIELD>/512 +0.0294 +0.0294 42 43 42 43 [bench_delay vs. coroutine_delay]<YIELD>/4096 +0.0271 +0.0271 42 43 42 43 [bench_delay vs. coroutine_delay]<YIELD>/32768 +0.0320 +0.0320 43 45 43 45 [bench_delay vs. coroutine_delay]<YIELD>/65536 +0.0264 +0.0264 46 47 46 47 OVERALL_GEOMEAN +0.0409 +0.0409 0 0 0 0 Comparing bench_net2 to coroutine_net2 (from ./cbuild_output/bin/flowbench) Benchmark Time CPU Time Old Time New CPU Old CPU New ------------------------------------------------------------------------------------------------------------------------------------ [bench_net2 vs. coroutine_net2]/1 +0.0317 +0.0317 1660 1712 1660 1712 [bench_net2 vs. coroutine_net2]/8 +0.0627 +0.0627 2900 3082 2900 3082 [bench_net2 vs. coroutine_net2]/64 +0.1096 +0.1096 13499 14979 13498 14978 [bench_net2 vs. coroutine_net2]/512 +0.1434 +0.1434 119422 136551 119420 136549 [bench_net2 vs. coroutine_net2]/4096 +0.1966 +0.1966 1269104 1518596 1269076 1518563 [bench_net2 vs. coroutine_net2]/32768 +0.1929 +0.1929 13250215 15805923 13249663 15805633 [bench_net2 vs. coroutine_net2]/65536 +0.3265 +0.3265 30584645 40571416 30584104 40569898 OVERALL_GEOMEAN +0.1484 +0.1484 0 0 0 0
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x
|
Result of foundationdb-pr-macos on macOS Ventura 13.x
|
Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x
|
Result of foundationdb-pr-macos on macOS Ventura 13.x
|
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x
|
Result of foundationdb-pr-macos on macOS Ventura 13.x
|
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
GCC compilers (tried several versions) seem to have problems compiling the code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replace this text with your description here...
Code-Reviewer Section
The general pull request guidelines can be found here.
Please check each of the following things and check all boxes before accepting a PR.
For Release-Branches
If this PR is made against a release-branch, please also check the following:
release-branch
ormain
if this is the youngest branch)