diff --git a/README b/README index 152972c..9ddca6b 100644 --- a/README +++ b/README @@ -1,15 +1,17 @@ This library is a C++ template library and, as such, there is no -library to build and install. +library to build and install. Copy the .h files and use them! ---- To build and run the provided tests, however, you will need to install -CMake and the Google C++ Test framework. +CMake, the Google C++ Test framework, and the Google flags package. Download CMake from http://www.cmake.org Download the GoogleTest framework from http://code.google.com/p/googletest +Download gflags from https://code.google.com/p/gflags + export GTEST_ROOT=/path/for/gtest-x.y cmake . -Dbuild_tests=ON diff --git a/benchmarks.awk b/benchmarks.awk deleted file mode 100755 index d5d4aea..0000000 --- a/benchmarks.awk +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/gawk -f - -/^Run on/ { - print $0; - printf "%-25s %5s %-20s\n", - "Benchmark", "STL(ns)", "B-Tree(ns) @ " - printf "--------------------------------------------------------\n"; -} - -/^BM_/ { - split($1, name, "_"); - if (name[2] == "stl") { - stl = $3; - stl_bytes = $5 - printf "%-25s %5d ", name[1] "_" name[3] "_" name[4] "_" name[5], stl; - fflush(); - } else if (name[2] == "btree") { - btree = $3 - btree_size = name[3] - btree_bytes = $5 - printf "%5d %+7.2f%% <%3d>", btree, 100.0 * (stl - btree) / stl, btree_size; - printf " [%4.1f, %4.1f]\n", stl_bytes, btree_bytes; - fflush(); - } else { - printf "ERROR: %s unrecognized\n", $1 - } -}