Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Tools to run sysbench, parse and graph its output
Python Shell
branch: master

Update output parsing to work with sysbench v0.5.

Based on a change of Peter Lecki.  This closes #1.
latest commit 4c180719f0
Benoit Sigoure authored
Failed to load latest commit information.
COPYING Initial import of the code.
README Initial import of the code.
runtests.sh
sysbench-log2json.py Update output parsing to work with sysbench v0.5.
sysbench.html Properly handle config names that contain whitespaces.

README

If you've ever run sysbench, you know it's impossible to reasonably compare
more than 2 tests at once.  Beyond that, you *need* graphs.  Seems like
everyone has their own home-grown set of little scripts to parse sysbench's
output and turn it into a CSV or something else.  This is my attempt at it.
I tried various existing things but none of them satisfied me.

HOWTO USE
=========

When you use sysbench, you're typically trying to find which configuration
works best among a set of different configs.  A "configuration" could be a
certain type of HDD vs another one, a filesystem vs another one, etc.  For
a given configuration, you typically run a range of tests, with different
parameters (e.g. different number of concurrent threads and whatnot). This
script simply wants you to put the output of all the tests you ran for a
given configuration into one directory.  Look at the sample script included
in this repository, runtests.sh, for an example.

So using the example included in this repository:
  mkdir ~/out
  cd ~/out
  ~/runtests.sh
  ~/sysbench-log2json.py */*

Now you should have a big `results.js', which you need to put in the same
directory as `sysbench.html'.  Open the HTML file and enjoy pretty graphs.
Something went wrong with that request. Please try again.