Back to Czkawka

Test compilation speed size

misc/test_compilation_speed_size/README.md

11.0.1791 B
Original Source

Test compilation speed size

This project is used to get the compilation speed and size of generated rust binaries for different configurations.

How to use?

  • install app cargo install --path .
  • configure json config, just like test.json or krokiet.json - allowed values you can find in src/model.rs
  • go to your project root(if project is in workspace, you need to go to the workspace root)
  • run test_compilation_speed_size config.json
  • fix compilation errors if any happens(mixing some compilation flags can cause compilation errors)
  • install python dependencies with sudo apt install python3-matplotlib python3-pandas python3-tabulate or similar command
  • generate charts with python3 generate_md_and_plots.py
  • generated md and png files will be in charts folder