-
Notifications
You must be signed in to change notification settings - Fork 943
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
Dictionary Benchmarks #2705
base: master
Are you sure you want to change the base?
Dictionary Benchmarks #2705
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2705 +/- ##
==========================================
- Coverage 54.67% 54.64% -0.03%
==========================================
Files 349 349
Lines 65694 65694
Branches 13440 13440
==========================================
- Hits 35918 35901 -17
- Misses 25882 25902 +20
+ Partials 3894 3891 -3 ☔ View full report in Codecov by Sentry. |
|
||
/// <summary> | ||
/// Tests performance and memory usage of ImmutableDictionary. | ||
/// </summary> |
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.
comment
public abstract class DictionaryKeyBenchmark<T> | ||
{ | ||
// [Params(16, 128, 1024)] | ||
public int NumElements { get; set; } = 1024; |
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.
re add size parameter
public int NumElements { get; set; } = 1024; | ||
|
||
// Create a Dictionary and a SortedDictionary | ||
protected T[] m_lookup = null; |
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.
comment
|
||
/// <summary> | ||
/// Tests performance and memory usage of SortedDictionary. | ||
/// </summary> |
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.
comment
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.13.12 to 0.14.0. - [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases) - [Commits](dotnet/BenchmarkDotNet@v0.13.12...v0.14.0) --- updated-dependencies: - dependency-name: BenchmarkDotNet dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…-0.14.0' into dictbenchmarks
|
Proposed changes
Dictionary<NodeId,value>
Related Issues
Types of changes
What types of changes does your code introduce?
Put an
x
in the boxes that apply. You can also fill these out after creating the PR.Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Further comments
NodeId Dictionary Benchmarks: For each IdType, last one is with mixed NodeId.