Skip to content

Update names and descriptions for benchmarks #18430

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 1 commit into from
Jan 21, 2020

Conversation

pranavkm
Copy link
Contributor

No description provided.

@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Jan 17, 2020
@pranavkm pranavkm requested a review from sebastienros January 17, 2020 23:01
@@ -16,29 +16,59 @@ group('JSON handling', () => {
teardown(() => app.dispose());

benchmark('Serialize 1kb', () =>
benchmarkJson(app, '#serialize-small', '#serialized-length', 935));
benchmarkJson(app, '#serialize-small', '#serialized-length', 935), {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@SteveSandersonMS prior to this change, we were using the value of the name argument (in this case 'Serialize 1kb') as the names recorded by the benchmarking infrastructure. @sebastienros suggested we use less prosaic text and follow the pattern that the rest of the infrastructure uses. I took what was admittedly the easiest way to tack on additional content to a benchmark.

I'm happy with this change as is given that it's ultimately test infrastructure, but I'm open to changes if you feel there's a better way to approach this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the content we ultimately want to produce: https://gist.github.com/pranavkm/387f83d25600b4d30f7bfc52010227e3

@pranavkm pranavkm closed this Jan 21, 2020
@pranavkm pranavkm reopened this Jan 21, 2020
@pranavkm pranavkm merged commit ba08d60 into blazor-wasm Jan 21, 2020
@pranavkm pranavkm added this to the blazor-wasm-3.2-preview1 milestone Jan 21, 2020
@dougbu dougbu deleted the prkrishn/benchmark-name branch May 18, 2020 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants