Bun

指南程序

使用 Bun 取得程序上線時間(以奈秒為單位)

使用 Bun.nanoseconds() 取得 bun 程序已運行的總奈秒數。

Bun.nanoseconds();

請參閱 文件 > API > 工具程式 以取得更多有用的工具程式。