15 个稳定版本
2.6.0 | 2024 年 4 月 24 日 |
---|---|
2.4.0 | 2024 年 2 月 26 日 |
2.3.3 | 2023 年 11 月 20 日 |
2.1.0 | 2023 年 7 月 27 日 |
0.1.0 | 2022 年 12 月 15 日 |
#168 在 Cargo 插件
每月 29,791 次下载
29KB
404 代码行
安装
使用 cargo-binstall
(推荐)
cargo-binstall
允许您直接安装二进制文件,而无需每次都从源代码构建(使用 cargo install
)。
如果您尚未安装,可以使用以下命令进行安装
cargo install cargo-binstall
然后,您可以使用以下命令安装 cargo-codspeed
cargo binstall cargo-codspeed
使用 cargo
cargo install cargo-codspeed
用法
Usage: cargo codspeed <COMMAND>
Commands:
build Build the benchmarks
run Run the previously built benchmarks
Options:
-h, --help Print help information
-V, --version Print version information
高级用法
可以使用 vendored-openssl
功能通过以下命令静态链接 openssl:cargo install cargo-codspeed --features vendored-openssl
。
依赖项
~84MB
~1.5M SLoC