google / google/benchmark

[BUG] RangeMultiplier(1) creates infinite loop

Open
#1,504 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
10.4k
Forks
1.8k
Avg merge
2d 4h
Merged PRs (30d)
8

Description

**Describe the bug**
BENCHMARK(myfunction)->RangeMultiplier(1)->Range(1, 2);
creates an infinite loop

**System**
redhat 8, g++ 8.5

**Expected behavior**
I would expect here that RangeMultiplier(1)->Range(1, 2) yields the same behavior as ->Range(1, 2)
just increment by 1 each time

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.