Skip to content
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

Report benchmark statistics and comparison #129

Closed
wants to merge 59 commits into from

Conversation

luispfgarces
Copy link
Contributor

Description

Creates a benchmark statistics and comparison report. Adds a job to run benchmarks and report them to a comment on pull request.

Change checklist

  • Code follows the code rules guidelines of this project
  • Commit messages follow the commit rules of this project
  • I have self-reviewed my changes before submitting this pull request
  • I have covered new/changed code with new tests and/or adjusted existent ones
  • I have made changes necessary to update the documentation accordingly

Please also check the I want to contribute guidelines and make sure you have done accordingly.

Disclaimer

By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

@github-actions
Copy link

github-actions bot commented Mar 12, 2023

Benchmark Results Report

Date & Time: 2023-03-13 00:17:50

Environment

BenchmarkDotNet Version=0.13.5

Processor=Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz,2 physical cores, 2 logical cores

Architecture=X64, Runtime=.NET 6.0.14 (6.0.1423.7309), Configuration=RELEASE

.NET CLI Version=7.0.201

Statistics

Name Parameters Mean Time Taken Std Error GC Gen0 Allocated Memory
Benchmark1.RunAsync [EnableCompilation=False] 2,315 ns 11 ns 0.0610 1624 B
Benchmark2.RunAsync [EnableCompilation=False] 7,035 ns 34 ns 0.1526 4016 B
Benchmark3.RunAsync [EnableCompilation=False] 130,206 ns 565 ns 2.9297 79220 B
Benchmark1.RunAsync [EnableCompilation=True] 2,262 ns 11 ns 0.0648 1760 B
Benchmark2.RunAsync [EnableCompilation=True] 3,467 ns 12 ns 0.0725 1976 B
Benchmark3.RunAsync [EnableCompilation=True] 91,445 ns 259 ns 1.3428 37016 B

Statistics Comparison

Name Baseline Compare Mean Time Taken
[Baseline]
Mean Time Taken
[Compare]
Mean Time Taken
[Comparison %]
Allocated Memory
[Baseline]
Allocated Memory
[Compare]
Allocated Memory
[Comparison %]
Benchmark1.RunAsync [EnableCompilation=False] [EnableCompilation=True] 2,315 ns 2,262 ns 2.33 % 1624 B 1760 B -8.37 %
Benchmark2.RunAsync [EnableCompilation=False] [EnableCompilation=True] 7,035 ns 3,467 ns 50.72 % 4016 B 1976 B 50.8 %
Benchmark3.RunAsync [EnableCompilation=False] [EnableCompilation=True] 130,206 ns 91,445 ns 29.77 % 79220 B 37016 B 53.27 %

@luispfgarces luispfgarces added the enhancement New feature or request label Mar 13, 2023
@luispfgarces luispfgarces self-assigned this Mar 13, 2023
@luispfgarces
Copy link
Contributor Author

Replacing by PR #137.

@luispfgarces luispfgarces deleted the report_benchmark_statistics_and_comparison branch April 10, 2023 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants