MemoryUsage go brrrrrrr

This commit is contained in:
thororen1234 2024-10-28 16:40:31 -04:00
parent 702ea3ba46
commit af975d9fdf
4 changed files with 212 additions and 0 deletions

View file

@ -69,6 +69,8 @@ export default {
native: {
getVersions: () => process.versions as Partial<NodeJS.ProcessVersions>,
systemMemoryInfo: () => (process.getSystemMemoryInfo()),
heapUsuage: () => (process.getHeapStatistics()),
openExternal: (url: string) => invoke<void>(IpcEvents.OPEN_EXTERNAL, url)
},