School of Computing

Quantifying performance changes with effect size confidence intervals

Tomas Kalibera and Richard Jones

Technical Report 4-12, University of Kent, June 2012.

Abstract

Measuring performance and quantifying a performance change are core evaluation techniques in programming language and systems research. Out of 122 recent scientific papers published at PLDI, ASPLOS, ISMM, TOPLAS, and TACO, as many as 65 included experimental evaluation that quantified a performance change using a ratio of execution times. Unfortunately, few of these papers evaluated their results with the level of rigour that has come to be expected in other experimental sciences. The uncertainty of measured results was largely ignored. Scarcely any of the papers mentioned uncertainty in the ratio of the mean execution times, and most did not even mention uncertainty in the two means themselves. Furthermore, most of the papers failed to address the non-deterministic execution of computer programs (caused by factors such as memory placement, for example), and none addressed non-deterministic compilation (when a compiler creates different binaries from the same sources, which differ in performance, for example again because of impact on memory placement). It turns out that the statistical methods presented in the computer systems performance evaluation literature for the design and summary of experiments do not readily allow this either. This poses a hazard to the repeatability, reproducibility and even validity of quantitative results.

Inspired by statistical methods used in other fields of science, and building on results in statistics that did not make it to introductory textbooks, we present a statistical model that allows us both to quantify uncertainty in the ratio of (execution time) means and to design experiments with a rigorous treatment of those multiple sources of non-determinism that might impact measured performance. Better still, under our framework summaries can be as simple as "system A is faster than system B by 5.5% ± 2.5%, with 95% confidence", a more natural statement than those derived from typical current practice, which are often misinterpreted.

Download publication 643 kbytes (PDF)

Bibtex Record

@techreport{3233,
author = {Tomas Kalibera and Richard Jones},
title = {Quantifying Performance Changes with Effect Size Confidence Intervals},
month = {June},
year = {2012},
pages = {55},
keywords = {statistical methods, random effects, effect size},
note = {},
doi = {},
url = {http://www.cs.kent.ac.uk/pubs/2012/3233},
    publication_type = {techreport},
    submission_id = {15418_1341314459},
    institution = {University of Kent},
    type = {Technical Report},
    number = {4--12},
}

School of Computing, University of Kent, Canterbury, Kent, CT2 7NF

Enquiries: +44 (0)1227 824180 or contact us.

Last Updated: 21/03/2014