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

Bug: NBench doesn't scale down per-second totals to the runtime of the spec on throughput benchmarks #126

Open
Aaronontheweb opened this issue May 30, 2016 · 0 comments
Labels

Comments

@Aaronontheweb
Copy link
Member

akkadotnet/akka.net#1999 - case in point.

Akka.Tests.Performance.Actor.Pattern.AskSpec+AskThroughput

Tests how quickly ICanTell.Ask operations can be performed, and with how much memory
5/30/2016 8:45:00 PM

System Info

NBench=NBench, Version=0.3.0.0, Culture=neutral, PublicKeyToken=null
OS=Microsoft Windows NT 6.2.9200.0
ProcessorCount=2
CLR=4.0.30319.42000,IsMono=False,MaxGcGeneration=2
WorkerThreads=32767, IOThreads=2

NBench Settings

RunMode=Throughput, TestMode=Measurement
NumberOfIterations=3, MaximumRunTime=00:00:05
Concurrent=True
Tracing=True

Data


Totals

Metric Units Max Average Min StdDev
TotalBytesAllocated bytes 24,501,752.00 24,482,493.33 24,464,360.00 18,721.38
[Counter] AskReplies operations 28,311.00 28,311.00 28,311.00 0.00

Per-second Totals

Metric Units / s Max / s Average / s Min / s StdDev / s
TotalBytesAllocated bytes 61,361,105.95 58,372,460.41 54,754,466.33 3,347,981.70
[Counter] AskReplies operations 71,009.19 67,501.21 63,319.73 3,888.72

Benchmark ran for 5 seconds, so the operations / second total should be lower than the total value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant