Suboptimal Qwt replotting in QML PlotItem
QwtPlot is initialized at every replot, which takes around ⅔ of painting time.
Cached & saved plot.
Plot reinitializing on each replot.
Note the spikes on the attached screenshot in the main thread.
Built with Qt 5.4.1, running with Qt 5.4.1
Running on: Gentoo/Linux x86_64 4.0.0-pf1 #1 SMP PREEMPT Sat Apr 25 04:04:38 MSK 2015