Skip to content

Update ASP.NET Core metadata #9639

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
merged 4 commits into from
Mar 17, 2025

Conversation

sebastienros
Copy link
Contributor

Would you be able to update the moniker to ASP.NET Core [Platform] instead of the currently ASP.NET Core value?

/cc @DamianEdwards

Would it be possible to also update the <T> calculation using `ASP.NET Core [Paltform]` instead of the previous `ASP.NET Core`?
@@ -67,7 +67,7 @@
"webserver": "Kestrel",
"os": "Linux",
"database_os": "Linux",
"display_name": "ASP.NET Core [Minimal APIs, Pg, Dapper]",
"display_name": "ASP.NET Core [Minimal APIs]",
"notes": "",
"versus": "aspnetcore"
Copy link
Contributor

Choose a reason for hiding this comment

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

did we want to change the "versus" value to, so that it's compared to the platform test? What is this actually referring to now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

versus: The name of another test

In this case it's the framework value concatenated with the name of the test: [default], minimal, mvc, aot. So to compare to Platform (which is default) we just use the framework name -> aspnetcore.

Copy link
Contributor

Choose a reason for hiding this comment

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

I thought the framework name was ASP.NET Core now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but there are two framework fields in the json ... I was referring to the top property (assuming that's what the doc describes) https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Codebase-Framework-Files#benchmark-config-file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The one in each "test":

framework (metadata): name of the framework (only used to display information on the results site)

this one is display-only

Copy link
Contributor

Choose a reason for hiding this comment

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

ok so the actual framework name is "aspnetcore" and the display name is "ASP.NET Core"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok so the actual framework name is "aspnetcore" and the display name is "ASP.NET Core"?

Nothing after this change will display only "ASP.NET Core". There will always be [{test name}] at least.

Going back to your original question, putting aspnetcore in the versus properties means that we are comparing to the Platform test, since it's the default test. If we wanted to compare to MVC for instance we would have to use the value aspentcore-mvc.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nothing after this change will display only "ASP.NET Core".

Right, but the filters panel will show the frameworks as "ASP.NET Core [Platform]", etc. yes? What is the "aspnetcore" value used for then I wonder?

Copy link
Contributor Author

@sebastienros sebastienros Mar 11, 2025

Choose a reason for hiding this comment

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

Yes, the filters will show "ASP.NET Core [Platform]" now.

What is the "aspnetcore" value used for then I wonder?

I would assume only technical things like the versus property, or the tooling. But I am wondering how aspnetcore is even showing today then. Maybe I need to update the config.toml file too. Not sure what is the source of truth between these two.

Copy link
Member

Choose a reason for hiding this comment

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

config.toml is in limbo atm - it's safe to ignore.

@msmith-techempower
Copy link
Member

Is this ready to merge?

@sebastienros
Copy link
Contributor Author

Yes, please merge

@msmith-techempower msmith-techempower merged commit 2661d4b into TechEmpower:master Mar 17, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants