sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.46k stars 485 forks source link

statistical analysis for calculation timings #12168

Open haraldschilly opened 12 years ago

haraldschilly commented 12 years ago

The attached script does some statistical analysis and plotting for a series of timings done with timeit. It should help to understand how the performance of an algorithm does work out and also how the underlying framework and hardware behaves under load. It shows a time-series, a histogram and CDF plot. It does reject outlyers based on quantile-margins and starts with a dedicated warmup phase. Additional features are possible. Plotting is done via matplotlib, this should be changed to Sage-specific routines.

Links:

sage-devel discussion about this

script in action on sagenb.org

Component: misc

Author: schilly

Issue created by migration from https://trac.sagemath.org/ticket/12168

jdemeyer commented 11 years ago
comment:1

Attachment: timehisto.py.gz