From e752004ebb73221df9a4d2728194b5699fa6ef1d Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Tue, 13 Sep 2011 17:29:48 +0000 Subject: Update to match the new Wiki page. --HG-- extra : rebase_source : 83e2b0c391825fcf5a905c1e800310a3c456fe22 --- bench/tcbench/README | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) (limited to 'bench') 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 -- cgit v1.2.1