Skip to content

Instantly share code, notes, and snippets.

@klutzy
Created November 24, 2013 13:12
Show Gist options
  • Save klutzy/7627128 to your computer and use it in GitHub Desktop.
Save klutzy/7627128 to your computer and use it in GitHub Desktop.
rust on mingw-w64: 64-bit / 32-bit comparison
# win64; host = target = x86_64-w64-mingw32
$ rustc.exe ~/stone/rust/src/libstd/lib.rs -Z time-passes
time: 25.673 s parsing
time: 0.136 s gated feature checking
time: 0.051 s std macros injection
time: 0.209 s configuration 1
time: 17.854 s expansion
time: 0.322 s configuration 2
time: 0.304 s maybe building test harness
time: 0.000 s std injection
time: 0.256 s assigning node ids
time: 0.960 s ast indexing
time: 0.058 s external crate/lib resolution
time: 0.050 s language item collection
time: 6.567 s resolution
time: 0.069 s lifetime resolution
time: 0.000 s looking for entry point
time: 0.202 s freevar finding
time: 0.543 s region resolution
time: 0.793 s type collecting
time: 0.117 s variance inference
time: 2.765 s coherence checking
time: 46.461 s type checking
time: 0.410 s const marking
time: 0.098 s const checking
time: 0.874 s privacy checking
time: 0.170 s effect checking
time: 0.049 s loop checking
time: 2.240 s compute moves
time: 0.252 s match checking
time: 1.163 s liveness checking
time: 3.081 s borrow checking
time: 0.697 s kind checking
time: 0.266 s reachability checking
time: 1.493 s lint checking
time: 143.301 s translation
time: 7.470 s LLVM passes
time: 0.350 s linking
# win32; host = i686-w64-mingw32, target = x86_64-w64-mingw32
$ rustc.exe ~/stone/rust/src/libstd/lib.rs --out-dir ~/stone/tmp -Z time-passes --target=x86_64-w64-mingw32
time: 0.504 s parsing
time: 0.016 s gated feature checking
time: 0.001 s std macros injection
time: 0.093 s configuration 1
time: 1.232 s expansion
time: 0.145 s configuration 2
time: 0.113 s maybe building test harness
time: 0.000 s std injection
time: 0.103 s assigning node ids
time: 0.165 s ast indexing
time: 0.008 s external crate/lib resolution
time: 0.009 s language item collection
time: 0.329 s resolution
time: 0.011 s lifetime resolution
time: 0.000 s looking for entry point
time: 0.026 s freevar finding
time: 0.049 s region resolution
time: 0.074 s type collecting
time: 0.020 s variance inference
time: 0.222 s coherence checking
time: 3.509 s type checking
time: 0.078 s const marking
time: 0.013 s const checking
time: 0.101 s privacy checking
time: 0.020 s effect checking
time: 0.009 s loop checking
time: 0.170 s compute moves
time: 0.025 s match checking
time: 0.076 s liveness checking
time: 0.284 s borrow checking
time: 0.055 s kind checking
time: 0.023 s reachability checking
time: 0.087 s lint checking
time: 72.806 s translation
time: 7.390 s LLVM passes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment