Skip to content

Instantly share code, notes, and snippets.

@dist1ll
Created May 26, 2023 20:44
Show Gist options
  • Save dist1ll/8ceaa14211883044e375a26fb88efac9 to your computer and use it in GitHub Desktop.
Save dist1ll/8ceaa14211883044e375a26fb88efac9 to your computer and use it in GitHub Desktop.
Rust compiler timings for regex crate
time: 0.000; rss: 33MB -> 33MB ( +0MB) parse_crate
time: 0.000; rss: 34MB -> 34MB ( +0MB) plugin_loading
time: 0.000; rss: 34MB -> 35MB ( +1MB) setup_global_ctxt
time: 0.000; rss: 36MB -> 36MB ( +0MB) crate_injection
time: 0.026; rss: 36MB -> 64MB ( +27MB) expand_crate
time: 0.026; rss: 36MB -> 64MB ( +28MB) macro_expand_crate
time: 0.001; rss: 64MB -> 64MB ( +0MB) AST_validation
time: 0.000; rss: 64MB -> 64MB ( +0MB) finalize_imports
time: 0.000; rss: 64MB -> 64MB ( +0MB) compute_effective_visibilities
time: 0.000; rss: 64MB -> 64MB ( +0MB) finalize_macro_resolutions
time: 0.008; rss: 64MB -> 70MB ( +5MB) late_resolve_crate
time: 0.010; rss: 64MB -> 70MB ( +6MB) resolve_crate
time: 0.000; rss: 70MB -> 70MB ( +0MB) prepare_outputs
time: 0.000; rss: 70MB -> 70MB ( +0MB) looking_for_entry_point
time: 0.000; rss: 70MB -> 70MB ( +0MB) complete_gated_feature_checking
time: 0.002; rss: 77MB -> 77MB ( +0MB) drop_ast
time: 0.020; rss: 70MB -> 77MB ( +7MB) looking_for_derive_registrar
time: 0.000; rss: 78MB -> 78MB ( +0MB) unused_lib_feature_checking
time: 0.023; rss: 70MB -> 78MB ( +8MB) misc_checking_1
time: 0.006; rss: 78MB -> 83MB ( +5MB) type_collecting
time: 0.000; rss: 83MB -> 83MB ( +0MB) impl_wf_inference
time: 0.010; rss: 83MB -> 104MB ( +21MB) coherence_checking
time: 0.015; rss: 104MB -> 108MB ( +4MB) wf_checking
time: 0.008; rss: 108MB -> 114MB ( +6MB) item_types_checking
time: 0.150; rss: 78MB -> 130MB ( +52MB) type_check_crate
time: 0.177; rss: 130MB -> 148MB ( +18MB) MIR_borrow_checking
time: 0.038; rss: 148MB -> 151MB ( +3MB) MIR_effect_checking
time: 0.000; rss: 151MB -> 151MB ( +0MB) layout_testing
time: 0.002; rss: 152MB -> 154MB ( +3MB) crate_lints
time: 0.004; rss: 154MB -> 155MB ( +0MB) module_lints
time: 0.006; rss: 152MB -> 155MB ( +3MB) lint_checking
time: 0.004; rss: 155MB -> 155MB ( +0MB) privacy_checking_modules
time: 0.000; rss: 155MB -> 155MB ( +0MB) check_lint_expectations
time: 0.015; rss: 151MB -> 155MB ( +4MB) misc_checking_3
time: 0.164; rss: 155MB -> 179MB ( +24MB) generate_crate_metadata
time: 0.000; rss: 179MB -> 179MB ( +0MB) monomorphization_collector_root_collections
time: 0.140; rss: 179MB -> 203MB ( +24MB) monomorphization_collector_graph_walk
time: 0.011; rss: 203MB -> 205MB ( +2MB) partition_and_assert_distinct_symbols
time: 0.000; rss: 206MB -> 206MB ( +0MB) find_cgu_reuse
time: 0.485; rss: 206MB -> 324MB ( +118MB) codegen_to_LLVM_IR
time: 0.815; rss: 179MB -> 324MB ( +144MB) codegen_crate
time: 0.000; rss: 324MB -> 324MB ( +0MB) serialize_dep_graph
time: 0.011; rss: 324MB -> 280MB ( -44MB) free_global_ctxt
time: 0.114; rss: 331MB -> 370MB ( +39MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.9)
time: 0.135; rss: 313MB -> 372MB ( +60MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.4)
time: 0.132; rss: 336MB -> 375MB ( +39MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.14)
time: 0.156; rss: 323MB -> 376MB ( +53MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.15)
time: 0.155; rss: 342MB -> 384MB ( +42MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.8)
time: 0.177; rss: 331MB -> 386MB ( +55MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.7)
time: 0.299; rss: 347MB -> 435MB ( +88MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.2)
time: 0.300; rss: 356MB -> 429MB ( +73MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.1)
time: 0.335; rss: 349MB -> 424MB ( +75MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.13)
time: 0.024; rss: 404MB -> 410MB ( +5MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.3)
time: 0.088; rss: 409MB -> 422MB ( +14MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.12)
time: 0.094; rss: 412MB -> 381MB ( -31MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.10)
time: 0.133; rss: 401MB -> 401MB ( +0MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.11)
time: 0.500; rss: 359MB -> 411MB ( +53MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.0)
time: 0.100; rss: 396MB -> 417MB ( +21MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.6)
time: 0.100; rss: 398MB -> 419MB ( +21MB) LLVM_lto_optimize(regex.d49955c62a0b2092-cgu.5)
time: 1.866; rss: 226MB -> 314MB ( +88MB) LLVM_passes
time: 0.000; rss: 314MB -> 306MB ( -8MB) join_worker_thread
time: 1.257; rss: 280MB -> 306MB ( +26MB) finish_ongoing_codegen
time: 0.000; rss: 305MB -> 305MB ( +0MB) serialize_work_products
time: 0.000; rss: 305MB -> 302MB ( -2MB) link_binary_check_files_are_writeable
time: 0.006; rss: 300MB -> 255MB ( -45MB) link_rlib
time: 0.007; rss: 305MB -> 255MB ( -50MB) link_binary
time: 0.007; rss: 305MB -> 251MB ( -54MB) link_crate
time: 1.265; rss: 280MB -> 251MB ( -29MB) link
time: 2.706; rss: 20MB -> 85MB ( +64MB) total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment