> ## Documentation Index
> Fetch the complete documentation index at: https://bun-1dd33a4e-farm-dc5e99a7-serve-route-target-normalization.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the process uptime in nanoseconds

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

```ts theme={null}
Bun.nanoseconds();
```

***

See [Docs > API > Utils](/runtime/utils) for more useful utilities.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.