Cyan
Cyan4w ago

process.cpuUsage() is not implemented

I am trying to use Deno with my project. But seems process.cpuUsage() is not implemented.
Warning: Not implemented: process.cpuUsage()
Warning: Not implemented: process.cpuUsage()
No description
6 Replies
Cyan
CyanOP4w ago
Just checked, it doesn't seems hard to implement this myself. I'll try to create a pull request.
Leokuma
Leokuma4w ago
Deno
Deno.loadavg - Deno - Deno Docs
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno
Cyan
CyanOP4w ago
process.cpuUsage() it's for current process Deno.loadavg() it's global and it is not working on Windows
Cyan
CyanOP4w ago
Do I need to change something after adding an op? After add the op_runtime_cpu_usage, some tests fails
Leokuma
Leokuma4w ago
Sorry, I'm not familiar with that. But you can ask in the PR

Did you find this page helpful?