Bun

指南进程

使用 Bun 获取进程正常运行时间(以纳秒为单位)

使用 Bun.nanoseconds() 获取 bun 进程运行的总纳秒数。

Bun.nanoseconds();

有关更多有用的工具,请参阅 文档 > API > 工具