Skip to content

Setting process.title is slow on Mac #59678

@ArnaudBarre

Description

@ArnaudBarre

Version

24.7.0

Platform

Darwin Mac.local 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:49 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6000 arm6

Subsystem

No response

What steps will reproduce the bug?

const startTime = performance.now();
process.title = "node (example)";
const endTime = performance.now();
console.log(`${(endTime - startTime).toFixed(2)} ms`);

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior? Why is that the expected behavior?

Should take less than 1ms (like on unix or for bun/deno on mac)

What do you see instead?

Taking 10+ ms

Additional information

https://bsky.app/profile/ariperkkio.dev/post/3lxh2n2pp5c2c

Metadata

Metadata

Assignees

No one assigned

    Labels

    libuvIssues and PRs related to the libuv dependency or the uv binding.macosIssues and PRs related to the macOS platform / OSX.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions