Skip to content

Instantly share code, notes, and snippets.

@MichaReiser
Created February 15, 2023 11:33
Show Gist options
  • Save MichaReiser/a6e51e0f1f17791bcf7984c364d24271 to your computer and use it in GitHub Desktop.
Save MichaReiser/a6e51e0f1f17791bcf7984c364d24271 to your computer and use it in GitHub Desktop.
--------------------------------------------------------------------------------
Command: ./target/release/ruff ./crates/ruff/resources/test/cpython/ --no-cache
Massif arguments: --pages-as-heap=yes --time-unit=B
ms_print arguments: massif.out.967385
--------------------------------------------------------------------------------
GB
1.570^ :
| #:::
| @ :@@# ::
| :: @::@ # ::
| : :::@::@ # ::
| :::::: : @::@ # ::
| :: ::::: : : : @::@ # ::
| : :: :: : : : @::@ # ::
| : :::: :: :: : : : @::@ # ::
| : :::::: : :: :: : : : @::@ # ::
| :::: ::: : :: :: : : : @::@ # ::
| :: ::::: : ::: : :: :: : : : @::@ # ::
| : ::: :: :: : ::: : :: :: : : : @::@ # ::
| :::: : :: :: : ::: : :: :: : : : @::@ # ::
| :: ::::: : : :: :: : ::: : :: :: : : : @::@ # ::
| : :: :: : : :: :: : ::: : :: :: : : : @::@ # ::
| :::::: :: :: : : :: :: : ::: : :: :: : : : @::@ # ::
| :::::: : :: :: : : :: :: : ::: : :: :: : : : @::@ # ::
| : ::: ::: : :: :: : : :: :: : ::: : :: :: : : : @::@ # ::
| ::::::: : ::: : :: :: : : :: :: : ::: : :: :: : : : @::@ # ::
0 +----------------------------------------------------------------------->GB
0 3.211
Number of snapshots: 61
Detailed snapshots: [45, 49, 51 (peak)]
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 794,624 794,624 794,624 0 0
1 25,223,168 24,838,144 24,838,144 0 0
2 159,440,896 159,055,872 159,055,872 0 0
3 226,562,048 91,959,296 91,959,296 0 0
4 360,779,776 226,177,024 226,177,024 0 0
5 360,783,872 226,172,928 226,172,928 0 0
6 428,032,000 159,211,520 159,211,520 0 0
7 474,697,728 205,541,376 205,541,376 0 0
8 541,818,880 272,662,528 272,662,528 0 0
9 676,036,608 406,880,256 406,880,256 0 0
10 743,157,760 339,783,680 339,783,680 0 0
11 810,278,912 406,904,832 406,904,832 0 0
12 944,496,640 541,122,560 541,122,560 0 0
13 1,011,617,792 474,025,984 474,025,984 0 0
14 1,078,738,944 541,147,136 541,147,136 0 0
15 1,212,956,672 675,364,864 675,364,864 0 0
16 1,280,077,824 608,268,288 608,268,288 0 0
17 1,347,198,976 675,389,440 675,389,440 0 0
18 1,481,416,704 809,607,168 809,607,168 0 0
19 1,548,537,856 742,510,592 742,510,592 0 0
20 1,615,659,008 809,631,744 809,631,744 0 0
21 1,749,876,736 943,849,472 943,849,472 0 0
22 1,749,880,832 943,845,376 943,845,376 0 0
23 1,816,997,888 876,752,896 876,752,896 0 0
24 1,884,106,752 943,861,760 943,861,760 0 0
25 1,884,119,040 943,874,048 943,874,048 0 0
26 2,018,336,768 1,078,091,776 1,078,091,776 0 0
27 2,018,340,864 1,078,087,680 1,078,087,680 0 0
28 2,085,457,920 1,010,995,200 1,010,995,200 0 0
29 2,152,566,784 1,078,104,064 1,078,104,064 0 0
30 2,152,579,072 1,078,116,352 1,078,116,352 0 0
31 2,286,796,800 1,212,334,080 1,212,334,080 0 0
32 2,286,800,896 1,212,329,984 1,212,329,984 0 0
33 2,353,917,952 1,145,237,504 1,145,237,504 0 0
34 2,421,026,816 1,212,346,368 1,212,346,368 0 0
35 2,421,039,104 1,212,358,656 1,212,358,656 0 0
36 2,555,256,832 1,346,576,384 1,346,576,384 0 0
37 2,555,260,928 1,346,572,288 1,346,572,288 0 0
38 2,622,377,984 1,279,479,808 1,279,479,808 0 0
39 2,689,486,848 1,346,588,672 1,346,588,672 0 0
40 2,689,499,136 1,346,600,960 1,346,600,960 0 0
41 2,823,716,864 1,480,818,688 1,480,818,688 0 0
42 2,878,050,304 1,426,485,248 1,426,485,248 0 0
43 2,890,838,016 1,413,722,112 1,413,722,112 0 0
44 3,025,055,744 1,547,939,840 1,547,939,840 0 0
45 3,025,055,744 1,547,939,840 1,547,939,840 0 0
100.00% (1,547,939,840B) (page allocation syscalls) mmap/mremap/brk, --alloc-fns, etc.
->98.67% (1,527,328,768B) 0x4A72277: __mmap64 (mmap64.c:58)
| ->98.67% (1,527,328,768B) 0x4A72277: mmap (mmap64.c:46)
| ->56.36% (872,415,232B) 0x4A04643: alloc_new_heap (arena.c:518)
| | ->56.36% (872,415,232B) 0x4A04A23: _int_new_arena (arena.c:741)
| | ->56.36% (872,415,232B) 0x4A04A23: arena_get2.part.0 (arena.c:960)
| | ->56.36% (872,415,232B) 0x4A071F8: arena_get2 (arena.c:928)
| | ->56.36% (872,415,232B) 0x4A071F8: tcache_init.part.0 (malloc.c:3220)
| | ->56.36% (872,415,232B) 0x4A07975: tcache_init (malloc.c:3217)
| | ->56.36% (872,415,232B) 0x4A07975: malloc (malloc.c:3282)
| | ->56.36% (872,415,232B) 0x49F8F3A: pthread_getattr_np@@GLIBC_2.32 (pthread_getattr_np.c:180)
| | ->56.36% (872,415,232B) 0x9F6213: std::sys::unix::thread::guard::current (thread.rs:843)
| | ->47.69% (738,197,504B) 0x53A454: {closure
| | | ->47.69% (738,197,504B) 0x53A454: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
| | | ->47.69% (738,197,504B) 0x9F6124: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1940)
| | | ->47.69% (738,197,504B) 0x9F6124: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1940)
| | | ->47.69% (738,197,504B) 0x9F6124: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
| | | ->47.69% (738,197,504B) 0x49F7BB4: start_thread (pthread_create.c:444)
| | | ->47.69% (738,197,504B) 0x4A79CB3: clone (clone.S:100)
| | |
| | ->08.67% (134,217,728B) 0x335684: {closure
| | ->08.67% (134,217,728B) 0x335684: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
| | ->08.67% (134,217,728B) 0x9F6124: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1940)
| | ->08.67% (134,217,728B) 0x9F6124: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1940)
| | ->08.67% (134,217,728B) 0x9F6124: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
| | ->08.67% (134,217,728B) 0x49F7BB4: start_thread (pthread_create.c:444)
| | ->08.67% (134,217,728B) 0x4A79CB3: clone (clone.S:100)
| |
| ->39.02% (603,979,776B) 0x4A045B0: alloc_new_heap (arena.c:508)
| | ->39.02% (603,979,776B) 0x4A04A23: _int_new_arena (arena.c:741)
| | ->39.02% (603,979,776B) 0x4A04A23: arena_get2.part.0 (arena.c:960)
| | ->39.02% (603,979,776B) 0x4A071F8: arena_get2 (arena.c:928)
| | ->39.02% (603,979,776B) 0x4A071F8: tcache_init.part.0 (malloc.c:3220)
| | ->39.02% (603,979,776B) 0x4A07975: tcache_init (malloc.c:3217)
| | ->39.02% (603,979,776B) 0x4A07975: malloc (malloc.c:3282)
| | ->39.02% (603,979,776B) 0x49F8F3A: pthread_getattr_np@@GLIBC_2.32 (pthread_getattr_np.c:180)
| | ->39.02% (603,979,776B) 0x9F6213: std::sys::unix::thread::guard::current (thread.rs:843)
| | ->39.02% (603,979,776B) 0x53A454: {closure
| | ->39.02% (603,979,776B) 0x53A454: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
| | ->39.02% (603,979,776B) 0x9F6124: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1940)
| | ->39.02% (603,979,776B) 0x9F6124: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1940)
| | ->39.02% (603,979,776B) 0x9F6124: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
| | ->39.02% (603,979,776B) 0x49F7BB4: start_thread (pthread_create.c:444)
| | ->39.02% (603,979,776B) 0x4A79CB3: clone (clone.S:100)
| |
| ->03.26% (50,429,952B) 0x49F86E0: allocate_stack (allocatestack.c:366)
| | ->03.26% (50,429,952B) 0x49F86E0: pthread_create@@GLIBC_2.34 (pthread_create.c:652)
| | ->03.26% (50,429,952B) 0x9F5F9B: std::sys::unix::thread::Thread::new (thread.rs:87)
| | ->02.99% (46,227,456B) 0x53C0E0: spawn_unchecked_<rayon_core::registry::{impl
| | | ->02.99% (46,227,456B) 0x53C0E0: spawn_unchecked<rayon_core::registry::{impl
| | | ->02.99% (46,227,456B) 0x53C0E0: spawn<rayon_core::registry::{impl
| | | ->02.99% (46,227,456B) 0x53C0E0: <rayon_core::registry::DefaultSpawn as rayon_core::registry::ThreadSpawn>::spawn (registry.rs:98)
| | | ->02.99% (46,227,456B) 0x53974E: new<rayon_core::registry::DefaultSpawn> (registry.rs:267)
| | | ->02.99% (46,227,456B) 0x53974E: {closure
| | | ->02.99% (46,227,456B) 0x53974E: {closure
| | | ->02.99% (46,227,456B) 0x53974E: std::sync::once::Once::call_once::{{closure}} (once.rs:276)
| | | ->02.99% (46,227,456B) 0x1FDE2A: std::sync::once::Once::call_inner (once.rs:434)
| | | ->02.99% (46,227,456B) 0x53C373: call_once<rayon_core::registry::set_global_registry::{closure_env
| | | ->02.99% (46,227,456B) 0x53C373: set_global_registry<rayon_core::registry::global_registry::{closure_env
| | | ->02.99% (46,227,456B) 0x53C373: rayon_core::registry::global_registry (registry.rs:167)
| | | ->02.99% (46,227,456B) 0x6D033A: current_num_threads (src/registry.rs:297)
| | | ->02.99% (46,227,456B) 0x6D033A: current_num_threads (src/lib.rs:121)
| | | ->02.99% (46,227,456B) 0x6D033A: new (mod.rs:267)
| | | ->02.99% (46,227,456B) 0x6D033A: new (mod.rs:315)
| | | ->02.99% (46,227,456B) 0x6D033A: bridge_producer_consumer<rayon::slice::IterProducer<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: callback<rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: with_producer<core::result::Result<ignore::walk::DirEntry, ignore::Error>, rayon::iter::plumbing::bridge::Callback<rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: bridge<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: drive_unindexed<core::result::Result<ignore::walk::DirEntry, ignore::Error>, rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: drive_unindexed<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: reduce<rayon::iter::map::Map<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: reduce<rayon::iter::map::Map<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: ruff::commands::run::run (run.rs:78)
| | | ->02.99% (46,227,456B) 0x6EE601: ruff::check (main.rs:261)
| | | ->02.99% (46,227,456B) 0x6E3CE6: ruff::inner_main (main.rs:102)
| | | ->02.99% (46,227,456B) 0x6F0080: ruff::main (main.rs:318)
| | | ->02.99% (46,227,456B) 0x62C4C2: call_once<fn() -> std::process::ExitCode, ()> (function.rs:248)
| | | ->02.99% (46,227,456B) 0x62C4C2: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:122)
| | | ->02.99% (46,227,456B) 0x62C948: std::rt::lang_start::{{closure}} (rt.rs:166)
| | | ->02.99% (46,227,456B) 0x9E4689: call_once<(), (dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (function.rs:283)
| | | ->02.99% (46,227,456B) 0x9E4689: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:492)
| | | ->02.99% (46,227,456B) 0x9E4689: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:456)
| | | ->02.99% (46,227,456B) 0x9E4689: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:137)
| | | ->02.99% (46,227,456B) 0x9E4689: {closure
| | | ->02.99% (46,227,456B) 0x9E4689: do_call<std::rt::lang_start_internal::{closure_env
| | | ->02.99% (46,227,456B) 0x9E4689: try<isize, std::rt::lang_start_internal::{closure_env
| | | ->02.99% (46,227,456B) 0x9E4689: catch_unwind<std::rt::lang_start_internal::{closure_env
| | | ->02.99% (46,227,456B) 0x9E4689: std::rt::lang_start_internal (rt.rs:148)
| | | ->02.99% (46,227,456B) 0x70598E: main (in /home/micha/astral/ruff/target/release/ruff)
| | |
| | ->00.27% (4,202,496B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.03% (503,808B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.33% (20,611,072B) in 4 places, all below massif's threshold (1.00%)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
46 3,025,059,840 1,547,935,744 1,547,935,744 0 0
47 3,092,176,896 1,480,843,264 1,480,843,264 0 0
48 3,159,285,760 1,547,952,128 1,547,952,128 0 0
49 3,163,901,952 1,547,964,416 1,547,964,416 0 0
100.00% (1,547,964,416B) (page allocation syscalls) mmap/mremap/brk, --alloc-fns, etc.
->98.67% (1,527,353,344B) 0x4A72277: __mmap64 (mmap64.c:58)
| ->98.67% (1,527,353,344B) 0x4A72277: mmap (mmap64.c:46)
| ->52.02% (805,306,368B) 0x4A04643: alloc_new_heap (arena.c:518)
| | ->52.02% (805,306,368B) 0x4A04A23: _int_new_arena (arena.c:741)
| | ->52.02% (805,306,368B) 0x4A04A23: arena_get2.part.0 (arena.c:960)
| | ->52.02% (805,306,368B) 0x4A071F8: arena_get2 (arena.c:928)
| | ->52.02% (805,306,368B) 0x4A071F8: tcache_init.part.0 (malloc.c:3220)
| | ->52.02% (805,306,368B) 0x4A07975: tcache_init (malloc.c:3217)
| | ->52.02% (805,306,368B) 0x4A07975: malloc (malloc.c:3282)
| | ->52.02% (805,306,368B) 0x49F8F3A: pthread_getattr_np@@GLIBC_2.32 (pthread_getattr_np.c:180)
| | ->52.02% (805,306,368B) 0x9F6213: std::sys::unix::thread::guard::current (thread.rs:843)
| | ->43.35% (671,088,640B) 0x53A454: {closure
| | | ->43.35% (671,088,640B) 0x53A454: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
| | | ->43.35% (671,088,640B) 0x9F6124: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1940)
| | | ->43.35% (671,088,640B) 0x9F6124: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1940)
| | | ->43.35% (671,088,640B) 0x9F6124: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
| | | ->43.35% (671,088,640B) 0x49F7BB4: start_thread (pthread_create.c:444)
| | | ->43.35% (671,088,640B) 0x4A79CB3: clone (clone.S:100)
| | |
| | ->08.67% (134,217,728B) 0x335684: {closure
| | ->08.67% (134,217,728B) 0x335684: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
| | ->08.67% (134,217,728B) 0x9F6124: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1940)
| | ->08.67% (134,217,728B) 0x9F6124: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1940)
| | ->08.67% (134,217,728B) 0x9F6124: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
| | ->08.67% (134,217,728B) 0x49F7BB4: start_thread (pthread_create.c:444)
| | ->08.67% (134,217,728B) 0x4A79CB3: clone (clone.S:100)
| |
| ->43.35% (671,088,640B) 0x4A045B0: alloc_new_heap (arena.c:508)
| | ->43.35% (671,088,640B) 0x4A04A23: _int_new_arena (arena.c:741)
| | ->43.35% (671,088,640B) 0x4A04A23: arena_get2.part.0 (arena.c:960)
| | ->43.35% (671,088,640B) 0x4A071F8: arena_get2 (arena.c:928)
| | ->43.35% (671,088,640B) 0x4A071F8: tcache_init.part.0 (malloc.c:3220)
| | ->43.35% (671,088,640B) 0x4A07975: tcache_init (malloc.c:3217)
| | ->43.35% (671,088,640B) 0x4A07975: malloc (malloc.c:3282)
| | ->43.35% (671,088,640B) 0x49F8F3A: pthread_getattr_np@@GLIBC_2.32 (pthread_getattr_np.c:180)
| | ->43.35% (671,088,640B) 0x9F6213: std::sys::unix::thread::guard::current (thread.rs:843)
| | ->43.35% (671,088,640B) 0x53A454: {closure
| | ->43.35% (671,088,640B) 0x53A454: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
| | ->43.35% (671,088,640B) 0x9F6124: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1940)
| | ->43.35% (671,088,640B) 0x9F6124: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1940)
| | ->43.35% (671,088,640B) 0x9F6124: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
| | ->43.35% (671,088,640B) 0x49F7BB4: start_thread (pthread_create.c:444)
| | ->43.35% (671,088,640B) 0x4A79CB3: clone (clone.S:100)
| |
| ->03.26% (50,429,952B) 0x49F86E0: allocate_stack (allocatestack.c:366)
| | ->03.26% (50,429,952B) 0x49F86E0: pthread_create@@GLIBC_2.34 (pthread_create.c:652)
| | ->03.26% (50,429,952B) 0x9F5F9B: std::sys::unix::thread::Thread::new (thread.rs:87)
| | ->02.99% (46,227,456B) 0x53C0E0: spawn_unchecked_<rayon_core::registry::{impl
| | | ->02.99% (46,227,456B) 0x53C0E0: spawn_unchecked<rayon_core::registry::{impl
| | | ->02.99% (46,227,456B) 0x53C0E0: spawn<rayon_core::registry::{impl
| | | ->02.99% (46,227,456B) 0x53C0E0: <rayon_core::registry::DefaultSpawn as rayon_core::registry::ThreadSpawn>::spawn (registry.rs:98)
| | | ->02.99% (46,227,456B) 0x53974E: new<rayon_core::registry::DefaultSpawn> (registry.rs:267)
| | | ->02.99% (46,227,456B) 0x53974E: {closure
| | | ->02.99% (46,227,456B) 0x53974E: {closure
| | | ->02.99% (46,227,456B) 0x53974E: std::sync::once::Once::call_once::{{closure}} (once.rs:276)
| | | ->02.99% (46,227,456B) 0x1FDE2A: std::sync::once::Once::call_inner (once.rs:434)
| | | ->02.99% (46,227,456B) 0x53C373: call_once<rayon_core::registry::set_global_registry::{closure_env
| | | ->02.99% (46,227,456B) 0x53C373: set_global_registry<rayon_core::registry::global_registry::{closure_env
| | | ->02.99% (46,227,456B) 0x53C373: rayon_core::registry::global_registry (registry.rs:167)
| | | ->02.99% (46,227,456B) 0x6D033A: current_num_threads (src/registry.rs:297)
| | | ->02.99% (46,227,456B) 0x6D033A: current_num_threads (src/lib.rs:121)
| | | ->02.99% (46,227,456B) 0x6D033A: new (mod.rs:267)
| | | ->02.99% (46,227,456B) 0x6D033A: new (mod.rs:315)
| | | ->02.99% (46,227,456B) 0x6D033A: bridge_producer_consumer<rayon::slice::IterProducer<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: callback<rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: with_producer<core::result::Result<ignore::walk::DirEntry, ignore::Error>, rayon::iter::plumbing::bridge::Callback<rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: bridge<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: drive_unindexed<core::result::Result<ignore::walk::DirEntry, ignore::Error>, rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: drive_unindexed<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: reduce<rayon::iter::map::Map<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: reduce<rayon::iter::map::Map<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, ruff::commands::run::run::{closure_env
| | | ->02.99% (46,227,456B) 0x6D033A: ruff::commands::run::run (run.rs:78)
| | | ->02.99% (46,227,456B) 0x6EE601: ruff::check (main.rs:261)
| | | ->02.99% (46,227,456B) 0x6E3CE6: ruff::inner_main (main.rs:102)
| | | ->02.99% (46,227,456B) 0x6F0080: ruff::main (main.rs:318)
| | | ->02.99% (46,227,456B) 0x62C4C2: call_once<fn() -> std::process::ExitCode, ()> (function.rs:248)
| | | ->02.99% (46,227,456B) 0x62C4C2: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:122)
| | | ->02.99% (46,227,456B) 0x62C948: std::rt::lang_start::{{closure}} (rt.rs:166)
| | | ->02.99% (46,227,456B) 0x9E4689: call_once<(), (dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (function.rs:283)
| | | ->02.99% (46,227,456B) 0x9E4689: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:492)
| | | ->02.99% (46,227,456B) 0x9E4689: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:456)
| | | ->02.99% (46,227,456B) 0x9E4689: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:137)
| | | ->02.99% (46,227,456B) 0x9E4689: {closure
| | | ->02.99% (46,227,456B) 0x9E4689: do_call<std::rt::lang_start_internal::{closure_env
| | | ->02.99% (46,227,456B) 0x9E4689: try<isize, std::rt::lang_start_internal::{closure_env
| | | ->02.99% (46,227,456B) 0x9E4689: catch_unwind<std::rt::lang_start_internal::{closure_env
| | | ->02.99% (46,227,456B) 0x9E4689: std::rt::lang_start_internal (rt.rs:148)
| | | ->02.99% (46,227,456B) 0x70598E: main (in /home/micha/astral/ruff/target/release/ruff)
| | |
| | ->00.27% (4,202,496B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.03% (528,384B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.33% (20,611,072B) in 5 places, all below massif's threshold (1.00%)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
50 3,298,119,680 1,682,182,144 1,682,182,144 0 0
51 3,298,119,680 1,682,182,144 1,682,182,144 0 0
100.00% (1,682,182,144B) (page allocation syscalls) mmap/mremap/brk, --alloc-fns, etc.
->98.77% (1,661,571,072B) 0x4A72277: __mmap64 (mmap64.c:58)
| ->98.77% (1,661,571,072B) 0x4A72277: mmap (mmap64.c:46)
| ->55.85% (939,524,096B) 0x4A04643: alloc_new_heap (arena.c:518)
| | ->55.85% (939,524,096B) 0x4A04A23: _int_new_arena (arena.c:741)
| | ->55.85% (939,524,096B) 0x4A04A23: arena_get2.part.0 (arena.c:960)
| | ->55.85% (939,524,096B) 0x4A071F8: arena_get2 (arena.c:928)
| | ->55.85% (939,524,096B) 0x4A071F8: tcache_init.part.0 (malloc.c:3220)
| | ->55.85% (939,524,096B) 0x4A07975: tcache_init (malloc.c:3217)
| | ->55.85% (939,524,096B) 0x4A07975: malloc (malloc.c:3282)
| | ->55.85% (939,524,096B) 0x49F8F3A: pthread_getattr_np@@GLIBC_2.32 (pthread_getattr_np.c:180)
| | ->55.85% (939,524,096B) 0x9F6213: std::sys::unix::thread::guard::current (thread.rs:843)
| | ->47.87% (805,306,368B) 0x53A454: {closure
| | | ->47.87% (805,306,368B) 0x53A454: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
| | | ->47.87% (805,306,368B) 0x9F6124: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1940)
| | | ->47.87% (805,306,368B) 0x9F6124: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1940)
| | | ->47.87% (805,306,368B) 0x9F6124: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
| | | ->47.87% (805,306,368B) 0x49F7BB4: start_thread (pthread_create.c:444)
| | | ->47.87% (805,306,368B) 0x4A79CB3: clone (clone.S:100)
| | |
| | ->07.98% (134,217,728B) 0x335684: {closure
| | ->07.98% (134,217,728B) 0x335684: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
| | ->07.98% (134,217,728B) 0x9F6124: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1940)
| | ->07.98% (134,217,728B) 0x9F6124: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1940)
| | ->07.98% (134,217,728B) 0x9F6124: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
| | ->07.98% (134,217,728B) 0x49F7BB4: start_thread (pthread_create.c:444)
| | ->07.98% (134,217,728B) 0x4A79CB3: clone (clone.S:100)
| |
| ->39.89% (671,088,640B) 0x4A045B0: alloc_new_heap (arena.c:508)
| | ->39.89% (671,088,640B) 0x4A04A23: _int_new_arena (arena.c:741)
| | ->39.89% (671,088,640B) 0x4A04A23: arena_get2.part.0 (arena.c:960)
| | ->39.89% (671,088,640B) 0x4A071F8: arena_get2 (arena.c:928)
| | ->39.89% (671,088,640B) 0x4A071F8: tcache_init.part.0 (malloc.c:3220)
| | ->39.89% (671,088,640B) 0x4A07975: tcache_init (malloc.c:3217)
| | ->39.89% (671,088,640B) 0x4A07975: malloc (malloc.c:3282)
| | ->39.89% (671,088,640B) 0x49F8F3A: pthread_getattr_np@@GLIBC_2.32 (pthread_getattr_np.c:180)
| | ->39.89% (671,088,640B) 0x9F6213: std::sys::unix::thread::guard::current (thread.rs:843)
| | ->39.89% (671,088,640B) 0x53A454: {closure
| | ->39.89% (671,088,640B) 0x53A454: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
| | ->39.89% (671,088,640B) 0x9F6124: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1940)
| | ->39.89% (671,088,640B) 0x9F6124: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1940)
| | ->39.89% (671,088,640B) 0x9F6124: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
| | ->39.89% (671,088,640B) 0x49F7BB4: start_thread (pthread_create.c:444)
| | ->39.89% (671,088,640B) 0x4A79CB3: clone (clone.S:100)
| |
| ->03.00% (50,429,952B) 0x49F86E0: allocate_stack (allocatestack.c:366)
| | ->03.00% (50,429,952B) 0x49F86E0: pthread_create@@GLIBC_2.34 (pthread_create.c:652)
| | ->03.00% (50,429,952B) 0x9F5F9B: std::sys::unix::thread::Thread::new (thread.rs:87)
| | ->02.75% (46,227,456B) 0x53C0E0: spawn_unchecked_<rayon_core::registry::{impl
| | | ->02.75% (46,227,456B) 0x53C0E0: spawn_unchecked<rayon_core::registry::{impl
| | | ->02.75% (46,227,456B) 0x53C0E0: spawn<rayon_core::registry::{impl
| | | ->02.75% (46,227,456B) 0x53C0E0: <rayon_core::registry::DefaultSpawn as rayon_core::registry::ThreadSpawn>::spawn (registry.rs:98)
| | | ->02.75% (46,227,456B) 0x53974E: new<rayon_core::registry::DefaultSpawn> (registry.rs:267)
| | | ->02.75% (46,227,456B) 0x53974E: {closure
| | | ->02.75% (46,227,456B) 0x53974E: {closure
| | | ->02.75% (46,227,456B) 0x53974E: std::sync::once::Once::call_once::{{closure}} (once.rs:276)
| | | ->02.75% (46,227,456B) 0x1FDE2A: std::sync::once::Once::call_inner (once.rs:434)
| | | ->02.75% (46,227,456B) 0x53C373: call_once<rayon_core::registry::set_global_registry::{closure_env
| | | ->02.75% (46,227,456B) 0x53C373: set_global_registry<rayon_core::registry::global_registry::{closure_env
| | | ->02.75% (46,227,456B) 0x53C373: rayon_core::registry::global_registry (registry.rs:167)
| | | ->02.75% (46,227,456B) 0x6D033A: current_num_threads (src/registry.rs:297)
| | | ->02.75% (46,227,456B) 0x6D033A: current_num_threads (src/lib.rs:121)
| | | ->02.75% (46,227,456B) 0x6D033A: new (mod.rs:267)
| | | ->02.75% (46,227,456B) 0x6D033A: new (mod.rs:315)
| | | ->02.75% (46,227,456B) 0x6D033A: bridge_producer_consumer<rayon::slice::IterProducer<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.75% (46,227,456B) 0x6D033A: callback<rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.75% (46,227,456B) 0x6D033A: with_producer<core::result::Result<ignore::walk::DirEntry, ignore::Error>, rayon::iter::plumbing::bridge::Callback<rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.75% (46,227,456B) 0x6D033A: bridge<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.75% (46,227,456B) 0x6D033A: drive_unindexed<core::result::Result<ignore::walk::DirEntry, ignore::Error>, rayon::iter::map::MapConsumer<rayon::iter::reduce::ReduceConsumer<ruff::commands::run::run::{closure_env
| | | ->02.75% (46,227,456B) 0x6D033A: drive_unindexed<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, ruff::commands::run::run::{closure_env
| | | ->02.75% (46,227,456B) 0x6D033A: reduce<rayon::iter::map::Map<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, ruff::commands::run::run::{closure_env
| | | ->02.75% (46,227,456B) 0x6D033A: reduce<rayon::iter::map::Map<rayon::slice::Iter<core::result::Result<ignore::walk::DirEntry, ignore::Error>>, ruff::commands::run::run::{closure_env
| | | ->02.75% (46,227,456B) 0x6D033A: ruff::commands::run::run (run.rs:78)
| | | ->02.75% (46,227,456B) 0x6EE601: ruff::check (main.rs:261)
| | | ->02.75% (46,227,456B) 0x6E3CE6: ruff::inner_main (main.rs:102)
| | | ->02.75% (46,227,456B) 0x6F0080: ruff::main (main.rs:318)
| | | ->02.75% (46,227,456B) 0x62C4C2: call_once<fn() -> std::process::ExitCode, ()> (function.rs:248)
| | | ->02.75% (46,227,456B) 0x62C4C2: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:122)
| | | ->02.75% (46,227,456B) 0x62C948: std::rt::lang_start::{{closure}} (rt.rs:166)
| | | ->02.75% (46,227,456B) 0x9E4689: call_once<(), (dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (function.rs:283)
| | | ->02.75% (46,227,456B) 0x9E4689: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:492)
| | | ->02.75% (46,227,456B) 0x9E4689: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:456)
| | | ->02.75% (46,227,456B) 0x9E4689: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:137)
| | | ->02.75% (46,227,456B) 0x9E4689: {closure
| | | ->02.75% (46,227,456B) 0x9E4689: do_call<std::rt::lang_start_internal::{closure_env
| | | ->02.75% (46,227,456B) 0x9E4689: try<isize, std::rt::lang_start_internal::{closure_env
| | | ->02.75% (46,227,456B) 0x9E4689: catch_unwind<std::rt::lang_start_internal::{closure_env
| | | ->02.75% (46,227,456B) 0x9E4689: std::rt::lang_start_internal (rt.rs:148)
| | | ->02.75% (46,227,456B) 0x70598E: main (in /home/micha/astral/ruff/target/release/ruff)
| | |
| | ->00.25% (4,202,496B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.03% (528,384B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.23% (20,611,072B) in 5 places, all below massif's threshold (1.00%)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
52 3,298,123,776 1,682,178,048 1,682,178,048 0 0
53 3,365,240,832 1,615,085,568 1,615,085,568 0 0
54 3,432,349,696 1,682,194,432 1,682,194,432 0 0
55 3,436,023,808 1,685,868,544 1,685,868,544 0 0
56 3,436,027,904 1,685,864,448 1,685,864,448 0 0
57 3,443,470,336 1,685,966,848 1,685,966,848 0 0
58 3,443,474,432 1,685,962,752 1,685,962,752 0 0
59 3,443,707,904 1,685,729,280 1,685,729,280 0 0
60 3,447,480,320 1,681,956,864 1,681,956,864 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment