aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/README.md
diff options
context:
space:
mode:
authorJos Hickson <jos.hickson@gmail.com>2016-05-11 09:23:46 +0100
committerJos Hickson <jos.hickson@gmail.com>2016-05-11 09:23:46 +0100
commit2b22b611a8af9e9d06491de2ebcc5d9b962e544c (patch)
tree1d8b5a7399380da5fb3260e2f8eaa2b8cf31bec2 /benchmarks/README.md
parent48ebb29a8ec118bf6b9ee39f6be42b57321c099a (diff)
parenta1938b2aa9ca86ce7ce50c27ff9737c1008d2a03 (diff)
downloadprotobuf-2b22b611a8af9e9d06491de2ebcc5d9b962e544c.tar.gz
protobuf-2b22b611a8af9e9d06491de2ebcc5d9b962e544c.tar.bz2
protobuf-2b22b611a8af9e9d06491de2ebcc5d9b962e544c.zip
Merge remote-tracking branch 'refs/remotes/google/master'
Diffstat (limited to 'benchmarks/README.md')
-rw-r--r--benchmarks/README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/benchmarks/README.md b/benchmarks/README.md
new file mode 100644
index 00000000..c9027805
--- /dev/null
+++ b/benchmarks/README.md
@@ -0,0 +1,28 @@
+
+# Protocol Buffers Benchmarks
+
+This directory contains benchmarking schemas and data sets that you
+can use to test a variety of performance scenarios against your
+protobuf language runtime.
+
+The schema for the datasets is described in `benchmarks.proto`.
+
+Generate the data sets like so:
+
+```
+$ make
+$ ./generate-datasets
+Wrote dataset: dataset.google_message1_proto3.pb
+Wrote dataset: dataset.google_message1_proto2.pb
+Wrote dataset: dataset.google_message2.pb
+$
+```
+
+Each data set will be written to its own file. Benchmarks will
+likely want to run several benchmarks against each data set (parse,
+serialize, possibly JSON, possibly using different APIs, etc).
+
+We would like to add more data sets. In general we will favor data sets
+that make the overall suite diverse without being too large or having
+too many similar tests. Ideally everyone can run through the entire
+suite without the test run getting too long.