summaryrefslogtreecommitdiff
path: root/snappy_unittest.cc
diff options
context:
space:
mode:
authorsnappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143>2014-02-19 10:31:49 +0000
committersnappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143>2014-02-19 10:31:49 +0000
commit7aeb5df2f8fa2ec8a23848f99b624be00a0b6494 (patch)
tree466aa0f70d9df39117addf232759a724dd3cabd4 /snappy_unittest.cc
parent9ec6a45d97ac13a7fb07273bcaab4376525192dd (diff)
downloadsnappy-7aeb5df2f8fa2ec8a23848f99b624be00a0b6494.tar.gz
Fix public issue 82: Stop distributing benchmark data files that have
unclear or unsuitable licensing. In general, we replace the files we can with liberally licensed data, and remove all the others (in particular all the parts of the Canterbury corpus that are not clearly in the public domain). The replacements do not always have the exact same characteristics as the original ones, but they are more than good enough to be useful for benchmarking. git-svn-id: http://snappy.googlecode.com/svn/trunk@83 03e5f5b5-db94-4691-08a0-1a8bf15f6143
Diffstat (limited to 'snappy_unittest.cc')
-rw-r--r--snappy_unittest.cc16
1 files changed, 3 insertions, 13 deletions
diff --git a/snappy_unittest.cc b/snappy_unittest.cc
index 560d558..be7bba6 100644
--- a/snappy_unittest.cc
+++ b/snappy_unittest.cc
@@ -1191,23 +1191,14 @@ static struct {
} files[] = {
{ "html", "html", 0 },
{ "urls", "urls.10K", 0 },
- { "jpg", "house.jpg", 0 },
- { "jpg_200", "house.jpg", 200 },
- { "pdf", "mapreduce-osdi-1.pdf", 0 },
+ { "jpg", "fireworks.jpeg", 0 },
+ { "jpg_200", "fireworks.jpeg", 200 },
+ { "pdf", "paper-100k.pdf", 0 },
{ "html4", "html_x_4", 0 },
- { "cp", "cp.html", 0 },
- { "c", "fields.c", 0 },
- { "lsp", "grammar.lsp", 0 },
- { "xls", "kennedy.xls", 0 },
- { "xls_200", "kennedy.xls", 200 },
{ "txt1", "alice29.txt", 0 },
{ "txt2", "asyoulik.txt", 0 },
{ "txt3", "lcet10.txt", 0 },
{ "txt4", "plrabn12.txt", 0 },
- { "bin", "ptt5", 0 },
- { "bin_200", "ptt5", 200 },
- { "sum", "sum", 0 },
- { "man", "xargs.1", 0 },
{ "pb", "geo.protodata", 0 },
{ "gaviota", "kppkn.gtb", 0 },
};
@@ -1344,7 +1335,6 @@ BENCHMARK(BM_ZFlat)->DenseRange(0, ARRAYSIZE(files) - 1);
int main(int argc, char** argv) {
InitGoogle(argv[0], &argc, &argv, true);
- File::Init();
RunSpecifiedBenchmarks();