Bun

指南程序

使用 Bun 獲取程序正常執行時間(以納秒為單位)

使用 Bun.nanoseconds() 獲取 bun 程序執行的總納秒數。

Bun.nanoseconds();

有關更多有用的工具,請參閱 文件 > API > 工具