Skip to content

Commit 5ad2698

Browse files
committed
[benchmark] Refactor: type independent variants
Benchmarks from Array group (except the `init`) don’t use the `withType` parameter from the `run_` function anymore. The type specific variation is taken care of in the `BenchmarkInfo`, since the `existentialArray` with appropriate type is created by the `setUpFunction`. This means we can reuse the same non-generic `run_ ` function for the whole group and eliminate all the specialized `runFunction` variants. This eliminates 144 lines of boilerplate.
1 parent 6b29523 commit 5ad2698

File tree

2 files changed

+91
-224
lines changed

2 files changed

+91
-224
lines changed

0 commit comments

Comments
 (0)