Files
bun.sh/docs/guides/process/nanoseconds.mdx
2025-11-05 11:14:21 -08:00

16 lines
313 B
Plaintext

---
title: Get the process uptime in nanoseconds
sidebarTitle: Process uptime
mode: center
---
Use `Bun.nanoseconds()` to get the total number of nanoseconds the `bun` process has been alive.
```ts
Bun.nanoseconds();
```
---
See [Docs > API > Utils](https://bun.com/docs/api/utils) for more useful utilities.