bitbake: toaster: Add performance testing script
authorIonut Chisanovici <ionutx.chisanovici@intel.com>
Wed, 28 May 2014 12:52:26 +0000 (15:52 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Jun 2014 13:03:58 +0000 (14:03 +0100)
commitaab64d40fdf02002bdc35798ade7c22df913c044
tree3d061b38d399adb48c5043ab7dc75c4c4ed8a015
parentba0e5f241ef1426ea496a54f733ecfeac3b6ab52
bitbake: toaster: Add performance testing script

This is implemented as a django management command.
For the moment the 'manage.py perf' command will track the toaster
'gui' urls http response code and load time.

To use it:
1. do your toaster builds
2. ensure toaster is started
1. cd bitbake/lib/toaster
2. ln -s ../../../build/toaster.sqlite
3. ./manage.py perf

(Bitbake rev: 4a1fc6851d21500150715f0e8fa03c0b228ec5f2)

Signed-off-by: Ionut Chisanovici <ionutx.chisanovici@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/toaster/toastermain/management/commands/perf.py [new file with mode: 0644]