Skip to content

fix(ext/node): add worker.cpuUsage([prev]) API#32050

Merged
littledivy merged 4 commits intodenoland:mainfrom
littledivy:worker-getcpuusage
Feb 5, 2026
Merged

fix(ext/node): add worker.cpuUsage([prev]) API#32050
littledivy merged 4 commits intodenoland:mainfrom
littledivy:worker-getcpuusage

Conversation

@littledivy
Copy link
Copy Markdown
Member

Get worker thread user and system cpu times in microseconds.

Fixes test-worker-cpu-usage.js test

littledivy and others added 4 commits February 4, 2026 17:35
Get worker thread user and system cpu times in microseconds.
Copy link
Copy Markdown
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we had permission check for CPU info, but we don't actually. Nice work, LGTM

@littledivy littledivy merged commit 0baa1a6 into denoland:main Feb 5, 2026
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants