plot_rust_data.sh 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. DATA_DIR=/home/j3tracey/Documents/rustsafety/data/
  2. CODE_DIR=/home/j3tracey/Documents/rustsafety/code/
  3. # CSS styling
  4. # stylo
  5. cd "$DATA_DIR/servo"
  6. python3 "$CODE_DIR/author-identities.py" . | sort > .mailmap
  7. python3 "$CODE_DIR/learning_curves/plot_T1s.py" "." "components/style/" "$DATA_DIR/learning-curve-plots/stylo.svg" 4
  8. # Rendering
  9. # webrender
  10. cd "$DATA_DIR/webrender"
  11. python3 "$CODE_DIR/author-identities.py" . | sort > .mailmap
  12. python3 "$CODE_DIR/learning_curves/plot_T1s.py" "../gecko-dev:." "gfx/webrender_bindings:." "$DATA_DIR/learning-curve-plots/webrender.svg" 2
  13. # Color management
  14. # qcms
  15. cd "$DATA_DIR/qcms"
  16. python3 "$CODE_DIR/author-identities.py" . | sort > .mailmap
  17. python3 "$CODE_DIR/learning_curves/plot_T1s.py" "." "." "$DATA_DIR/learning-curve-plots/qcms-rust.svg" 0
  18. # MP4 Parser
  19. # mp4parse-rust
  20. cd "$DATA_DIR/mp4parse-rust"
  21. python3 "$CODE_DIR/author-identities.py" . | sort > .mailmap
  22. python3 "$CODE_DIR/learning_curves/plot_T1s.py" "." "." "$DATA_DIR/learning-curve-plots/mp4parse-rust.svg" 0
  23. # Unicode Encoder
  24. # encoding_rs
  25. cd "$DATA_DIR/encoding_rs"
  26. python3 "$CODE_DIR/author-identities.py" . | sort > .mailmap
  27. python3 "$CODE_DIR/learning_curves/plot_T1s.py" "." "." "$DATA_DIR/learning-curve-plots/encoding_rs.svg" 0
  28. # Combined (above + Libcubeb: MacOS)
  29. cd "$DATA_DIR/cubeb-coreaudio-rs"
  30. python3 "$CODE_DIR/author-identities.py" . | sort > .mailmap
  31. python3 "$CODE_DIR/learning_curves/plot_T1s.py" "$DATA_DIR/gecko-dev:$DATA_DIR/servo:$DATA_DIR/webrender:$DATA_DIR/qcms:$DATA_DIR/mp4parse-rust:$DATA_DIR/encoding_rs:$DATA_DIR/cubeb-coreaudio-rs" "gfx/webrender_bindings:components/style/:::::" "$DATA_DIR/learning-curve-plots/rust-combined.svg" 7