Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Disambiguate Benchmark#cycles and the onCycle event from Benchmark#stats.samples.length #30

Open
jdalton opened this issue Nov 29, 2012 · 1 comment
Labels

Comments

@jdalton
Copy link
Member

jdalton commented Nov 29, 2012

The number of times onCycle is called doesn't match up with Benchmark#cycles because onCycle is also called per sample run as well.

@andrewdeandrade
Copy link

How about onBenchmark for each benchmark and onSample for each sample, and then Benchmark#cycles can now be a private counter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants