Skip to content

Benchmarks and e2e tests ​

So it was time to really measure the performance of this thing. I made it able to receive simulated scroll and click events from the Serial, and made it measure each step of the loop. Then built a slick web page to visualise the results, with charts and JSON comparision.

The measurements ​

  • Scrolling
  • Transitions
  • Audio buffering and playback
  • Search

The JSON structure ​

Results ​

It showed that I had a big problem in the screen transition: blocking all the rest of the loop for the whole transition time, not feeding the audio buffer in the meanwhile. Fixed