summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@wiredtiger.com>2011-09-13 17:29:48 +0000
committerKeith Bostic <keith.bostic@wiredtiger.com>2011-09-13 17:29:48 +0000
commite752004ebb73221df9a4d2728194b5699fa6ef1d (patch)
tree951a5c55523b7a9995aa3bf4c852d9f2113e59ab /bench
parented5e3310bdf5fb6f0e365691615e50c182f1f652 (diff)
downloadmongo-e752004ebb73221df9a4d2728194b5699fa6ef1d.tar.gz
Update to match the new Wiki page.
--HG-- extra : rebase_source : 83e2b0c391825fcf5a905c1e800310a3c456fe22
Diffstat (limited to 'bench')
-rw-r--r--bench/tcbench/README39
1 files changed, 24 insertions, 15 deletions
diff --git a/bench/tcbench/README b/bench/tcbench/README
index 5c847cf4c36..5e4b2307f3a 100644
--- a/bench/tcbench/README
+++ b/bench/tcbench/README
@@ -1,26 +1,35 @@
================================================================
Comparison of key/value stores
- Copyright (c) 2011 WiredTiger, Inc.
================================================================
-In this directory is a very simple test of WiredTiger that inserts,
-then reads some simple records in a single file.
+In this directory is a simple test of WiredTiger that inserts, then
+reads, some simple records in a single file.
-This code is designed to exactly match the functionality of the
-Tokyo Cabinet "bros" tests, so that the results can be compared
-across various key/value stores.
+This code is designed to match the functionality of the Tokyo Cabinet
+"bros" tests, so that the results can be compared across various
+key/value stores.
To run the test standalone, first build WiredTiger in the top-level
"build_posix" directory, then do the following in this directory:
- $ make
- $ ./wttest write file:casket.wt 1000000
- $ ./wttest read file:casket.wt 1000000
+ $ make
+ $ ./wttest write file:casket.wt 1000000
+ $ ./wttest read file:casket.wt 1000000
-To compare the results from WiredTiger with various other stores,
-start with a Tokyo Cabinet tree, and apply tokyocabinet-test.patch.
-Then copy or link wttest.c into the Tokyo Cabinet "bros" directory,
-and run
+To compare the results from WiredTiger with various other stores:
- $ make tctest wttest bdbtest # etc.
- $ ./reporter
+ 1. Configure and build Tokyo Cabinet
+
+ 2. Apply the tokyocabinet-test.patch in the bros subdirectory;
+ this patch updates the Makefile to build wttest and to build a
+ local version of Berkeley DB, updates the "reporter" script to
+ run wttest, as well as fixing bugs in the reporter script.
+
+ 3. Build the test programs, using a command something like:
+ $ env \
+ WT_HOME=path-to-WiredTiger \
+ BDB_HOME=path-to-BerkeleyDB \
+ make bdbtest tctest wttest
+
+ 4. Run "reporter":
+ $ ./reporter