Skip to content

flograph 0.1.17

Choose a tag to compare

@redthista redthista released this 24 Sep 07:02
· 272 commits to master since this release

Install with pip install flograph==0.1.17.

A follow-up to 0.1.16's speed release. 0.1.16 stopped rebuilding cards
nobody could see after a run, but left that work for the moment they came
into view — so moving round a busy flow afterwards rebuilt each chart and
table as it scrolled in, a stutter at every pause. The work now happens while
you are not moving.

Highlights

Moving round a busy flow is smooth again

Cards within a screen of the view are made ready once the view has been still
for a moment, so a pan meets them finished. The rest of the canvas, and the
tables on dashboard pages you are not looking at, catch up a card at a time
once everything has been quiet for about half a second. Nothing is rebuilt
while you are dragging the canvas, and a page you switch to fills its charts
at once. Plotly and other web cards are only made ready when a pan could
reach them, never just in case, since each holds a browser renderer's memory;
report cards, and anything else whose refresh takes longer than 0.3 s, still
wait until they are on screen. On the benchmark flow, panning its length
straight after a run: worst frame 360 ms → 18 ms, and no frame over 50 ms;
showing a hidden dashboard page no longer freezes at all.

See the full changelog.