mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
14 lines
270 B
Markdown
14 lines
270 B
Markdown
---
|
|
name: Get the process uptime in nanoseconds
|
|
---
|
|
|
|
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.
|