rules-framework
rules-framework copied to clipboard
Report benchmark statistics and comparison
Description
Please include here a description of the changes introduced by your new pull request.
Remember, it is important to include as much information as possible on the context of the changes, so that we can properly review it.
Also mention any issues to be closed with this pull request: Closes #(issue number).
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
Benchmark Results Report
Date & Time: 2023-04-10 21:37:06
Environment
BenchmarkDotNet Version=0.13.5
Processor=Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz,2 physical cores, 2 logical cores
Architecture=X64, Runtime=.NET 6.0.15 (6.0.1523.11507), Configuration=RELEASE
.NET CLI Version=7.0.202
Statistics
Name | Parameters | Mean Time Taken | Std Error | Branch Instructions/Op |
Branch Mispredictions/Op |
GC Gen0 | Allocated Memory |
---|---|---|---|---|---|---|---|
Benchmark1.RunAsync | [EnableCompilation=False] | 27,702 ns | 450 ns | 0 | 0 | 0.4272 | 8794 B |
Benchmark2.RunAsync | [EnableCompilation=False] | 156,257 ns | 1,033 ns | 0 | 0 | 2.9297 | 55919 B |
Benchmark3.RunAsync | [EnableCompilation=False] | 3,724,889 ns | 19,363 ns | 0 | 0 | 85.9375 | 1623834 B |
Benchmark1.RunAsync | [EnableCompilation=True] | 28,410 ns | 378 ns | 0 | 0 | 0.5188 | 9746 B |
Benchmark2.RunAsync | [EnableCompilation=True] | 5,114,277 ns | 28,238 ns | 0 | 0 | 7.8125 | 270882 B |
Benchmark3.RunAsync | [EnableCompilation=True] | 104,973,836 ns | 588,151 ns | 0 | 0 | 200.0000 | 6464525 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] | 27,702 ns | 28,410 ns | -2.56 % | 8794 B | 9746 B | -10.83 % |
Benchmark2.RunAsync | [EnableCompilation=False] | [EnableCompilation=True] | 156,257 ns | 5,114,277 ns | -3172.99 % | 55919 B | 270882 B | -384.42 % |
Benchmark3.RunAsync | [EnableCompilation=False] | [EnableCompilation=True] | 3,724,889 ns | 104,973,836 ns | -2718.17 % | 1623834 B | 6464525 B | -298.1 % |