بنقرة واحدة
benchmark
Run benchmarks for the crypto-rs-backtester project (Python and Rust).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run benchmarks for the crypto-rs-backtester project (Python and Rust).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف 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