Skip to content

Commit

Permalink
Short instructions about how to run the speedtests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bingmann committed Oct 28, 2013
1 parent 753b7d1 commit 7d3b8b6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions speedtest/README
Expand Up @@ -8,5 +8,17 @@ Date: 2013-05-05
This directory contains a set of speed tests programs, which can be used to
compare the performance of different map containers.

The speedtest is compiled when ./configure is called with --enable-speedtest,
also add --enable-optimize!

Running the speedtest creates files like speed-set-all.txt and similar.

For gnuplot processing, the output files have to be transposed using the
transpose.awk:
$ for f in *.txt; do ./transpose.awk < $f > ${f%%.txt}.trt; done

Then pick out the latest gnuplot script from the results directories and run
it using the new result files.

For more information see the speed test results web site
http://panthema.net/2007/stx-btree/speedtest/
2 changes: 1 addition & 1 deletion speedtest/speedtest-tune.cc
Expand Up @@ -51,7 +51,7 @@ inline double timestamp()
template <typename KeyType, int _bs_slots>
struct btree_traits_speed : public stx::btree_default_set_traits<KeyType>
{
static const int binsearch_threshold = _bs_slots;
static const size_t binsearch_threshold = _bs_slots;
};

/// Test the B+ tree with a specific leaf/inner slots (only insert)
Expand Down

0 comments on commit 7d3b8b6

Please sign in to comment.