Skip to content

Conversation

PCMan
Copy link
Contributor

@PCMan PCMan commented Jun 16, 2021

This can be used together with ArgsProduct() to allow multiple ranges
with different multipliers and mixing dense and sparse ranges.

Example:

BENCHMARK(MyTest)->ArgsProduct({
  CreateRange(0, 1024, /*multi=*/32),
  CreateRange(0, 100, /*multi=*/4),
  CreateDenseRange(0, 4, /*step=*/1)
});

@google-cla google-cla bot added the cla: yes label Jun 16, 2021
@PCMan PCMan force-pushed the add_range_helpers branch from 0a2310f to dfda085 Compare June 16, 2021 09:37
This can be used together with ArgsProduct() to allow multiple ranges
with different multipliers and mixing dense and sparse ranges.

Example:
BENCHMARK(MyTest)->ArgsProduct({
  CreateRange(0, 1024, /*multi=*/32),
  CreateRange(0, 100, /*multi=*/4),
  CreateDenseRange(0, 4, /*step=*/1)
});
@PCMan PCMan force-pushed the add_range_helpers branch from de04d36 to 8ee3b33 Compare June 16, 2021 10:35
@dmah42 dmah42 merged commit c932169 into google:main Jun 16, 2021
@dmah42
Copy link
Member

dmah42 commented Jun 16, 2021

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants