criterion performance measurements
overview
want to understand this report?
small/length
| lower bound | estimate | upper bound | |
|---|---|---|---|
| OLS regression | xxx | xxx | xxx |
| R² goodness-of-fit | xxx | xxx | xxx |
| Mean execution time | 3.206328119400396e-6 | 3.2648628196517637e-6 | 3.3367276214541125e-6 |
| Standard deviation | 1.7885663842707278e-7 | 2.209289295393737e-7 | 2.9146886600467675e-7 |
Outlying measurements have severe (0.7644298245898064%) effect on estimated standard deviation.
small/length . filter
| lower bound | estimate | upper bound | |
|---|---|---|---|
| OLS regression | xxx | xxx | xxx |
| R² goodness-of-fit | xxx | xxx | xxx |
| Mean execution time | 3.5230122986354946e-5 | 3.627761655374072e-5 | 3.806926246047786e-5 |
| Standard deviation | 2.7215253086630727e-6 | 4.572542408316978e-6 | 7.072629189768295e-6 |
Outlying measurements have severe (0.8927964823380089%) effect on estimated standard deviation.
big/length
| lower bound | estimate | upper bound | |
|---|---|---|---|
| OLS regression | xxx | xxx | xxx |
| R² goodness-of-fit | xxx | xxx | xxx |
| Mean execution time | 4.04194758264517e-3 | 4.116427631360622e-3 | 4.240267160957347e-3 |
| Standard deviation | 1.942205849811118e-4 | 2.7324853676628303e-4 | 4.3062272426731753e-4 |
Outlying measurements have moderate (0.4167904139516679%) effect on estimated standard deviation.
big/length . filter
| lower bound | estimate | upper bound | |
|---|---|---|---|
| OLS regression | xxx | xxx | xxx |
| R² goodness-of-fit | xxx | xxx | xxx |
| Mean execution time | 3.181295254333541e-2 | 3.2522296378784614e-2 | 3.313248534326777e-2 |
| Standard deviation | 9.139854815877293e-4 | 1.3590980816710013e-3 | 2.0821134089489416e-3 |
Outlying measurements have moderate (0.11626262698529291%) effect on estimated standard deviation.
understanding this report
In this report, each function benchmarked by criterion is assigned a section of its own. The charts in each section are active; if you hover your mouse over data points and annotations, you will see more details.
- The chart on the left is a kernel density estimate (also known as a KDE) of time measurements. This graphs the probability of any given time measurement occurring. A spike indicates that a measurement of a particular time occurred; its height indicates how often that measurement was repeated.
- The chart on the right is the raw data from which the kernel density estimate is built. The x axis indicates the number of loop iterations, while the y axis shows measured execution time for the given number of loop iterations. The line behind the values is the linear regression prediction of execution time for a given number of iterations. Ideally, all measurements will be on (or very near) this line.
Under the charts is a small table. The first two rows are the results of a linear regression run on the measurements displayed in the right-hand chart.
- OLS regression indicates the time estimated for a single loop iteration using an ordinary least-squares regression model. This number is more accurate than the mean estimate below it, as it more effectively eliminates measurement overhead and other constant factors.
- R² goodness-of-fit is a measure of how accurately the linear regression model fits the observed measurements. If the measurements are not too noisy, R² should lie between 0.99 and 1, indicating an excellent fit. If the number is below 0.99, something is confounding the accuracy of the linear model.
- Mean execution time and standard deviation are statistics calculated from execution time divided by number of iterations.
We use a statistical technique called the bootstrap to provide confidence intervals on our estimates. The bootstrap-derived upper and lower bounds on estimates let you see how accurate we believe those estimates to be. (Hover the mouse over the table headers to see the confidence levels.)
A noisy benchmarking environment can cause some or many measurements to fall far from the mean. These outlying measurements can have a significant inflationary effect on the estimate of the standard deviation. We calculate and display an estimate of the extent to which the standard deviation has been inflated by outliers.