Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit fdd51a1c6a7a768254c2ae8adcde04135a199055 @bdelbosc committed Sep 1, 2011
Showing with 829 additions and 0 deletions.
  1. +12 −0 .gitignore
  2. +340 −0 LICENSE.txt
  3. +43 −0 Makefile
  4. +39 −0 README.txt
  5. +57 −0 TODO.txt
  6. 0 benchbase/__init__.py
  7. +253 −0 benchbase/benchbase.py
  8. +29 −0 benchbase/templates/gnuplot.mako
  9. +56 −0 setup.py
@@ -0,0 +1,12 @@
+syntax:glob
+
+dist
+build
+doc/*.html
+*.pyc
+*.swp
+.#*
+*~
+benchbase.egg-info/
+test.csv
+data/

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,43 @@
+# benchbase Makefile
+#
+.PHONY: build pkg sdist egg install clean
+
+TARGET := gateway:/opt/public-dev/benchbase
+
+# use TAG=a for alpha, b for beta, rc for release candidate
+ifdef TAG
+ PKGTAG := egg_info --tag-build=$(TAG) --tag-date
+else
+ PKGTAG :=
+endif
+
+
+build:
+ python setup.py $(PKGTAG) build
+
+pkg: sdist egg
+
+sdist:
+ python setup.py $(PKGTAG) sdist
+
+egg:
+ -python2.6 setup.py $(PKGTAG) bdist_egg
+ -python2.7 setup.py $(PKGTAG) bdist_egg
+
+distrib:
+ -scp dist/benchbase-*.tar.gz $(TARGET)/snapshots
+ -scp dist/benchbase-*.egg $(TARGET)/snapshots
+
+install:
+ python setup.py $(PKGTAG) install
+
+register:
+ -python2.6 setup.py register sdist bdist_egg upload
+ -python2.7 setup.py register bdist_egg upload
+
+#uninstall:
+
+
+clean:
+ find . "(" -name "*~" -or -name ".#*" -or -name "#*#" -or -name "*.pyc" ")" -print0 | xargs -0 rm -f
+ rm -rf ./build ./dist ./MANIFEST ./benchbase.egg-info
@@ -0,0 +1,39 @@
+===========
+benchbase
+===========
+
+NAME
+----
+benchbase - Store JMeter or FunkLoad benchmark results into a database.
+ Try to do something usefull with the data.
+
+SYNPSIS
+-------
+
+::
+
+ benchbase ....
+
+
+DESCRIPTION
+-----------
+
+
+REQUIRES
+--------
+
+benchbase requires `gnuplot <http://www.gnuplot.info/>`_.
+
+
+INSTALLATION
+------------
+::
+
+ sudo easy_install benchbase
+
+
+EXAMPLES
+--------
+
+ benchbase -h
+ Gives you the available options.
@@ -0,0 +1,57 @@
+# -*- mode: org -*-
+#+TITLE: benchbase to do list
+#+AUTHOR: Benoit Delbosc
+
+* TODO use mako to generate gnuplot script and rest template
+
+* TODO update the README.txt
+* TODO plotting
+
+ btrack report BID
+
+ - total
+ start, stop, duration,
+ total number of sample, % error
+ avg/s min, max stdev, p10, p50, p90, p95
+ CUs
+
+ -> per CUs
+ graph time/cu
+ graph avg, p10, ... per CU
+ graph trhougput
+
+
+ - per sample
+ count
+ avg/s min, max stdev, p10, p50, p90, p95
+ % error
+* TODO Generate graph
+ one global + one per sample
+ add max/min/avg/
+
+
+
+
+* TODO handle multiple bench and group
+
+ - btrack list
+ | BID | comments |
+ |------+------------|
+ | G-01 | un comment |
+
+ - btrack import --jmeter -m"comment" file.xml PREFIX
+ PREFIX-01
+
+
+* TODO store file
+ as blob
+
+ btrack add-file -m"comment" [-g GROUP] foo.bar
+ btrack list-file
+ | BID | filename | comment |
+ |-----+----------+---------|
+ | | | |
+ btrack get-file BID [filename]
+
+
+
No changes.
Oops, something went wrong.

0 comments on commit fdd51a1

Please sign in to comment.