Skip to content

Compile times and speed

Lukas Kalbertodt edited this page Aug 29, 2018 · 1 revision

Tested with 67c117b32705e87d6db360fc8a143ac8027caf82

cargo run was executed to build.

opt-level 0

  • full build: 43,1s
  • touch main.rs: 2,4s
  • touch lib.rs: 2,8s
  • change constant value: 2,4s
  • FPS no logs: 200
  • FPS crazy logs: 16

opt-level 1

  • full build: 1m34s
  • touch main.rs: 2,3s
  • touch lib.rs: 2,8s
  • change constant value: 2,4s
  • FPS no logs: 215
  • FPS crazy logs: 45

opt-level 2

  • full build: 1m47s
  • touch main.rs: 1,9s
  • touch lib.rs: 2,7s
  • change constant value: 1,8
  • FPS no logs: 220
  • FPS crazy logs: 57