protozero: Add ProtoZero vs protolite benchmark
Numbers will be used for docs
Change-Id: I161664352167ea01bd0620544368fdb40b9be77f
diff --git a/src/protozero/BUILD.gn b/src/protozero/BUILD.gn
index 124bb56..18f8e7e 100644
--- a/src/protozero/BUILD.gn
+++ b/src/protozero/BUILD.gn
@@ -92,3 +92,17 @@
"../base",
]
}
+
+if (enable_perfetto_benchmarks) {
+ source_set("benchmarks") {
+ testonly = true
+ deps = [
+ ":protozero",
+ ":testing_messages_lite",
+ ":testing_messages_zero",
+ "../../gn:benchmark",
+ "../../gn:default_deps",
+ ]
+ sources = [ "test/protozero_benchmark.cc" ]
+ }
+}