com um clique
benchmark
Run benchmarks for the crypto-rs-backtester project (Python and Rust).
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Run benchmarks for the crypto-rs-backtester project (Python and Rust).
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
| name | benchmark |
| description | Run benchmarks for the crypto-rs-backtester project (Python and Rust). |
| metadata | {"owner":"user","version":"0.1.0"} |
This skill allows you to run performance benchmarks for the project.
Run the Python-side benchmarks using pytest.
pytest -m bench -q
Run the standard Rust core benchmarks.
cargo bench -p backtester-core
Run Rust benchmarks with custom parameters using the helper script. This allows you to tune the number of symbols, ticks per symbol, and batch window size.
# Run with default 'heavy' settings (8 symbols, 500k ticks)
./.agent/skills/benchmark/scripts/run_custom_bench.sh
You can also set environment variables manually if you prefer:
BACKTEST_BENCH_NSYMBOLS=8 \
BACKTEST_BENCH_TICKS_PER_SYMBOL=500000 \
cargo bench -p backtester-core --bench bench_core
To build and benchmark with PGO (Linux/macOS). Note: This process is time-consuming as it runs a full build-profile-rebuild pipeline.
make pgo