astro-pi / beta-testing

Bug tracker for the Trinket Sense HAT emulator
https://trinket.io/sense-hat
3 stars 0 forks source link

Performance enhancements #2

Closed eah13 closed 8 years ago

eah13 commented 8 years ago

There are a few areas where we're seeking to improve performance, with a target of supporting use in Iceweasel on a Pi3. Any slower computers will be a stretch goal!

eah13 commented 8 years ago

12 and #7 are performance-related

eah13 commented 8 years ago

FYI linux browsers are now forced to use Edge-style SVG rendering, giving a small performance boost. Also, iceweasel, midori, and epiphany are now forced to not use Ace editor, which gives a noticeable boost in performance at the expense of syntax highlighting. Seems like a good tradeoff.

eah13 commented 8 years ago

Just a quick FYI to testers: It looks like the fix to #12 has introduced a slowdown in while loop programs, particularly the ones that use the Joysticks. Researching a fix now.

eah13 commented 8 years ago

The new sense hat trinket is totally usable on Iceweasel on a Pi 3: Mission Accomplished! Additionally, Midori and Epiphany on a Pi 3 are acceptable, though a few small features don't work as noted elsewhere.

In addition to skulpt improvements, we simplified the SVG rendering and turned off our fancy code editors for common Pi browsers.

There are some upstream improvements to Skulpt that we'll merge in the coming weeks so things should only get faster from here.

🚀