Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Comments

Improve BDN benchmarking guide#31963

Merged
adamsitnik merged 2 commits intodotnet:masterfrom
MarcoRossignoli:benchmarking
Aug 26, 2018
Merged

Improve BDN benchmarking guide#31963
adamsitnik merged 2 commits intodotnet:masterfrom
MarcoRossignoli:benchmarking

Conversation

@MarcoRossignoli
Copy link
Member

@MarcoRossignoli MarcoRossignoli commented Aug 26, 2018

Improve 'Benchmarking .NET Core applications' guide.
I followed 'Recommended workflow' section and added startup sample, to me is more clear and complete.
It's not immediatly clear understand how to start benchmarks that command line will filter.
Feel free to reject if you think it's unuseful.

PS. Works like a charm

/cc @adamsitnik

4. Define the benchmarks and setup runner

```cs
...
Copy link
Member

Choose a reason for hiding this comment

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

I think that the ... could be removed so only "```" would stay

Copy link
Member Author

Choose a reason for hiding this comment

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

done

2. Create a new .NET Core console app using your favorite IDE
3. Install BenchmarkDotNet (0.11.1+)
4. Define the benchmarks
4. Define the benchmarks and setup runner
Copy link
Member

Choose a reason for hiding this comment

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

maybe Define the benchmarks and pass the arguments to BenchmarkSwitcher would be better?

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@adamsitnik adamsitnik self-requested a review August 26, 2018 21:03
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.

@MarcoRossignoli big thanks for the PR! I found your suggestions very useful!

Could you please remove the extra "```" and change the sentence to "Define the benchmarks and pass the arguments to BenchmarkSwitcher"?

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.

LGTM! Once again big thanks for giving it a try and updating the docs!

@adamsitnik adamsitnik merged commit 4bf7380 into dotnet:master Aug 26, 2018
@MarcoRossignoli
Copy link
Member Author

It's my pleasure thank's for this feature.

@MarcoRossignoli MarcoRossignoli deleted the benchmarking branch August 27, 2018 10:39
@karelz karelz added this to the 3.0 milestone Sep 6, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* update docs

* address PR feedback


Commit migrated from dotnet/corefx@4bf7380
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants