Skip to main content

Get the process uptime in nanoseconds

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

Bun.nanoseconds();

See Utils for more utilities.

Translation © 2026 fanyi.dev · Original © 2026 the Bun project (LICENSE.md names no copyright holder) (MIT)