| 440 | } |
| 441 | |
| 442 | static void BufferBuilderSmallWrites( |
| 443 | benchmark::State& state) { // NOLINT non-const reference |
| 444 | // A 700-byte datum |
| 445 | std::string datum; |
| 446 | for (int i = 0; i < 100; ++i) { |
| 447 | datum += "abcdefg"; |
| 448 | } |
| 449 | return BenchmarkBufferBuilder(datum, state); |
| 450 | } |
| 451 | |
| 452 | static void BufferBuilderLargeWrites( |
| 453 | benchmark::State& state) { // NOLINT non-const reference |
nothing calls this directly
no test coverage detected