-
Notifications
You must be signed in to change notification settings - Fork 1.1k
adding ORSet benchmarks #4990
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
Merged
Aaronontheweb
merged 7 commits into
akkadotnet:dev
from
Aaronontheweb:benchmark/ddata-orset
May 21, 2021
Merged
adding ORSet benchmarks #4990
Aaronontheweb
merged 7 commits into
akkadotnet:dev
from
Aaronontheweb:benchmark/ddata-orset
May 21, 2021
Conversation
This file contains hidden or 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
Working on akkadotnet#4956
Baseline Performance NumbersBenchmarkDotNet=v0.12.1, OS=Windows 10.0.19041.928 (2004/?/20H1)
AMD Ryzen 7 1700, 1 CPU, 16 logical and 8 physical cores
.NET Core SDK=5.0.201
[Host] : .NET Core 3.1.13 (CoreCLR 4.700.21.11102, CoreFX 4.700.21.11602), X64 RyuJIT
DefaultJob : .NET Core 3.1.13 (CoreCLR 4.700.21.11102, CoreFX 4.700.21.11602), X64 RyuJIT
|
Using this to help gauge ORSet / other CRDT merge performance
|
Method | ClockSize | Iterations | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
VectorClock_comparisons_should_compare_same | 100 | 1000 | 125.352 ms | 1.0077 ms | 0.8414 ms | 7750.0000 | - | - | 31.3 MB |
VectorClock_comparisons_should_compare_Before_last | 100 | 1000 | 123.932 ms | 0.7283 ms | 0.6081 ms | 7800.0000 | - | - | 31.3 MB |
VectorClock_comparisons_should_compare_After_last | 100 | 1000 | 121.413 ms | 1.0413 ms | 0.8130 ms | 7800.0000 | - | - | 31.3 MB |
VectorClock_comparisons_should_compare_Concurrent_last | 100 | 1000 | 119.488 ms | 0.3350 ms | 0.2797 ms | 7600.0000 | - | - | 31.01 MB |
VectorClock_comparisons_should_compare_Before_middle | 100 | 1000 | 121.540 ms | 0.6755 ms | 0.5988 ms | 7750.0000 | - | - | 31.3 MB |
VectorClock_comparisons_should_compare_After_middle | 100 | 1000 | 121.492 ms | 0.4260 ms | 0.3326 ms | 7800.0000 | - | - | 31.3 MB |
VectorClock_comparisons_should_compare_Concurrent_middle | 100 | 1000 | 61.325 ms | 0.2811 ms | 0.2347 ms | 4111.1111 | - | - | 16.43 MB |
VectorClock_comparisons_should_compare_notEquals_Before_Middle | 100 | 1000 | 62.342 ms | 0.8807 ms | 0.8238 ms | 4000.0000 | - | - | 16.39 MB |
VectorClock_comparisons_should_compare_notEquals_After_Middle | 100 | 1000 | 2.894 ms | 0.0119 ms | 0.0106 ms | 378.9063 | - | - | 1.52 MB |
VectorClock_comparisons_should_compare_notEquals_Concurrent_Middle | 100 | 1000 | 2.871 ms | 0.0518 ms | 0.0485 ms | 378.9063 | - | - | 1.52 MB |
Moved all comparisons inside BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19041.928 (2004/?/20H1)
AMD Ryzen 7 1700, 1 CPU, 16 logical and 8 physical cores
.NET Core SDK=5.0.201
[Host] : .NET Core 3.1.13 (CoreCLR 4.700.21.11102, CoreFX 4.700.21.11602), X64 RyuJIT
DefaultJob : .NET Core 3.1.13 (CoreCLR 4.700.21.11102, CoreFX 4.700.21.11602), X64 RyuJIT
|
Checking to see if BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19041.928 (2004/?/20H1)
AMD Ryzen 7 1700, 1 CPU, 16 logical and 8 physical cores
.NET Core SDK=5.0.201
[Host] : .NET Core 3.1.13 (CoreCLR 4.700.21.11102, CoreFX 4.700.21.11602), X64 RyuJIT
DefaultJob : .NET Core 3.1.13 (CoreCLR 4.700.21.11102, CoreFX 4.700.21.11602), X64 RyuJIT
|
Arkatufus
approved these changes
May 21, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me.
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.
Working on #4956