Tonic icon indicating copy to clipboard operation
Tonic copied to clipboard

demo is slow in debug build

Open wtholliday opened this issue 1 year ago • 3 comments

macOS Version(s) Used to Build

macOS 13 Ventura

Xcode Version(s)

Xcode 14

Description

Demo is slow to recognize chords in debug build. To reproduce just run and play a chord on your midi controller. Could switch the demo to release by default, or try to make it faster in debug.

Crash Logs, Screenshots or Other Attachments (if applicable)

No response

wtholliday avatar Apr 10 '24 18:04 wtholliday

I can confirm that chord identification/ranking is extremely slow in debug mode. Seems to work fine in release mode.

diquah avatar Oct 15 '24 01:10 diquah

What can be done with this?

aure avatar Dec 18 '24 21:12 aure

Use instruments to see where it's spending all the time (be sure to profile in debug). If that doesn't lead to speeding it up, just switch to release by default as I suggested above.

wtholliday avatar Dec 19 '24 00:12 wtholliday