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

Benchmarks give inconsistent memory results #26

Open
petarpetrovt opened this issue Nov 26, 2020 · 0 comments
Open

Benchmarks give inconsistent memory results #26

petarpetrovt opened this issue Nov 26, 2020 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@petarpetrovt
Copy link
Owner

petarpetrovt commented Nov 26, 2020

Every run benchmarks give difference memory allocated results.
Benchmarks should not allocate any memory.

BenchmarkDotNet similar issues

Example

Method Job Runtime Length Count Mean Error StdDev Gen 0 Gen 1 Gen 2 Allocated
BoseNelson_Comparable .NET Core 3.1 .NET Core 3.1 2 110000000 269.2 ms 1.36 ms 1.28 ms - - - 1408 B
BoseNelson_Branchless .NET Core 3.1 .NET Core 3.1 2 110000000 120.0 ms 0.44 ms 0.41 ms - - - -
Method Job Runtime Length Count Mean Error StdDev Gen 0 Gen 1 Gen 2 Allocated
BoseNelson_Comparable .NET Core 3.1 .NET Core 3.1 2 110000000 270.2 ms 0.86 ms 0.81 ms - - - 1384 B
BoseNelson_Branchless .NET Core 3.1 .NET Core 3.1 2 110000000 120.6 ms 2.40 ms 2.24 ms - - - -
@petarpetrovt petarpetrovt added the bug Something isn't working label Nov 26, 2020
@petarpetrovt petarpetrovt added this to the v2.0 milestone Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant