From f85bc9eb9a932988bdab198f9da20c2fea55bac2 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Thu, 22 Aug 2013 10:35:35 -0400 Subject: Add benchmarking tests for binary encoding (moved from cantranslator). --- benchmark/proto/openxc.proto | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 benchmark/proto/openxc.proto (limited to 'benchmark/proto/openxc.proto') diff --git a/benchmark/proto/openxc.proto b/benchmark/proto/openxc.proto new file mode 100644 index 00000000..0af663c8 --- /dev/null +++ b/benchmark/proto/openxc.proto @@ -0,0 +1,21 @@ +package openxc; + +message RawMessage { + optional uint32 message_id = 1; + optional double data = 2; +} + +message TranslatedStringMessage { + optional string name = 1; + optional string value = 2; +} + +message TranslatedNumericMessage { + optional string name = 1; + optional double value = 2; +} + +message TranslatedBooleanMessage { + optional string name = 1; + optional bool value = 2; +} -- cgit 1.2.3-korg