Performance Testing #322
rajangdavis
started this conversation in
General
Replies: 1 comment
-
Thanks for posting the info. These numbers look good to me. I have performed tests, early in the development of WEBMIDI.js, to check whether the library was resulting in any performance degradation. My, admittedly limited, tests showed negligible degradation compared to native solutions. Having said that, I have not looked into performance since. It has not come up in the discussions so I never bothered. However, I do agree that it would be interesting to have some sort of procedure to assess performance. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made an app to control my pedal board with WEBMIDI.js powering the MIDI commands and I have been experimenting with creating macro commands of MIDI CC, PC, and Sysex commands/messages.
I also have added some expression controls that stack CC commands across a few channels.
What I was curious about is how might it be possible to test for performance issues in either my codebase or with the WEBMIDI.js codebase in regards to MIDI.
When testing my app via Wireless Bluetooth MIDI and a Samsung tablet, the changes feel solid and realtime enough meaning I haven't perceived any lag or performance issues.
My concern lies in maintaining the current baseline of how my app is performing currently. I also think having some sort of metrics around performance may help with WEBMIDI.js quality control and may help inform what kind of features may be added in the future.
Using a tool like Morningstar's MIDI Monitor, I am seeing these numbers in regards to a macro command that I am sending from a click event:
Altogether, these numbers don't seem too bad in regards to a hacked together React app; however, I am clueless as far as what these numbers should look like, whether there is room for improvement, and if devices have different performance characteristics that I should be aware.
I have been a happy hacker with the WEBMIDI.js; hopefully should have something to share in the next year!
Beta Was this translation helpful? Give feedback.
All reactions