mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-24 02:53:08 +00:00
![]() ## Summary This adds a new subcommand that can be used as ```shell cargo build --bin ruff_dev --profile=release-debug perf record -g -F 999 target/release-debug/ruff_dev repeat --repeat 30 --exit-zero --no-cache path/to/cpython > /dev/null flamegraph --perfdata perf.data ``` ## Test Plan This is a ruff internal script. I successfully used it to profile cpython with the instructions above |
||
---|---|---|
.. | ||
generate_all.rs | ||
generate_cli_help.rs | ||
generate_docs.rs | ||
generate_json_schema.rs | ||
generate_options.rs | ||
generate_rules_table.rs | ||
main.rs | ||
print_ast.rs | ||
print_cst.rs | ||
print_tokens.rs | ||
round_trip.rs |