To run:
cargo run [FILENAME].rs
To view the visualization
PCS_VISUALIZATION=true cargo run [FILENAME.rs]
cd visualization && ./serve
- Go to http://localhost:8080 and select the function you wish to view
Once the server is running, you can keep it running and analyze other files
(e.g. cargo run [FILENAME2].rs
). Just refresh the page to see updated results.
To run on the top crates use:
cargo test --package pcs --test top_crates -- top_crates --exact --show-output