orchetect/MIDIKit

80-90% CPU Usage For HUITest Client

9SL9 opened this issue · 2 comments

9SL9 commented

Please Confirm

  • I have reviewed the MIDIKit Documentation which contains descriptive guides and extensive API reference
  • I have searched Issues and Discussions to see if the same question has already been asked

macOS Version(s) Used to Build

macOS 13 Ventura

Xcode Version(s)

Xcode 14

Description

I have been reviewing the HUITest client app. I noted very high CPU usage when synced with a DAW of around 80% on my M1 MacBook Air.

Is this expected?

image

Crash Logs, Screenshots or Other Attachments (if applicable)

No response

The example project is not optimized so that's certainly possible. SwiftUI is not an efficient UI backend but it was used because of its simplicity.