mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 17:47:40 +00:00
top costs ~263 ms of CPU per sample, so the memory panel only refreshed footprints every 10 s. The new orca-process-footprint helper reads phys_footprint for every same-user process in ~3 ms, so footprints now refresh on the panel's 2 s poll. top stays as the fallback when the helper is missing or fails. Co-authored-by: m4air <m4air@Mac.localdomain>
9 lines
219 B
JavaScript
9 lines
219 B
JavaScript
#!/usr/bin/env node
|
|
import { buildSwiftCliHelper } from './swift-cli-helper-macos.mjs'
|
|
|
|
buildSwiftCliHelper({
|
|
nativeDir: 'keyboard-layout-macos',
|
|
executable: 'orca-keyboard-layout',
|
|
argv: process.argv.slice(2)
|
|
})
|