| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:3a2bd3ba-a2f1-f587-9ffd-43728283b51c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A4E8:21F6EA:1B4782:24CDAB:6A4C6AD8 |
| html-safe-nonce | 0dc6e8e1f915ea3a37dfe2191df458f1b9c21ceb8fbbf729bc29c93e0a0c0ed0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEU4OjIxRjZFQToxQjQ3ODI6MjRDREFCOjZBNEM2QUQ4IiwidmlzaXRvcl9pZCI6IjMzOTY4MjU5MTQ5MjU2NTcyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7aaede3f385ddf11796f3cd6745b3909beee033e8d687953c0f857bfff3ba2c1 |
| hovercard-subject-tag | pull_request:2964936301 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/60502/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/646c793acad6abfb209240aeabaaa860021dfbba664709c2f652f0625d3c4b1f/nodejs/node/pull/60502 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/646c793acad6abfb209240aeabaaa860021dfbba664709c2f652f0625d3c4b1f/nodejs/node/pull/60502 |
| og:image:alt | Description
This PR introduces process.locksCounters() to provide real time visibility into Web Locks API usage and contention metrics across the Node.js process.
Motivation
Lock contention can be ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | IlyasShabi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/nodejs/node/pull/60502#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F60502 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F60502 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode |
| Reload | https://github.com/nodejs/node/pull/60502 |
| Reload | https://github.com/nodejs/node/pull/60502 |
| Reload | https://github.com/nodejs/node/pull/60502 |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
|
nodejs
| https://github.com/nodejs |
| node | https://github.com/nodejs/node |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
|
Notifications
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Fork
36k
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Star
118k
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Code
| https://github.com/nodejs/node |
|
Issues
1.4k
| https://github.com/nodejs/node/issues |
|
Pull requests
965
| https://github.com/nodejs/node/pulls |
|
Actions
| https://github.com/nodejs/node/actions |
|
Projects
| https://github.com/nodejs/node/projects |
|
Security and quality
0
| https://github.com/nodejs/node/security |
|
Insights
| https://github.com/nodejs/node/pulse |
|
Code
| https://github.com/nodejs/node |
|
Issues
| https://github.com/nodejs/node/issues |
|
Pull requests
| https://github.com/nodejs/node/pulls |
|
Actions
| https://github.com/nodejs/node/actions |
|
Projects
| https://github.com/nodejs/node/projects |
|
Security and quality
| https://github.com/nodejs/node/security |
|
Insights
| https://github.com/nodejs/node/pulse |
| IlyasShabi | https://github.com/IlyasShabi |
| nodejs:main | https://github.com/nodejs/node/tree/main |
| IlyasShabi:ishabi/locks-counters | https://github.com/IlyasShabi/node/tree/ishabi/locks-counters |
| Conversation | https://github.com/nodejs/node/pull/60502 |
| Commits1 (1) | https://github.com/nodejs/node/pull/60502/commits |
| Checks | https://github.com/nodejs/node/pull/60502/checks |
| Files changed | https://github.com/nodejs/node/pull/60502/files |
| src: add locksCounters() to monitor Web Locks usage | https://github.com/nodejs/node/pull/60502#top |
| IlyasShabi | https://github.com/IlyasShabi |
| nodejs:main | https://github.com/nodejs/node/tree/main |
| IlyasShabi:ishabi/locks-counters | https://github.com/IlyasShabi/node/tree/ishabi/locks-counters |
|
| https://github.com/IlyasShabi |
| IlyasShabi | https://github.com/IlyasShabi |
| Oct 30, 2025 | https://github.com/nodejs/node/pull/60502#issue-3572804344 |
| Web Locks API | https://nodejs.org/docs/latest/api/globals.html#navigatorlocks |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
|
| https://github.com/IlyasShabi |
| src: add locksCounters() to monitor Web Locks usage | https://github.com/nodejs/node/pull/60502/commits/68a266571831d4cf3e13f40762d7bdd0389de634 |
| 68a2665 | https://github.com/nodejs/node/pull/60502/commits/68a266571831d4cf3e13f40762d7bdd0389de634 |
| https://github.com/nodejs-github-bot |
| nodejs-github-bot | https://github.com/nodejs-github-bot |
| Oct 30, 2025 | https://github.com/nodejs/node/pull/60502#issuecomment-3470683922 |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/nodejs-github-bot |
| nodejs-github-bot | https://github.com/nodejs-github-bot |
|
c++
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Ac%2B%2B |
|
lib / src
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22lib%20%2F%20src%22 |
|
needs-ci
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci |
| Oct 30, 2025 | https://github.com/nodejs/node/pull/60502#event-20621627108 |
| https://github.com/IlyasShabi |
| IlyasShabi | https://github.com/IlyasShabi |
| October 30, 2025 23:21 | https://github.com/nodejs/node/pull/60502#event-20621645446 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Oct 31, 2025 | https://github.com/nodejs/node/pull/60502#issuecomment-3470773698 |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| Codecov | https://app.codecov.io/gh/nodejs/node/pull/60502?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| bdf03bf | https://app.codecov.io/gh/nodejs/node/commit/bdf03bfcd5420fa9d2ea824d6338080363cdf309?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| 68a2665 | https://app.codecov.io/gh/nodejs/node/commit/68a266571831d4cf3e13f40762d7bdd0389de634?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| Files with missing lines | https://app.codecov.io/gh/nodejs/node/pull/60502?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| src/node_locks.cc | https://app.codecov.io/gh/nodejs/node/pull/60502?src=pr&el=tree&filepath=src%2Fnode_locks.cc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-c3JjL25vZGVfbG9ja3MuY2M= |
| 1 Missing and 1 partial ⚠️ | https://app.codecov.io/gh/nodejs/node/pull/60502?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| Files with missing lines | https://app.codecov.io/gh/nodejs/node/pull/60502?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| lib/internal/bootstrap/node.js | https://app.codecov.io/gh/nodejs/node/pull/60502?src=pr&el=tree&filepath=lib%2Finternal%2Fbootstrap%2Fnode.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-bGliL2ludGVybmFsL2Jvb3RzdHJhcC9ub2RlLmpz |
| lib/internal/process/per_thread.js | https://app.codecov.io/gh/nodejs/node/pull/60502?src=pr&el=tree&filepath=lib%2Finternal%2Fprocess%2Fper_thread.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-bGliL2ludGVybmFsL3Byb2Nlc3MvcGVyX3RocmVhZC5qcw== |
| src/node_locks.h | https://app.codecov.io/gh/nodejs/node/pull/60502?src=pr&el=tree&filepath=src%2Fnode_locks.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-c3JjL25vZGVfbG9ja3MuaA== |
| src/node_process_methods.cc | https://app.codecov.io/gh/nodejs/node/pull/60502?src=pr&el=tree&filepath=src%2Fnode_process_methods.cc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-c3JjL25vZGVfcHJvY2Vzc19tZXRob2RzLmNj |
| src/node_locks.cc | https://app.codecov.io/gh/nodejs/node/pull/60502?src=pr&el=tree&filepath=src%2Fnode_locks.cc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-c3JjL25vZGVfbG9ja3MuY2M= |
| 102 files with indirect coverage changes | https://app.codecov.io/gh/nodejs/node/pull/60502/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| Test Analytics | https://docs.codecov.com/docs/test-analytics |
| JS Bundle Analysis | https://docs.codecov.com/docs/javascript-bundle-analysis |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/nodejs |
| nodejs | https://github.com/nodejs |
| saico-0ps | https://github.com/saico-0ps |
| Oct 31, 2025 | https://github.com/nodejs/node/pull/60502#event-20627020439 |
| https://github.com/IlyasShabi |
| IlyasShabi | https://github.com/IlyasShabi |
| Qard | https://github.com/Qard |
| addaleax | https://github.com/addaleax |
| October 31, 2025 22:03 | https://github.com/nodejs/node/pull/60502#event-20644351192 |
| https://github.com/Qard |
| Qard | https://github.com/Qard |
|
Oct 31, 2025
| https://github.com/nodejs/node/pull/60502#pullrequestreview-3406334020 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/60502/files/68a266571831d4cf3e13f40762d7bdd0389de634 |
| Qard | https://github.com/Qard |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/nodejs/node/pull/60502#pullrequestreview-3406334020 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/IlyasShabi |
| IlyasShabi | https://github.com/IlyasShabi |
| Nov 2, 2025 | https://github.com/nodejs/node/pull/60502#issuecomment-3478088970 |
| @Qard | https://github.com/Qard |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/joyeecheung |
| joyeecheung | https://github.com/joyeecheung |
| Nov 2, 2025 | https://github.com/nodejs/node/pull/60502#issuecomment-3478145720 |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/IlyasShabi |
| IlyasShabi | https://github.com/IlyasShabi |
| Nov 2, 2025 | https://github.com/nodejs/node/pull/60502#issuecomment-3478218711 |
| @joyeecheung | https://github.com/joyeecheung |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/simon-id |
| simon-id | https://github.com/simon-id |
|
Nov 5, 2025
| https://github.com/nodejs/node/pull/60502#pullrequestreview-3420761941 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/60502/files/68a266571831d4cf3e13f40762d7bdd0389de634 |
| doc/api/globals.md | https://github.com/nodejs/node/pull/60502/files/68a266571831d4cf3e13f40762d7bdd0389de634#diff-27d988075d57cd32dd527269eebc991f4567f1bf7a751a39ab72e2ae70050031 |
| simon-id | https://github.com/simon-id |
| Nov 5, 2025 | https://github.com/nodejs/node/pull/60502#discussion_r2493640495 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/simon-id |
| simon-id | https://github.com/simon-id |
|
Nov 5, 2025
| https://github.com/nodejs/node/pull/60502#pullrequestreview-3420773589 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/60502/files/68a266571831d4cf3e13f40762d7bdd0389de634 |
| lib/internal/process/per_thread.js | https://github.com/nodejs/node/pull/60502/files/68a266571831d4cf3e13f40762d7bdd0389de634#diff-38d3873e06750436cd724af3eb60026b1bb8da914467797cf7ef7a3c94bd74ce |
| simon-id | https://github.com/simon-id |
| Nov 5, 2025 | https://github.com/nodejs/node/pull/60502#discussion_r2493646975 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/IlyasShabi |
| IlyasShabi | https://github.com/IlyasShabi |
| Qard | https://github.com/Qard |
| November 18, 2025 10:49 | https://github.com/nodejs/node/pull/60502#event-21011517679 |
| https://github.com/IlyasShabi |
| IlyasShabi | https://github.com/IlyasShabi |
| Nov 18, 2025 | https://github.com/nodejs/node/pull/60502#issuecomment-3546901536 |
| @Qard | https://github.com/Qard |
| @joyeecheung | https://github.com/joyeecheung |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/joyeecheung |
| joyeecheung | https://github.com/joyeecheung |
| Dec 8, 2025 | https://github.com/nodejs/node/pull/60502#issuecomment-3627302803 |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/IlyasShabi |
| IlyasShabi | https://github.com/IlyasShabi |
| Mar 10, 2026 | https://github.com/nodejs/node/pull/60502#issuecomment-4031722340 |
| #62123 | https://github.com/nodejs/node/pull/62123 |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
| https://github.com/IlyasShabi |
| IlyasShabi | https://github.com/IlyasShabi |
| Mar 10, 2026 | https://github.com/nodejs/node/pull/60502#event-23434231892 |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F60502 |
|
| https://github.com/addaleax |
|
addaleax
| https://github.com/addaleax |
|
| https://github.com/Qard |
|
Qard
| https://github.com/Qard |
|
| https://github.com/simon-id |
|
simon-id
| https://github.com/simon-id |
|
| https://github.com/nodejs/node/pull/60502/files/68a266571831d4cf3e13f40762d7bdd0389de634 |
|
c++
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Ac%2B%2B |
|
lib / src
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22lib%20%2F%20src%22 |
|
needs-ci
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci |
| Please reload this page | https://github.com/nodejs/node/pull/60502 |
|
| https://github.com/IlyasShabi |
|
| https://github.com/nodejs-github-bot |
|
| https://github.com/joyeecheung |
|
| https://github.com/Qard |
|
| https://github.com/simon-id |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |