Skip to main content

Get the process uptime in nanoseconds

还没翻译译自英文(bun.com)本页 3 段都还没译

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

Bun.nanoseconds();

See Utils for more utilities.

译文 © 2026 fanyi.dev · 原文 © 2026 the Bun project (LICENSE.md names no copyright holder) (MIT)