summaryrefslogtreecommitdiff
path: root/.gitmodules
diff options
context:
space:
mode:
authorVictor Costan <costan@google.com>2020-12-14 21:26:01 +0000
committerVictor Costan <costan@google.com>2020-12-14 21:27:31 +0000
commit549685a5987203ab4e94ce6ba964d3cb716951e1 (patch)
tree01ea3876ffc6aafc773de607695a65e3ae013298 /.gitmodules
parent11f9a77a2f3bd3923b6118b0aba741f628373a8b (diff)
downloadsnappy-git-549685a5987203ab4e94ce6ba964d3cb716951e1.tar.gz
Remove custom testing and benchmarking code.
Snappy includes a testing framework, which implements a subset of the Google Test API, and can be used when Google Test is not available. Snappy also includes a micro-benchmark framework, which implements an old version of the Google Benchmark API. This CL replaces the custom test and micro-benchmark frameworks with google/googletest and google/benchmark. The code is vendored in third_party/ via git submodules. The setup is similar to google/crc32c and google/leveldb. This CL also updates the benchmarking code to the modern Google Benchmark API. Benchmark results are expected to be more precise, as the old framework ran each benchmark with a fixed number of iterations, whereas Google Benchmark keeps iterating until the noise is low. PiperOrigin-RevId: 347456142
Diffstat (limited to '.gitmodules')
-rw-r--r--.gitmodules6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..06c3fd3
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,6 @@
+[submodule "third_party/benchmark"]
+ path = third_party/benchmark
+ url = https://github.com/google/benchmark.git
+[submodule "third_party/googletest"]
+ path = third_party/googletest
+ url = https://github.com/google/googletest.git