MCPcopy Create free account
hub / github.com/Snapchat/Valdi / BuildHeapDump

Function BuildHeapDump

valdi/test/benchmark/JavaScriptHeapDump_benchmark.cpp:38–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36};
37
38static 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}
48BENCHMARK(BuildHeapDump);
49
50static void ParseHeapDump(benchmark::State& state) {

Callers

nothing calls this directly

Calls 2

buildMethod · 0.45

Tested by

no test coverage detected