File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 11## 2.0.0
22Breaking changes:
3+ - The functions ` benchmark ` and ` asyncBenchmark ` are not longer generic and now
4+ have the optional parameters: ` warmUpDuration ` , ` sampleSize ` , ` customEmitter ` .
35- The classes ` Benchmark ` and ` AsyncBenchmark ` were renamed ` ScoreGenerator `
4- and ` AsyncScoreGenerator ` ,respectively, They are now solely responsible for
5- generating benchmark scores. The constructor parameters ` description ` and
6- ` emitter ` have been removed. Generating the benchmark reports
6+ and ` AsyncScoreGenerator ` ,respectively,
7+ They no longer inherit from ` BenchmarkBase ` and ` AsyncBenchmarkBase ` and are
8+ now solely responsible for
9+ generating benchmark scores. As such, the constructor parameters ` description ` and
10+ ` emitter ` have been removed.
11+ - Generating the benchmark reports
712is delegated to ` ScoreEmitter ` .
8- - The functions ` benchmark ` and ` asyncBenchmark ` are not longer generic and now
9- have the optional parameters: ` warmUpDuration ` , ` warmUpRuns ` .
10- ` sampleSize ` , ` customEmitter ` .
13+ - The function ` sampleSize ` now returns an object of type ` SampleSize ` instead
14+ of a record.
15+ - The default score emitter is now ` StatsEmitter ` . To emit a report that is
16+ similar to that printed by ` benchmark_harness ` use ` MeanEmitter ` .
1117
1218## 1.0.0
1319Breaking changes:
You can’t perform that action at this time.
0 commit comments