philippotto / Piano-Trainer

A web-app for training sheet reading skills by using your MIDI-enabled piano.
http://philippotto.github.io/Piano-Trainer/
Other
245 stars 34 forks source link

Limit number of events used to assess level #11

Closed Graham42 closed 7 years ago

Graham42 commented 7 years ago

With large numbers of historical events the application starts to lag when assessing the users level. This provides a fix that keeps "good-enough" functionality.

Profiling found that most of the time is in creating new event objects when we unfold them per key.

Mostly addresses #10

philippotto commented 7 years ago

Thank you, this looks very promising!