aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/benchmark_messages_proto2.proto
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2016-09-23 11:07:45 -0700
committerGitHub <noreply@github.com>2016-09-23 11:07:45 -0700
commita289d43608cbfdd27a04807882580afd83d5b048 (patch)
tree4d1e879a4413f1c4e2e2ac363e53105340007722 /benchmarks/benchmark_messages_proto2.proto
parentd9ff3ef8592ba4b6a9db003de40672e44daaecc3 (diff)
downloadprotobuf-a289d43608cbfdd27a04807882580afd83d5b048.tar.gz
protobuf-a289d43608cbfdd27a04807882580afd83d5b048.tar.bz2
protobuf-a289d43608cbfdd27a04807882580afd83d5b048.zip
Added C++ benchmark. (#1525)
Diffstat (limited to 'benchmarks/benchmark_messages_proto2.proto')
-rw-r--r--benchmarks/benchmark_messages_proto2.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/benchmark_messages_proto2.proto b/benchmarks/benchmark_messages_proto2.proto
index 01f67a1a..59085503 100644
--- a/benchmarks/benchmark_messages_proto2.proto
+++ b/benchmarks/benchmark_messages_proto2.proto
@@ -8,6 +8,8 @@ option java_package = "com.google.protobuf.benchmarks";
// This is the default, but we specify it here explicitly.
option optimize_for = SPEED;
+option cc_enable_arenas = true;
+
message GoogleMessage1 {
required string field1 = 1;
optional string field9 = 9;