| 36 | }; |
| 37 | |
| 38 | static void BuildHeapDump(benchmark::State& state) { |
| 39 | BenchmarkHelper helper; |
| 40 | |
| 41 | for (auto _ : state) { |
| 42 | JavaScriptHeapDumpBuilder builder; |
| 43 | helper.populateHeapDumpBuilder(builder); |
| 44 | |
| 45 | benchmark::DoNotOptimize(builder.build()); |
| 46 | } |
| 47 | } |
| 48 | BENCHMARK(BuildHeapDump); |
| 49 | |
| 50 | static void ParseHeapDump(benchmark::State& state) { |
nothing calls this directly
no test coverage detected