Bun

GuidesProcesses

Get the process uptime in nanoseconds with Bun

Use Bun.nanoseconds() to get the total number of nanoseconds the bun process has been alive.

Bun.nanoseconds();

See Docs > API > Utils for more useful utilities.