rembrembdocs

Skip to main content

Bun home pagelight logodark logo

[Runtime

](../../../index.md)[Package Manager

](../../../pm/cli/install/index.md)[Bundler

](../../../bundler/index.md)[Test Runner

](../../../test/index.md)[Guides

](../../index.md)[Reference

](https://bun.com/reference)[Blog

](https://bun.com/blog)[Feedback

](../../../feedback/index.md)

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.

Was this page helpful?

Suggest editsRaise issue

[

Listen to OS signals

Previous

](../os-signals/index.md)[

Run a Shell Command

Next

](../../runtime/shell/index.md)