Skip to content

Instantly share code, notes, and snippets.

@nwin
Created May 3, 2015 11:21
Show Gist options
  • Save nwin/016c7e64ae270f519cdb to your computer and use it in GitHub Desktop.
Save nwin/016c7e64ae270f519cdb to your computer and use it in GitHub Desktop.
time profiles of rustc
Total Samples,Total Time,Running Time,Self,,Symbol Name
24451,24451,24451.0ms 99.9%,0, ,sys::thread::Thread::new::thread_start::hf4c42a114072ab47mYu 0x1e485f
24451,24451,24451.0ms 99.9%,0, , thread_start
24451,24451,24451.0ms 99.9%,0, , _pthread_start
24451,24451,24451.0ms 99.9%,0, , _pthread_body
24449,24449,24449.0ms 99.9%,0, , sys::thread::Thread::new::thread_start::hf4c42a114072ab47mYu
24449,24449,24449.0ms 99.9%,0, , rust_try_inner
24449,24449,24449.0ms 99.9%,0, , rt::unwind::try::try_fn::h13518150216340287792
24449,24449,24449.0ms 99.9%,0, , boxed::F.FnBox$LT$A$GT$::call_box::h11476165885616507686
24449,24449,24449.0ms 99.9%,0, , run_compiler::h55b523753cbd518765b
24448,24448,24448.0ms 99.9%,0, , driver::compile_input::h7c6cf9b085c57594Qba
24161,24161,24161.0ms 98.7%,0, , driver::phase_3_run_analysis_passes::h2554ff95bce00587tGa
23201,23201,23201.0ms 94.8%,0, , check_crate::h782cff8740252e81rCC
23047,23047,23047.0ms 94.2%,0, , check_crate::closure.38872
23041,23041,23041.0ms 94.1%,0, , check::CheckItemBodiesVisitor$LT$$u27$a$C$$u20$$u27$tcx$GT$.Visitor$LT$$u27$tcx$GT$::visit_item::hbef2e2a14382e80aZEn
23040,23040,23040.0ms 94.1%,0, , check::check_method_body::h2fc6b3c8015b76ccXjo
23040,23040,23040.0ms 94.1%,0, , check::check_bare_fn::h01c9c7a0b174d430WHn
22711,22711,22711.0ms 92.8%,0, , check::check_fn::hfb888ade54742a88nSn
22707,22707,22707.0ms 92.8%,0, , check::check_block_with_expected::hcfa15fbdb8c43f45tds
22632,22632,22632.0ms 92.5%,0, , check::check_expr_with_unifier::h17685357569681961405
22617,22617,22617.0ms 92.4%,0, , check::_match::check_match::h1ee836cfebb44c84Vqb
22611,22611,22611.0ms 92.4%,0, , check::_match::check_match::closure.29464
22611,22611,22611.0ms 92.4%,0, , check::check_expr_with_unifier::h17685357569681961405
22606,22606,22606.0ms 92.4%,0, , check::check_block_with_expected::hcfa15fbdb8c43f45tds
22419,22419,22419.0ms 91.6%,0, , check::check_expr_with_unifier::h17685357569681961405
22370,22370,22370.0ms 91.4%,0, , check::_match::check_match::h1ee836cfebb44c84Vqb
22370,22370,22370.0ms 91.4%,0, , check::_match::check_match::closure.29464
22370,22370,22370.0ms 91.4%,0, , check::check_expr_with_unifier::h17685357569681961405
22370,22370,22370.0ms 91.4%,0, , check::check_block_with_expected::hcfa15fbdb8c43f45tds
13465,13465,13465.0ms 55.0%,0, , check::check_expr_with_unifier::h17685357569681961405
8752,8752,8752.0ms 35.7%,0, , check::check_expr_with_unifier::h14292036357302571866
82,82,82.0ms 0.3%,0, , check::check_decl_local::h57bfedc66072ce25n7r
71,71,71.0ms 0.2%,0, , check::check_expr_with_unifier::h8527598931454308257
49,49,49.0ms 0.2%,0, , check::check_block_with_expected::hcfa15fbdb8c43f45tds
93,93,93.0ms 0.3%,0, , check::check_expr_with_unifier::h14292036357302571866
50,50,50.0ms 0.2%,0, , check::check_decl_local::h57bfedc66072ce25n7r
44,44,44.0ms 0.1%,0, , check::check_expr_with_unifier::h8527598931454308257
5,5,5.0ms 0.0%,0, , check::check_expr_with_unifier::check_struct_constructor::h3f01fdd1b8ceda90c4q
6,6,6.0ms 0.0%,0, , check::check_expr_with_unifier::h14292036357302571866
12,12,12.0ms 0.0%,0, , check::check_expr_with_unifier::check_then_else::h0086fe91e78fdbceRCq
1,1,1.0ms 0.0%,0, , check::check_expr_with_unifier::check_struct_constructor::h3f01fdd1b8ceda90c4q
1,1,1.0ms 0.0%,0, , check::callee::check_call::h9d48641f8dbf70e8uVl
1,1,1.0ms 0.0%,0, , check::check_expr_with_unifier::check_method_call::h9591f15015201aafXzq
57,57,57.0ms 0.2%,0, , check::check_expr_with_unifier::h8527598931454308257
11,11,11.0ms 0.0%,0, , check::check_expr_with_unifier::h14292036357302571866
7,7,7.0ms 0.0%,0, , check::check_decl_local::h57bfedc66072ce25n7r
4,4,4.0ms 0.0%,0, , visit::walk_expr::h4314270053118262506
207,207,207.0ms 0.8%,0, , check::regionck::Rcx$LT$$u27$a$C$$u20$$u27$tcx$GT$::visit_fn_body::h29b7486568ff7c7b6Uc
60,60,60.0ms 0.2%,0, , middle::infer::InferCtxt$LT$$u27$a$C$$u20$$u27$tcx$GT$::resolve_regions_and_report_errors::h7e537a7f9ad40581ubz
26,26,26.0ms 0.1%,0, , check::writeback::WritebackCx$LT$$u27$cx$C$$u20$$u27$tcx$GT$.Visitor$LT$$u27$v$GT$::visit_expr::hfc0f82df37c0a02fcfc
16,16,16.0ms 0.0%,0, , check::vtable::select_all_fcx_obligations_and_apply_defaults::hd76cbb7f8d80a0c6m2b
8,8,8.0ms 0.0%,0, , check::vtable::select_all_fcx_obligations_or_error::h094ca1160ec96637J3b
3,3,3.0ms 0.0%,0, , visit::walk_block::h10776927279538498943
3,3,3.0ms 0.0%,0, , check..Inherited::drop.33190::he299aa4a4cbb97c3
2,2,2.0ms 0.0%,0, , check::FnCtxt$LT$$u27$a$C$$u20$$u27$tcx$GT$::check_casts::h2acf330845958457zwp
2,2,2.0ms 0.0%,0, , visit::walk_expr::h15382367316395725652
1,1,1.0ms 0.0%,0, , <Unknown Address>
1,1,1.0ms 0.0%,0, , check::upvar::SeedBorrowKind$LT$$u27$a$C$$u20$$u27$tcx$GT$.Visitor$LT$$u27$v$GT$::visit_expr::h80cd66e3774ba158wQj
1,1,1.0ms 0.0%,0, , visit::Visitor::visit_fn::h16918684440764450735
3,3,3.0ms 0.0%,0, , check::CheckItemTypesVisitor$LT$$u27$a$C$$u20$$u27$tcx$GT$.Visitor$LT$$u27$tcx$GT$::visit_item::hc5216c2b18d14620ODn
2,2,2.0ms 0.0%,0, , visit::walk_item::h15808182621151444878
1,1,1.0ms 0.0%,0, , check::wf::CheckTypeWellFormedVisitor$LT$$u27$ccx$C$$u20$$u27$tcx$GT$::check_item_well_formed::h1476ac61e0969844vtk
150,150,150.0ms 0.6%,0, , check_crate::closure.38862
2,2,2.0ms 0.0%,0, , check_crate::closure.38852
2,2,2.0ms 0.0%,0, , check_crate::closure.38755
415,415,415.0ms 1.6%,0, , borrowck::check_crate::hd9d02baf4ed6ce451Ie
178,178,178.0ms 0.7%,0, , middle::liveness::check_crate::hbb34a527fd908394zeC
124,124,124.0ms 0.5%,0, , lint::context::check_crate::h4a9341dd3c32cb8cIJs
78,78,78.0ms 0.3%,0, , middle::stability::check_unstable_api_usage::h9304dbd755ce459asAL
43,43,43.0ms 0.1%,0, , middle::check_const::check_crate::ha1c34da7b8765db0Hle
37,37,37.0ms 0.1%,0, , middle::check_rvalues::check_crate::h33306992dc74948duCg
36,36,36.0ms 0.1%,0, , resolve_crate::h8374814f7d92265408h
12,12,12.0ms 0.0%,0, , middle::region::resolve_crate::h3fda45cbe9491ee21XJ
10,10,10.0ms 0.0%,0, , check_crate::h6055c5729a21eb18v2b
7,7,7.0ms 0.0%,0, , middle::check_match::check_crate::haeae1a0cf20af28dy5e
7,7,7.0ms 0.0%,1, , middle::dead::check_crate::ha3a8cb4f19d28a0326k
3,3,3.0ms 0.0%,0, , middle::resolve_lifetime::krate::h0a1675080b37dab2qlK
3,3,3.0ms 0.0%,0, , middle::intrinsicck::check_crate::hcaed9c5648d9a43a1yp
2,2,2.0ms 0.0%,0, , middle::effect::check_crate::hff99b5c2885820ce57m
2,2,2.0ms 0.0%,0, , middle::check_loop::check_crate::haa0c648c38aa252fwDe
1,1,1.0ms 0.0%,0, , middle::check_static_recursion::check_crate::h4223da81e465089erte
1,1,1.0ms 0.0%,0, , middle::lang_items::collect_language_items::hb4ffaf301adeec64u0B
1,1,1.0ms 0.0%,0, , metadata::creader::CrateReader$LT$$u27$a$GT$::read_crates::h84912c610ffc7ac5XDk
244,244,244.0ms 0.9%,0, , driver::phase_2_configure_and_expand::hb37c62035071abf0Ysa
14,14,14.0ms 0.0%,0, , rustc..middle..ty..CrateAnalysis::drop.14878::h85b40198d8133234
11,11,11.0ms 0.0%,0, , driver::assign_node_ids_and_map::h36617e6b63865502sDa
7,7,7.0ms 0.0%,0, , driver::phase_1_parse_input::h880676f41864b42fPqa
6,6,6.0ms 0.0%,0, , syntax..ast_map..Forest::drop.14482::hf2e033ec320eed8f
5,5,5.0ms 0.0%,0, , rustc..middle..ty..CtxtArenas::drop.14637::h2bc73b9be37df45b
1,1,1.0ms 0.0%,0, , session::config::build_session_options::ha2a1a09ea79626ccuVp
2,2,2.0ms 0.0%,0, , _pthread_exit
10,10,10.0ms 0.0%,0, ,Main Thread 0x1e4780
10,10,10.0ms 0.0%,0, , _dyld_start
Running Time,Self,,Symbol Name
1229.0ms 99.1%,0, ,sys::thread::thread_start::h0fb21aaa7cc37e0dDfw 0x1efcca
1229.0ms 99.1%,0, , thread_start
1229.0ms 99.1%,0, , _pthread_start
1229.0ms 99.1%,0, , _pthread_body
1227.0ms 99.0%,0, , sys::thread::thread_start::h0fb21aaa7cc37e0dDfw
1227.0ms 99.0%,0, , rust_try_inner
1227.0ms 99.0%,0, , rt::unwind::try::try_fn::h5185751407680132505
1227.0ms 99.0%,0, , thunk::F.Invoke$LT$A$C$$u{20}R$GT$::invoke::h1922614042677645733
1226.0ms 98.9%,0, , driver::compile_input::h9d2d7dddc58375d9wba
991.0ms 79.9%,0, , driver::phase_3_run_analysis_passes::hadc5fda84afbf325qva
199.0ms 16.0%,0, , driver::phase_2_configure_and_expand::h1a0c624cc5fe7badMja
18.0ms 1.4%,0, , driver::assign_node_ids_and_map::hbb030afdafbf3ff8gsa
7.0ms 0.5%,0, , rustc..middle..ty..CrateAnalysis$LT$$u{27}_$GT$::glue_drop.12808::hf2bd50f1cf33c5db
6.0ms 0.4%,0, , syntax..ast_map..Forest::glue_drop.12343::he29a4f065f440838
4.0ms 0.3%,0, , driver::phase_1_parse_input::h4d3285a06b2c6a87Oha
1.0ms 0.0%,0, , rustc..middle..ty..CtxtArenas$LT$$u{27}_$GT$::glue_drop.12626::h5f5b8f9f222728c5
1.0ms 0.0%,0, , diagnostics::registry::Registry::new::h642c366beab26f68cWa
2.0ms 0.1%,0, , _pthread_exit
10.0ms 0.8%,0, ,Main Thread 0x1efcb7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment