| 67 | using SListImpl = SList<SListNode, &SListNode::hook_>; |
| 68 | |
| 69 | vector<SListNode> getInput(unsigned n) noexcept { |
| 70 | vector<SListNode> input; |
| 71 | input.reserve(n); |
| 72 | for (unsigned i = 0; i < n; i++) { |
| 73 | input.emplace_back(); |
| 74 | } |
| 75 | return input; |
| 76 | } |
| 77 | |
| 78 | BENCHMARK(VectorInsert, n) { |
| 79 | BenchmarkSuspender suspender; |
no outgoing calls
no test coverage detected