跳至內文

效能評量

設定

執行效能評量之前,請使用下列設定必要的固定項目:

shell
# in project root
just setup-bench

Rust 中的效能評量

bench-rust 將自動建置 Rust 程式碼,因此您不必自己建置。

shell
# in project root
just bench-rust

Node.js 中的效能評量

請務必在釋出模式中建置 Node.js 繫結。

shell
just build native release

然後執行

sh
just bench-node

根據 MIT 授權條款發布。