google/benchmark

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

Open

#1,531 创建于 2023年1月16日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)C++ (1,539 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (7,968 star)
PR 合并指标
 (平均合并 4天 2小时) (30 天内合并 19 个 PR)

描述

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.

贡献者指南