Skip to content

Benchmarks: shows results per single operation instead of batching operations #19875

Open
@roji

Description

@roji

Many of our benchmarks (e.g. FuncletizationTests) perform a look inside the method to avoid having the method call overhead skew the results. This is good practice, but results are reported for the batch instead of per-operation; BenchmarkDotNet allows a benchmark to expose how many operations are invoked in the function for display purposes (OperationsPerInvoke).

Requires a database cleanup as well at the same time, can do this on my next visit to Redmond.

/cc @sebastienros

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions