Skip to content

Commit

Permalink
Promote inclusive language. (google#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
messerb5467 authored Mar 18, 2022
1 parent a480a08 commit 60b16f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/releasing.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# How to release

* Make sure you're on main and synced to HEAD
* Ensure the project builds and tests run (sanity check only, obviously)
* Ensure the project builds and tests run
* `parallel -j0 exec ::: test/*_test` can help ensure everything at least
passes
* Prepare release notes
Expand Down
4 changes: 2 additions & 2 deletions src/benchmark_runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ IterationCount BenchmarkRunner::PredictNumItersNeeded(
const IterationCount max_next_iters = static_cast<IterationCount>(
std::lround(std::max(multiplier * static_cast<double>(i.iters),
static_cast<double>(i.iters) + 1.0)));
// But we do have *some* sanity limits though..
// But we do have *some* limits though..
const IterationCount next_iters = std::min(max_next_iters, kMaxIterations);

BM_VLOG(3) << "Next iters: " << next_iters << ", " << multiplier << "\n";
Expand All @@ -261,7 +261,7 @@ bool BenchmarkRunner::ShouldReportIterationResults(
i.seconds >= min_time || // The elapsed time is large enough.
// CPU time is specified but the elapsed real time greatly exceeds
// the minimum time.
// Note that user provided timers are except from this sanity check.
// Note that user provided timers are except from this test.
((i.results.real_time_used >= 5 * min_time) && !b.use_manual_time());
}

Expand Down

0 comments on commit 60b16f1

Please sign in to comment.