[go: up one dir, main page]

Clone this repo:

Branches

  1. 888f1b3 Add --cookie command line option by Giuseppe Lavagetto · 2 years, 5 months ago master
  2. 70897d0 Blackify python files by Giuseppe Lavagetto · 2 years, 5 months ago
  3. c482e01 Support HTTPS as well as HTTP by Alexandros Kosiaris · 3 years, 2 months ago
  4. 6f226b2 Allow calculating multiple percentiles by Alexandros Kosiaris · 3 years, 2 months ago
  5. da77c22 Set yrange for percentiles, setting lower limit to 0 by Alexandros Kosiaris · 3 years, 2 months ago

benchmw

benchmw is a set of scripts to make benchmarking MediaWiki and then sharing results easier.

You need a server configured to serve MediaWiki, tuned to whatever you want to benchmark. From a server with ab installed (like deploy1001), run:

python3 run_benchmarks.py mw1234.eqiad.wmnet label

label should be an internal identifier that describes the configuration of what you're testing.

Repeat with different labels for whatever else you want to compare to.

Move all the *.dat files into a folder named data on your machine and make sure you have gnuplot installed.

First, create a config.yaml file based on the sample one provided. Specify the human-readable descriptions for the labels used and then what comparisons should be charted.

python3 filter_and_plot.py data config.yaml

That will clean the data and generate images in data/images/.