[racket-dev] New runtime charting for DrDr

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Wed Sep 7 10:23:19 EDT 2011

On Tue, Sep 6, 2011 at 6:24 PM, Sam Tobin-Hochstadt <samth at ccs.neu.edu> wrote:
> DrDr now has colorful, up-to-date, interactive charts for runtime on
> every file.  For example, check out:
> http://drdr.racket-lang.org/23468/collects/tests/racket/benchmarks/common/ray.rkt
>
> The quick explanation:  the solid yellow line shows the overall
> runtime of the file.  The circles show the timing of uses of `time'
> inside the file.
>
> You can select any region of the chart to zoom into it.  The "reset"
> button goes back to the initial state.  You can turn the legend on and
> off with the "show/hide legend" button.  Mousing over an individual
> point will tell you the exact timing at a particular push #.  If the
> internal timing is much much shorter-duration than the overall
> runtime, it's shown on a different scale on the right y-axis.  This is
> all built on the Flot [1] JavaScript charting library.

Sorry, part of this paragraph was missing:

> Using this, it's possible to see trends in performance.  For example,

this file: http://drdr.racket-lang.org/23474/collects/tests/drracket/hangman.rkt
sometimes times out (the big spikes) and sometimes completes quite
quickly.

This shows the time to run 'make install':
http://drdr.racket-lang.org/23367/src/build/make-install .  We can see
that Matthew's change to the module cache made installation run about
a minute faster.
-- 
sam th
samth at ccs.neu.edu



Posted on the dev mailing list.