Skip to content

Commit 74d6bdb

Browse files
committed
Rename no alloc variant
1 parent 32baaa9 commit 74d6bdb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libcxx/test/benchmarks/algorithms/partitions/stable_partition.bench.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,14 @@ int main(int argc, char** argv) {
166166
};
167167

168168
// std::stable_partition
169-
bm.operator()<std::vector<int>>("std::stable_partition(vector<int>) (no alloc)", std_stable_partition);
170-
bm.operator()<std::deque<int>>("std::stable_partition(deque<int>) (no alloc)", std_stable_partition);
171-
bm.operator()<std::list<int>>("std::stable_partition(list<int>) (no alloc)", std_stable_partition);
169+
bm.operator()<std::vector<int>>("std::stable_partition(vector<int>) (alloc fails)", std_stable_partition);
170+
bm.operator()<std::deque<int>>("std::stable_partition(deque<int>) (alloc fails)", std_stable_partition);
171+
bm.operator()<std::list<int>>("std::stable_partition(list<int>) (alloc fails)", std_stable_partition);
172172

173173
// ranges::stable_partition
174-
bm.operator()<std::vector<int>>("rng::stable_partition(vector<int>) (no alloc)", std::ranges::stable_partition);
175-
bm.operator()<std::deque<int>>("rng::stable_partition(deque<int>) (no alloc)", std::ranges::stable_partition);
176-
bm.operator()<std::list<int>>("rng::stable_partition(list<int>) (no alloc)", std::ranges::stable_partition);
174+
bm.operator()<std::vector<int>>("rng::stable_partition(vector<int>) (alloc fails)", std::ranges::stable_partition);
175+
bm.operator()<std::deque<int>>("rng::stable_partition(deque<int>) (alloc fails)", std::ranges::stable_partition);
176+
bm.operator()<std::list<int>>("rng::stable_partition(list<int>) (alloc fails)", std::ranges::stable_partition);
177177
}
178178

179179
benchmark::Initialize(&argc, argv);

0 commit comments

Comments
 (0)