Javascript jerky mouse event rendering on canvas, but smooth when web development tool is on

Dear colleagues
Rendering of a complex JS IO with mouse events (drag) on canvas is jerky when running on Firefox but, funny, it is fast and smooth when the web developer tools is on.

Many thanks for y kind tip!

DevTools making things faster is surprising indeed. You could collect a performance profile using and post it here for analysis.