Vladimir Grichina
Feb 25, 2017 · 1 min read

> As the drawing routine is the slowest, a good solution is to run a prediction server in parallel to the drawing commands.

Your drawing routine is unreasonably slow. 250–270 ms is way too much for blitting an image and drawing few rectangles with text over it. Your typical web browser can draw more complex stuff at 60+ fps. Proper solution will be to fix it first (prior to doing parallelization).

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade