Skip to content

Adds benchmarks for GetChildKeys#2336

Merged
adamsitnik merged 3 commits intodotnet:mainfrom
maryamariyan:get-child-keys
Aug 31, 2022
Merged

Adds benchmarks for GetChildKeys#2336
adamsitnik merged 3 commits intodotnet:mainfrom
maryamariyan:get-child-keys

Conversation

@maryamariyan
Copy link
Contributor

@maryamariyan maryamariyan commented Mar 30, 2022

Related to PR dotnet/runtime#67186

cc: @adamsitnik

Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maryamariyan thank you for your contribution! PTAL at my comments


var keysWithCommonPaths = new Dictionary<string, string>() { };
for (int i = 1000; i < 2000; i++)
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder whether we could use more realistic input (I doubt that our users have 1k of very short keys in the config).

@davidfowl where could we find some real life examples of user configs?

Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
@danmoseley
Copy link
Member

@adamsitnik are your comments satisfactorily addressed?

@adamsitnik
Copy link
Member

are your comments satisfactorily addressed?

I wish we had more realistic input like real life config files, but I am OK with merging it as it is now.

@adamsitnik adamsitnik merged commit 1298851 into dotnet:main Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants