jemalloc heap profile of the worker at the `build` checkpoint (cold ripgrep, perf-std-key, lg_prof_sample:19),
jeprof --collapsed, scaled as jeprof scales samples. Attributed to the innermost salsa query on the stack.

total 3412 MB sampled

 19.4%     660 MB  (other)
 16.2%     553 MB  compiled_root
 12.0%     410 MB  mir_body_query
 10.4%     355 MB  (no query) ra_jit declared_in (Body::of, parses)
  6.7%     230 MB  compiled_instance
  5.9%     200 MB  file_item_tree_query
  3.7%     125 MB  (no query) vfs
  3.0%     103 MB  (no query) salsa interned
  2.6%      88 MB  inlinable
  2.5%      87 MB  monomorphized_runtime_mir_body_query
  2.5%      84 MB  (no query) ra_jit load
  2.3%      80 MB  row_place
  1.5%      50 MB  crate_local_def_map
  1.3%      44 MB  (no query) ra_jit Listed::of
  1.1%      38 MB  impl_trait_with_diagnostics
  1.0%      35 MB  body_syntax
  1.0%      34 MB  block_def_map
  1.0%      33 MB  layout_of_adt_query
  0.8%      28 MB  impl_self_ty_with_diagnostics
  0.8%      27 MB  layout_of_ty_query
  0.8%      27 MB  body_types
  0.5%      17 MB  (no query) intern crate
  0.3%      10 MB  lookup_impl_method_stored
  0.3%       9 MB  (no query) store
  0.2%       8 MB  const_eval_query
  0.2%       8 MB  told_type
  0.2%       7 MB  anchor_rows
  0.2%       6 MB  line_starts
  0.2%       6 MB  type_for_type_alias_with_diagnostics
  0.2%       6 MB  trait_environment_query

inclusive, top 60 frames:
  3247 MB  thread_start
  3247 MB  start_thread
  3247 MB  <std::sys::thread::unix::Thread>::new::thread_start
  2451 MB  _rjem_je_prof_tctx_create
  2451 MB  _rjem_je_prof_backtrace
  2447 MB  _rjem_je_malloc_default
  1922 MB  <std::thread::lifecycle::spawn_unchecked<<ra_jit::Resolver as hir_ty_codegen::SymbolResolver>::in_parallel_beside::{closure#1}::{closure#0}, ()>::{closure#1} as
  1922 MB  std::sys::backtrace::__rust_begin_short_backtrace::<<ra_jit::Resolver as hir_ty_codegen::SymbolResolver>::in_parallel_beside::{closure#1}::{closure#0}, ()>
  1922 MB  <std::thread::local::LocalKey<hir_ty::next_solver::interner::tls_db::Attached>>::with::<hir_ty::next_solver::interner::tls_db::attach_db<(), <ra_jit::Resolver a
  1542 MB  <std::thread::local::LocalKey<salsa::attach::Attached>>::with::<salsa::attach::attach<&core::result::Result<hir_ty_codegen::fragment::CompiledFunction, hir_ty_c
  1035 MB  <salsa::function::IngredientImpl<hir_ty_codegen::_::compiled_root_Configuration_>>::fetch_cold
  1035 MB  <salsa::function::IngredientImpl<hir_ty_codegen::_::compiled_root_Configuration_>>::execute
  1006 MB  <hir_ty_codegen::_::compiled_root_Configuration_ as salsa::function::Configuration>::execute
  1006 MB  hir_ty_codegen::tier::for_build::<core::result::Result<hir_ty_codegen::Produced, hir_ty_codegen::CodegenError>, <hir_ty_codegen::_::compiled_root_Configuration_
  1006 MB  hir_ty_codegen::root_code
   936 MB  <hir_ty_codegen::ObjectCodegen>::compile_ahead::{closure#5}
   736 MB  <hir_ty_codegen::CodegenUnit>::compile_or_hold::{closure#12}
   673 MB  <ide_db::RootDatabase as hir_ty::db::HirDatabase>::runtime_mir_body
   673 MB  hir_ty::mir::transform::runtime_mir_body_query
   673 MB  <salsa::function::IngredientImpl<hir_ty::mir::transform::_::runtime_mir_body_query_Configuration_>>::fetch_cold
   673 MB  <salsa::function::IngredientImpl<hir_ty::mir::transform::_::runtime_mir_body_query_Configuration_>>::execute
   660 MB  hir_ty_codegen::root_body
   602 MB  <hir_ty_codegen::backend::Tally>::step::<core::result::Result<cranelift_codegen::context::Context, hir_ty_codegen::CodegenError>, hir_ty_codegen::compile_as<hir
   597 MB  hir_ty_codegen::build::<hir_ty_codegen::root_code::{closure#1}>
   590 MB  <std::thread::local::LocalKey<salsa::attach::Attached>>::with::<salsa::attach::attach<&hir_def::expr_store::body::Body, dyn base_db::SourceDatabase, <hir_def::e
   590 MB  <salsa::function::IngredientImpl<<hir_def::expr_store::body::Body>::of::_::of__Configuration_>>::fetch_cold
   590 MB  <salsa::function::IngredientImpl<<hir_def::expr_store::body::Body>::of::_::of__Configuration_>>::execute
   586 MB  <hir_ty_codegen::FunctionCx>::codegen
   564 MB  <hir_def::expr_store::body::Body>::of
   547 MB  <std::thread::local::LocalKey<salsa::attach::Attached>>::with::<salsa::attach::attach<&span::ast_id::AstIdMap, dyn base_db::SourceDatabase, <hir_expand::HirFile
   547 MB  <hir_expand::HirFileId>::ast_id_map
   546 MB  <salsa::function::IngredientImpl<<hir_expand::HirFileId>::ast_id_map::_::ast_id_map__Configuration_>>::fetch_cold
   546 MB  <salsa::function::IngredientImpl<<hir_expand::HirFileId>::ast_id_map::_::ast_id_map__Configuration_>>::execute
   524 MB  <hir_expand::HirFileId>::parse_or_expand
   510 MB  <std::thread::local::LocalKey<salsa::attach::Attached>>::with::<salsa::attach::attach<&alloc::vec::Vec<(u32, vfs::FileId, u32, u32)>, dyn hir_ty::db::HirDatabas
   498 MB  <std::thread::local::LocalKey<hir_ty::next_solver::interner::tls_db::Attached>>::with::<hir_ty::next_solver::interner::tls_db::attach_db<(), ra_jit::lower::{clo
   497 MB  <salsa::function::IngredientImpl<hir_ty_codegen::_::compiled_instance_Configuration_>>::fetch_cold
   497 MB  <salsa::function::IngredientImpl<hir_ty_codegen::_::compiled_instance_Configuration_>>::execute
   496 MB  <std::thread::lifecycle::spawn_unchecked<ra_jit::lower::{closure#2}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#
   496 MB  std::sys::backtrace::__rust_begin_short_backtrace::<ra_jit::lower::{closure#2}::{closure#0}, ()>
   466 MB  <std::thread::local::LocalKey<salsa::attach::Attached>>::with::<salsa::attach::attach<core::result::Result<&hir_ty::mir::MirBody, &hir_ty::mir::lower::MirLowerE
   463 MB  <hir_ty_codegen::_::compiled_instance_Configuration_ as salsa::function::Configuration>::execute
   463 MB  hir_ty_codegen::tier::for_build::<core::result::Result<hir_ty_codegen::Produced, hir_ty_codegen::CodegenError>, <hir_ty_codegen::_::compiled_instance_Configurat
   463 MB  hir_ty_codegen::instance_code
   460 MB  hir_def::expr_store::lower::lower_body
   452 MB  <ide_db::RootDatabase as hir_ty::db::HirDatabase>::mir_body
   452 MB  hir_ty::mir::lower::mir_body_query
   452 MB  <salsa::function::IngredientImpl<hir_ty::mir::lower::_::mir_body_query_Configuration_>>::fetch_cold
   452 MB  <salsa::function::IngredientImpl<hir_ty::mir::lower::_::mir_body_query_Configuration_>>::execute
   451 MB  <salsa::function::IngredientImpl<hir_ty_codegen::_::root_rows_Configuration_>>::fetch_cold
   451 MB  <salsa::function::IngredientImpl<hir_ty_codegen::_::root_rows_Configuration_>>::execute
   435 MB  <hir_ty_codegen::backend::Tally>::step::<core::result::Result<&hir_ty::mir::MirBody, hir_ty::mir::lower::MirLowerError>, hir_ty_codegen::root_body::{closure#1}>
   428 MB  <syntax::syntax_node::SyntaxTreeBuilder>::finish_raw
   427 MB  <hir_ty::mir::MirBody>::shrink_to_fit
   425 MB  <std::thread::local::LocalKey<salsa::attach::Attached>>::with::<salsa::attach::attach<&core::option::Option<(triomphe::arc::Arc<hir_def::expr_store::body::Body>
   423 MB  <salsa::function::IngredientImpl<<hir_def::expr_store::body::Body>::relative::_::relative__Configuration_>>::fetch_cold
   423 MB  <salsa::function::IngredientImpl<<hir_def::expr_store::body::Body>::relative::_::relative__Configuration_>>::execute
   421 MB  <rowan::flat::FlatTreeBuilder>::finish
   414 MB  <hir_ty::mir::lower::_::mir_body_query_Configuration_ as salsa::function::Configuration>::execute
   409 MB  <ra_jit::Listed>::of
