-
Couldn't load subscription status.
- Fork 285
Add benchmarks for Microsoft.Extensions.Configuration.Xml #1719
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
Conversation
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.
Looks reasonable. I'd like @adamsitnik to take a look.
| @@ -0,0 +1,104 @@ | |||
| <settings> | |||
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.
I just want to say this is beautiful.
|
Ack, this one is really old. @dotnet/area-extensions-configuration could one of you please sign off or review? reopening to rebuild. |
...micro/libraries/Microsoft.Extensions.Configuration.Xml/XmlConfigurationProviderBenchmarks.cs
Outdated
Show resolved
Hide resolved
|
I completely forgot about this (looks like you guys did too 😁) but I can try to find some time this weekend or next week to tidy it up as I promised almost a year ago. |
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.
![]()
src/benchmarks/micro/libraries/Microsoft.Extensions.Configuration.Xml/TestFiles/names.xml
Outdated
Show resolved
Hide resolved
… which is still supported
System.FormatException: A duplicate key 'RepeatedElements:DefaultConnection:ConnectionString' was found
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.
@amoerie I am terribly sorry, I have missed the GitHub notification. I've pushed a few fixes to your fork based on https://github.com/dotnet/performance/blob/main/docs/microbenchmark-design-guidelines.md
|
No worries at all, this is probably super low in the priority list and rightly so. Thanks for applying those fixes! They make a lot of sense. I wanted to add a small note about the removal of repeated.xml: So if the dependency on the Microsoft.Extensions.* libraries were updated to their respective 6.* versions, the benchmark should run. |
|
Thanks @adamsitnik and @amoerie @amoerie if you see other benchmark gaps you are interested in contributing to, that would be welcome and you can expect us to merge them more promptly (this is unusual 😄 ) |
I'm not exactly in the habit of perusing the dotnet repositories here, but I'll gladly contribute if I have an itch to scratch and I feel like I'm up to the task. 😅 Thanks for the review support, it is a very good learning resource! |
Hi
While creating a pull request in the dotnet runtime repo, I created some benchmarks to ensure my changes did not introduce a regression.
By request of @safern, I am adding these benchmarks here.
I'm still struggling a bit with properly running them, and I'm short on time, so please give me a while to get this PR into a more polished state.