Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Servo inline(always)

TL;DR Converting inline(always) to inline in CodegenRust and jstracable speeds up compile time by 14%. Interestingly, converting just one or the other does not produce large wins.

servo inlining

  • before (--dev): Build completed in 401.66s
  • before (--release): Build completed in 535.19s

removing inline(always) from CodegenRust

  • after (--dev): Build completed in 395.46s
  • after (--release): Build completed in 528.52s

removing inline(always) from jstracable

  • after (--dev): Build completed in 395.77s
  • after (--release): Build completed in 517.01s

both cogegenrust and jstracable

  • after (--dev): Build completed in 351.74s
  • after (--release): Build completed in 464.38s

all components/ converted

  • after (--dev): Build completed in 354.11s
  • after (--release): Build completed in 467.57s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment