google / google/benchmark

[FR] Allow ThreadRange Multiplier to be different from Arg Ranges one

Open
#1,531 0 comments 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
C++
Stars
10.4k
Forks
1.8k
Avg merge
2d 4h
Merged PRs (30d)
8

Description

**Is your feature request related to a problem? Please describe.**
Once a RangeMultiplier is set, the threadrange also uses the exact same one, it would be easier if one could either set a ThreadRangeMultiplier or a multiplier argument to `ThreadRange(min,max,multiplier)`

**Describe the solution you'd like**
A simple solution could be accepting a multiplier argument to the the `ThreadRange` arguments which can be used in case you'd need a customization on ThreadRange different from `RangeMultiplier`

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.