Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Short instructions about how to run the speedtests.

  • Loading branch information...
commit 7d3b8b63a1bb3653495b849089a4809a737b7cdf 1 parent 753b7d1
@bingmann authored
Showing with 13 additions and 1 deletion.
  1. +12 −0 speedtest/README
  2. +1 −1  speedtest/speedtest-tune.cc
View
12 speedtest/README
@@ -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/
View
2  speedtest/speedtest-tune.cc
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.