perf101/flot — pull request #1 by chengsun (2012-07-20 11:22:08+00:00)
Title: Make drawing "async"

Every so often, yield execution to the browser so it can take care of itself.
Two advantages:
- Browser does not lock up, remains completely responsive whilst drawing
- The user gets to see the graph as it is plotted, and during the plotting operation can cancel / change the graph parameters
Two disadvantages:
- Coding in the callback style required is messy
- Drawing performance is reduced by ~30%

See accompanying rage code changes.