bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
36.08k stars 3.56k forks source link

MacOS m1 excessive memory usage in pass nodes #3612

Closed Matt-Is-Confused closed 8 months ago

Matt-Is-Confused commented 2 years ago

Bevy version

Bevy 0.6

Operating system & version

MacOS Monterey 12.1

What you did

Profile release and debug of the code from the 3D scene example (this one). The tool I used was the Instruments allocation profiler.

What you expected to happen

My assumption is that a basic example would not use that much memory.

What actually happened

The pass node stack trace show excessive memory usage of about 500mb. In my testing it seems that in release the problem is exaggerated a few times over in to the range of GB.

Just in case I ran it without the profiler and it still uses about 700mb debug and 5gb release according to activity monitor

I am not sure if this a bevy problem or a wgpu problem.

Additional information

AdapterInfo { 
    name: "Apple M1", 
    vendor: 0, 
    device: 0, 
    device_type: DiscreteGpu, 
    backend: Metal 
}

Release mode stack trace

45 dyld 5348.79 MB     start
44 harvest 5348.77 MB     main
43 harvest 5348.77 MB     std::rt::lang_start_internal::h6c393cd29ebc4567
42 harvest 5092.77 MB     std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hc9c10441bc82feed
41 harvest 5092.77 MB     std::sys_common::backtrace::__rust_begin_short_backtrace::hb5b7ee59e0913e67
40 harvest 5092.77 MB     harvest::main::h97b40a8b42c5f08c
39 harvest 5067.62 MB     core::ops::function::Fn::call::h815a336a47b302f0
38 harvest 5067.62 MB     bevy_winit::winit_runner_with::h73af198b01fc4f4a
37 harvest 5067.62 MB     bevy_winit::run::h6085836a8281b777
36 harvest 5067.62 MB     winit::event_loop::EventLoop$LT$T$GT$::run::h06cab76ef70228f3
35 harvest 5067.62 MB     winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::hd76f39bf8757ff5f
34 harvest 5067.62 MB     winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::haf137edac42d2344
33 AppKit 5067.62 MB     -[NSApplication run]
32 AppKit 5067.51 MB     -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
31 AppKit 5067.47 MB     _DPSNextEvent
30 HIToolbox 5067.30 MB     _BlockUntilNextEventMatchingListInModeWithFilter
29 HIToolbox 5067.30 MB     ReceiveNextEventCommon
28 HIToolbox 5066.43 MB     RunCurrentEventLoopInMode
27 CoreFoundation 5066.41 MB     CFRunLoopRunSpecific
26 CoreFoundation 5064.51 MB     __CFRunLoopRun
25 CoreFoundation 5063.64 MB     __CFRunLoopDoObservers
24 CoreFoundation 5063.64 MB     __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
23 harvest 5061.37 MB     winit::platform_impl::platform::observer::control_flow_end_handler::h391aaeecddcc5684
22 harvest 5061.37 MB     winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::h3dba3c7e3473f7cf
21 harvest 5061.37 MB     _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::h90aeb0ee5fd18e40
# Screen cap starts here
20 harvest 5061.37 MB     bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h9cadd5ef17bb8d7d
19 harvest 5061.37 MB     _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::hd02ce17e2ede6b0e
18 harvest 5061.37 MB     _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h0210a5f0622b6ead
17 harvest 4838.69 MB     _$LT$bevy_ecs..system..exclusive_system..ExclusiveSystemFn$LT$F$GT$$u20$as$u20$bevy_ecs..system..exclusive_system..ExclusiveSystem$GT$::run::h5155f78136de784e
16 harvest 4838.69 MB     bevy_render::renderer::render_system::hb6eb441a21a49a83
15 harvest 4766.16 MB     bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hfb323122f4f46ee7
14 harvest 4766.16 MB     bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hfb323122f4f46ee7
13 harvest 2671.17 MB     _$LT$bevy_pbr..render..light..ShadowPassNode$u20$as$u20$bevy_render..render_graph..node..Node$GT$::run::h0fa1cfb3bf26c36d
12 harvest 2671.17 MB     _$LT$wgpu..RenderPass$u20$as$u20$core..ops..drop..Drop$GT$::drop::he69d4d8c85ced677
11 harvest 2671.17 MB     wgpu_core::command::render::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::command_encoder_run_render_pass_impl::h003a6d87bcccea8a
10 harvest 2520.55 MB     wgpu_hal::metal::command::_$LT$impl$u20$wgpu_hal..CommandEncoder$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..CommandEncoder$GT$::begin_render_pass::h9e632a153d7a9fd7
 9 AGXMetal13_3 2520.55 MB     0x1f97fd3c0
 8 AGXMetal13_3 2520.55 MB     0x1f98bd0d4
 7 AGXMetal13_3 2519.86 MB     0x1f98a9eb8
 6 AGXMetal13_3 1554.41 MB     0x1f97f0520
 5 AGXMetal13_3 1554.41 MB     0x1f981a19c
 4 IOGPU 1554.41 MB     IOGPUMetalCommandBufferStorageAllocResourceAtIndex
 3 IOGPU 1554.41 MB     IOGPUMetalResourcePoolCreatePooledResource 
 2 IOGPU 1549.88 MB     -[IOGPUMetalResource initWithDevice:remoteStorageResource:options:args:argsSize:]
 1 IOGPU 1549.88 MB     IOGPUResourceCreate
 0 CoreFoundation    1.73 MB     _CFRuntimeCreateInstance

Screen cap of pass node calls

Screen Shot 2022-01-09 at 12 27 04 PM

I can provide / gather any other data needed

alice-i-cecile commented 2 years ago

Could you quickly check other examples of ours, and also a few wgpu examples? This is definitely an issue, and that will help us narrow down what's causing it.

Matt-Is-Confused commented 2 years ago

I forgot to check wgpu for an issue that matches this problem. This Issue exists but it looks to be a frame timing bug. Could be related.

I have collected some release mode data, each is the most memory expensive call stack.

Edit: Tried to make it more presentable

many_sprites

Windowed ``` 51 dyld 98.02 MB start 50 many_sprites 98.00 MB main 49 many_sprites 98.00 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 many_sprites 98.00 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h28b65485fd976769 47 many_sprites 98.00 MB std::sys_common::backtrace::__rust_begin_short_backtrace::ha9268f472063c4b8 46 many_sprites 98.00 MB many_sprites::main::h908c445c455fbc61 45 many_sprites 88.68 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 many_sprites 88.68 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 many_sprites 88.68 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 many_sprites 88.68 MB bevy_winit::run::hf150c86c98a59003 41 many_sprites 88.68 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 many_sprites 88.68 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 many_sprites 88.68 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 many_sprites 58.45 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 58.44 MB -[NSApplication run] 36 AppKit 58.35 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 58.33 MB _DPSNextEvent 34 HIToolbox 58.16 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 58.16 MB ReceiveNextEventCommon 32 HIToolbox 55.38 MB RunCurrentEventLoopInMode 31 CoreFoundation 55.35 MB CFRunLoopRunSpecific 30 CoreFoundation 55.34 MB __CFRunLoopRun 29 CoreFoundation 47.15 MB __CFRunLoopDoObservers 28 CoreFoundation 47.15 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 many_sprites 45.13 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 many_sprites 45.13 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 many_sprites 45.13 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 many_sprites 45.13 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 many_sprites 45.13 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 many_sprites 45.13 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 many_sprites 45.13 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 many_sprites 45.13 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 many_sprites 45.04 MB _$LT$bevy_ecs..schedule..executor_parallel..ParallelExecutor$u20$as$u20$bevy_ecs..schedule..executor..ParallelSystemExecutor$GT$::run_systems::hdb8f9829088ade03 18 many_sprites 42.99 MB bevy_tasks::task_pool::TaskPool::scope::h01b074f1dcc0f97e 17 many_sprites 42.96 MB async_executor::LocalExecutor::try_tick::hef7e282aafe1ffad 16 many_sprites 42.96 MB async_task::raw::RawTask$LT$F$C$T$C$S$GT$::run::hbea34c143d6ae1ff 15 many_sprites 42.96 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h874b7b32d3adb1f8 14 many_sprites 42.96 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h323c817e8eb10b9b 13 many_sprites 42.96 MB _$LT$bevy_ecs..system..function_system..FunctionSystem$LT$In$C$Out$C$Param$C$Marker$C$F$GT$$u20$as$u20$bevy_ecs..system..system..System$GT$::run_unsafe::h26cfae304fd0fdef 12 many_sprites 42.96 MB bevy_render::view::window::prepare_windows::h79d415d0fe78f2fb 11 many_sprites 42.96 MB wgpu::Surface::get_current_texture::h7d2305d5fe93b110 10 many_sprites 42.96 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::surface_get_current_texture::hc79bec403d1965de 9 many_sprites 42.96 MB wgpu_core::present::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::surface_get_current_texture::hca085719085dc4ee 8 many_sprites 42.95 MB wgpu_hal::metal::surface::_$LT$impl$u20$wgpu_hal..Surface$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..Surface$GT$::acquire_texture::h4ba73ab7240e36a7 7 many_sprites 42.95 MB objc::rc::autorelease::autoreleasepool::habc2ed7703aed086 6 QuartzCore 42.95 MB -[CAMetalLayer nextDrawable] 5 QuartzCore 42.95 MB get_unused_drawable(_CAMetalLayerPrivate*, bool, bool) 4 QuartzCore 42.94 MB CA::Render::create_iosurface_with_pixel_format(unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, __CFString const*) 3 QuartzCore 42.94 MB CA::SurfaceUtil::CAIOSurfaceCreate(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, CA::SurfaceUtil::SurfaceAlignment, __CFString const*) 2 IOSurface 42.94 MB -[IOSurface initWithProperties:] 1 IOSurface 42.94 MB IOSurfaceClientCreateChild 0 IOSurface 960 Bytes _ioSurfaceClientCreateWithLockResult ```
Borderless ``` 51 dyld 242.45 MB start 50 many_sprites 242.43 MB main 49 many_sprites 242.43 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 many_sprites 242.42 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h28b65485fd976769 47 many_sprites 242.42 MB std::sys_common::backtrace::__rust_begin_short_backtrace::ha9268f472063c4b8 46 many_sprites 242.42 MB many_sprites::main::h908c445c455fbc61 45 many_sprites 214.92 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 many_sprites 214.92 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 many_sprites 214.92 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 many_sprites 214.92 MB bevy_winit::run::hf150c86c98a59003 41 many_sprites 214.92 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 many_sprites 214.92 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 many_sprites 214.92 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 many_sprites 214.92 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 214.92 MB -[NSApplication run] 36 AppKit 214.82 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 214.78 MB _DPSNextEvent 34 HIToolbox 214.61 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 214.61 MB ReceiveNextEventCommon 32 HIToolbox 213.73 MB RunCurrentEventLoopInMode 31 CoreFoundation 213.70 MB CFRunLoopRunSpecific 30 CoreFoundation 211.83 MB __CFRunLoopRun 29 CoreFoundation 202.91 MB __CFRunLoopDoObservers 28 CoreFoundation 202.91 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 many_sprites 200.56 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 many_sprites 200.56 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 many_sprites 200.56 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 many_sprites 200.56 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 many_sprites 200.56 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 many_sprites 200.56 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 many_sprites 173.86 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 many_sprites 149.77 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 many_sprites 119.32 MB _$LT$bevy_ecs..schedule..executor_parallel..ParallelExecutor$u20$as$u20$bevy_ecs..schedule..executor..ParallelSystemExecutor$GT$::run_systems::hdb8f9829088ade03 18 many_sprites 102.94 MB bevy_tasks::task_pool::TaskPool::scope::h01b074f1dcc0f97e 17 many_sprites 82.75 MB async_executor::LocalExecutor::try_tick::hef7e282aafe1ffad 16 many_sprites 82.75 MB async_task::raw::RawTask$LT$F$C$T$C$S$GT$::run::hbea34c143d6ae1ff 15 many_sprites 82.75 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h874b7b32d3adb1f8 14 many_sprites 82.75 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h323c817e8eb10b9b 13 many_sprites 82.75 MB _$LT$bevy_ecs..system..function_system..FunctionSystem$LT$In$C$Out$C$Param$C$Marker$C$F$GT$$u20$as$u20$bevy_ecs..system..system..System$GT$::run_unsafe::h26cfae304fd0fdef 12 many_sprites 82.75 MB bevy_render::view::window::prepare_windows::h79d415d0fe78f2fb 11 many_sprites 82.75 MB wgpu::Surface::get_current_texture::h7d2305d5fe93b110 10 many_sprites 82.75 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::surface_get_current_texture::hc79bec403d1965de 9 many_sprites 82.75 MB wgpu_core::present::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::surface_get_current_texture::hca085719085dc4ee 8 many_sprites 82.75 MB wgpu_hal::metal::surface::_$LT$impl$u20$wgpu_hal..Surface$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..Surface$GT$::acquire_texture::h4ba73ab7240e36a7 7 many_sprites 82.75 MB objc::rc::autorelease::autoreleasepool::habc2ed7703aed086 6 QuartzCore 82.75 MB -[CAMetalLayer nextDrawable] 5 QuartzCore 82.75 MB get_unused_drawable(_CAMetalLayerPrivate*, bool, bool) 4 QuartzCore 82.74 MB CA::Render::create_iosurface_with_pixel_format(unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, __CFString const*) 3 QuartzCore 82.74 MB CA::SurfaceUtil::CAIOSurfaceCreate(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, CA::SurfaceUtil::SurfaceAlignment, __CFString const*) 2 IOSurface 82.74 MB -[IOSurface initWithProperties:] 1 IOSurface 82.74 MB IOSurfaceClientCreateChild 0 IOSurface 960 Bytes _ioSurfaceClientCreateWithLockResult ```

sprite_sheet

Windowed ``` 51 dyld 140.42 MB start 50 sprite_sheet 140.39 MB main 49 sprite_sheet 140.39 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 sprite_sheet 140.39 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h1d0002f3661460e5 47 sprite_sheet 140.39 MB std::sys_common::backtrace::__rust_begin_short_backtrace::h0018e46f4e01b054 46 sprite_sheet 140.39 MB sprite_sheet::main::hb2fa82af31f6933b 45 sprite_sheet 128.60 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 sprite_sheet 128.60 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 sprite_sheet 128.60 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 sprite_sheet 128.60 MB bevy_winit::run::hf150c86c98a59003 41 sprite_sheet 128.60 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 sprite_sheet 128.60 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 sprite_sheet 128.60 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 sprite_sheet 100.38 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 100.37 MB -[NSApplication run] 36 AppKit 100.28 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 100.27 MB _DPSNextEvent 34 HIToolbox 100.09 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 100.09 MB ReceiveNextEventCommon 32 HIToolbox 97.26 MB RunCurrentEventLoopInMode 31 CoreFoundation 97.23 MB CFRunLoopRunSpecific 30 CoreFoundation 97.20 MB __CFRunLoopRun 29 CoreFoundation 89.01 MB __CFRunLoopDoObservers 28 CoreFoundation 89.01 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 sprite_sheet 86.97 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 sprite_sheet 86.97 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 sprite_sheet 86.97 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 sprite_sheet 86.97 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 sprite_sheet 86.97 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 sprite_sheet 86.97 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 sprite_sheet 86.97 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 sprite_sheet 86.96 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 sprite_sheet 45.04 MB _$LT$bevy_ecs..schedule..executor_parallel..ParallelExecutor$u20$as$u20$bevy_ecs..schedule..executor..ParallelSystemExecutor$GT$::run_systems::hdb8f9829088ade03 18 sprite_sheet 42.99 MB bevy_tasks::task_pool::TaskPool::scope::h01b074f1dcc0f97e 17 sprite_sheet 42.95 MB async_executor::LocalExecutor::try_tick::hef7e282aafe1ffad 16 sprite_sheet 42.95 MB async_task::raw::RawTask$LT$F$C$T$C$S$GT$::run::hbea34c143d6ae1ff 15 sprite_sheet 42.95 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h874b7b32d3adb1f8 14 sprite_sheet 42.95 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h323c817e8eb10b9b 13 sprite_sheet 42.95 MB _$LT$bevy_ecs..system..function_system..FunctionSystem$LT$In$C$Out$C$Param$C$Marker$C$F$GT$$u20$as$u20$bevy_ecs..system..system..System$GT$::run_unsafe::h26cfae304fd0fdef 12 sprite_sheet 42.95 MB bevy_render::view::window::prepare_windows::h79d415d0fe78f2fb 11 sprite_sheet 42.95 MB wgpu::Surface::get_current_texture::h7d2305d5fe93b110 10 sprite_sheet 42.95 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::surface_get_current_texture::hc79bec403d1965de 9 sprite_sheet 42.95 MB wgpu_core::present::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::surface_get_current_texture::hca085719085dc4ee 8 sprite_sheet 42.95 MB wgpu_hal::metal::surface::_$LT$impl$u20$wgpu_hal..Surface$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..Surface$GT$::acquire_texture::h4ba73ab7240e36a7 7 sprite_sheet 42.95 MB objc::rc::autorelease::autoreleasepool::habc2ed7703aed086 6 QuartzCore 42.95 MB -[CAMetalLayer nextDrawable] 5 QuartzCore 42.95 MB get_unused_drawable(_CAMetalLayerPrivate*, bool, bool) 4 QuartzCore 42.94 MB CA::Render::create_iosurface_with_pixel_format(unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, __CFString const*) 3 QuartzCore 42.94 MB CA::SurfaceUtil::CAIOSurfaceCreate(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, CA::SurfaceUtil::SurfaceAlignment, __CFString const*) 2 IOSurface 42.94 MB -[IOSurface initWithProperties:] 1 IOSurface 42.94 MB IOSurfaceClientCreateChild 0 IOSurface 960 Bytes _ioSurfaceClientCreateWithLockResult ```
Borderless ``` 51 dyld 1116.91 MB start 50 sprite_sheet 1116.89 MB main 49 sprite_sheet 1116.89 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 sprite_sheet 1116.89 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h1d0002f3661460e5 47 sprite_sheet 1116.89 MB std::sys_common::backtrace::__rust_begin_short_backtrace::h0018e46f4e01b054 46 sprite_sheet 1116.89 MB sprite_sheet::main::hb2fa82af31f6933b 45 sprite_sheet 1089.41 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 sprite_sheet 1089.41 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 sprite_sheet 1089.41 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 sprite_sheet 1089.41 MB bevy_winit::run::hf150c86c98a59003 41 sprite_sheet 1089.41 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 sprite_sheet 1089.41 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 sprite_sheet 1089.41 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 sprite_sheet 1089.41 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 1089.41 MB -[NSApplication run] 36 AppKit 1089.33 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 1089.29 MB _DPSNextEvent 34 HIToolbox 1089.12 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 1089.12 MB ReceiveNextEventCommon 32 HIToolbox 1087.98 MB RunCurrentEventLoopInMode 31 CoreFoundation 1087.95 MB CFRunLoopRunSpecific 30 CoreFoundation 1086.07 MB __CFRunLoopRun 29 CoreFoundation 1077.06 MB __CFRunLoopDoObservers 28 CoreFoundation 1077.06 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 sprite_sheet 1074.84 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 sprite_sheet 1074.84 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 sprite_sheet 1074.84 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 sprite_sheet 1074.84 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 sprite_sheet 1074.84 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 sprite_sheet 1074.84 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 sprite_sheet 1074.58 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 sprite_sheet 1074.51 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 sprite_sheet 906.65 MB _$LT$bevy_ecs..system..exclusive_system..ExclusiveSystemFn$LT$F$GT$$u20$as$u20$bevy_ecs..system..exclusive_system..ExclusiveSystem$GT$::run::h8955eedd991913f8 18 sprite_sheet 906.65 MB bevy_render::renderer::render_system::hff985cdaf02c431b 17 sprite_sheet 881.13 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 16 sprite_sheet 881.13 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 15 sprite_sheet 461.48 MB _$LT$bevy_core_pipeline..main_pass_2d..MainPass2dNode$u20$as$u20$bevy_render..render_graph..node..Node$GT$::run::h57e969453e9da19f 14 sprite_sheet 461.48 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::command_encoder_end_render_pass::h3bc00982e85c4a0b 13 sprite_sheet 461.48 MB wgpu_core::command::render::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::command_encoder_run_render_pass_impl::hc62768e56991b944 12 sprite_sheet 447.59 MB wgpu_core::command::render::RenderPassInfo$LT$A$GT$::start::h28ad4f8f462bcdb9 11 sprite_sheet 447.59 MB wgpu_hal::metal::command::_$LT$impl$u20$wgpu_hal..CommandEncoder$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..CommandEncoder$GT$::begin_render_pass::h535b7b223057cddf 10 sprite_sheet 447.59 MB objc::rc::autorelease::autoreleasepool::ha391b987b0f834a8 9 AGXMetal13_3 447.59 MB 0x1f97fd3c0 8 AGXMetal13_3 447.59 MB 0x1f98bd0d4 7 AGXMetal13_3 447.47 MB 0x1f98a9eb8 6 AGXMetal13_3 277.21 MB 0x1f97f0520 5 AGXMetal13_3 277.21 MB 0x1f981a19c 4 IOGPU 277.21 MB IOGPUMetalCommandBufferStorageAllocResourceAtIndex 3 IOGPU 277.21 MB IOGPUMetalResourcePoolCreatePooledResource 2 IOGPU 276.45 MB -[IOGPUMetalResource initWithDevice:remoteStorageResource:options:args:argsSize:] 1 IOGPU 276.45 MB IOGPUResourceCreate 0 CoreFoundation 298.62 KB _CFRuntimeCreateInstance ```

3d_scene

Windowed ``` 51 dyld 98.53 MB start 50 3d_scene 98.51 MB main 49 3d_scene 98.51 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 3d_scene 98.51 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h05f39351835eaa22 47 3d_scene 98.51 MB std::sys_common::backtrace::__rust_begin_short_backtrace::hbc8f92d69ce6af38 46 3d_scene 98.51 MB _3d_scene::main::habadfc5ee6dcbefe 45 3d_scene 89.20 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 3d_scene 89.20 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 3d_scene 89.20 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 3d_scene 89.20 MB bevy_winit::run::hf150c86c98a59003 41 3d_scene 89.20 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 3d_scene 89.20 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 3d_scene 89.20 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 3d_scene 58.96 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 58.96 MB -[NSApplication run] 36 AppKit 58.86 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 58.85 MB _DPSNextEvent 34 HIToolbox 58.67 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 58.67 MB ReceiveNextEventCommon 32 HIToolbox 55.64 MB RunCurrentEventLoopInMode 31 CoreFoundation 55.61 MB CFRunLoopRunSpecific 30 CoreFoundation 55.59 MB __CFRunLoopRun 29 CoreFoundation 47.19 MB __CFRunLoopDoObservers 28 CoreFoundation 47.19 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 3d_scene 45.16 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 3d_scene 45.16 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 3d_scene 45.16 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 3d_scene 45.16 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 3d_scene 45.16 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 3d_scene 45.16 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 3d_scene 45.16 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 3d_scene 45.15 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 3d_scene 45.03 MB _$LT$bevy_ecs..schedule..executor_parallel..ParallelExecutor$u20$as$u20$bevy_ecs..schedule..executor..ParallelSystemExecutor$GT$::run_systems::hdb8f9829088ade03 18 3d_scene 42.99 MB bevy_tasks::task_pool::TaskPool::scope::h01b074f1dcc0f97e 17 3d_scene 42.95 MB async_executor::LocalExecutor::try_tick::hef7e282aafe1ffad 16 3d_scene 42.95 MB async_task::raw::RawTask$LT$F$C$T$C$S$GT$::run::hbea34c143d6ae1ff 15 3d_scene 42.95 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h874b7b32d3adb1f8 14 3d_scene 42.95 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h323c817e8eb10b9b 13 3d_scene 42.95 MB _$LT$bevy_ecs..system..function_system..FunctionSystem$LT$In$C$Out$C$Param$C$Marker$C$F$GT$$u20$as$u20$bevy_ecs..system..system..System$GT$::run_unsafe::h26cfae304fd0fdef 12 3d_scene 42.95 MB bevy_render::view::window::prepare_windows::h79d415d0fe78f2fb 11 3d_scene 42.95 MB wgpu::Surface::get_current_texture::h7d2305d5fe93b110 10 3d_scene 42.95 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::surface_get_current_texture::hc79bec403d1965de 9 3d_scene 42.95 MB wgpu_core::present::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::surface_get_current_texture::hca085719085dc4ee 8 3d_scene 42.95 MB wgpu_hal::metal::surface::_$LT$impl$u20$wgpu_hal..Surface$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..Surface$GT$::acquire_texture::h4ba73ab7240e36a7 7 3d_scene 42.95 MB objc::rc::autorelease::autoreleasepool::habc2ed7703aed086 6 QuartzCore 42.95 MB -[CAMetalLayer nextDrawable] 5 QuartzCore 42.95 MB get_unused_drawable(_CAMetalLayerPrivate*, bool, bool) 4 QuartzCore 42.94 MB CA::Render::create_iosurface_with_pixel_format(unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, __CFString const*) 3 QuartzCore 42.94 MB CA::SurfaceUtil::CAIOSurfaceCreate(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, CA::SurfaceUtil::SurfaceAlignment, __CFString const*) 2 IOSurface 42.94 MB -[IOSurface initWithProperties:] 1 IOSurface 42.94 MB IOSurfaceClientCreateChild 0 IOSurface 960 Bytes _ioSurfaceClientCreateWithLockResult ```
BorderlessFullscreen ``` 51 dyld 1315.13 MB start 50 3d_scene 1315.11 MB main 49 3d_scene 1315.11 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 3d_scene 1315.11 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h05f39351835eaa22 47 3d_scene 1315.11 MB std::sys_common::backtrace::__rust_begin_short_backtrace::hbc8f92d69ce6af38 46 3d_scene 1315.11 MB _3d_scene::main::habadfc5ee6dcbefe 45 3d_scene 1287.66 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 3d_scene 1287.65 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 3d_scene 1287.65 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 3d_scene 1287.65 MB bevy_winit::run::hf150c86c98a59003 41 3d_scene 1287.65 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 3d_scene 1287.65 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 3d_scene 1287.65 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 3d_scene 1287.65 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 1287.65 MB -[NSApplication run] 36 AppKit 1287.55 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 1287.51 MB _DPSNextEvent 34 HIToolbox 1287.34 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 1287.34 MB ReceiveNextEventCommon 32 HIToolbox 1286.21 MB RunCurrentEventLoopInMode 31 CoreFoundation 1286.18 MB CFRunLoopRunSpecific 30 CoreFoundation 1284.31 MB __CFRunLoopRun 29 CoreFoundation 1275.25 MB __CFRunLoopDoObservers 28 CoreFoundation 1275.25 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 3d_scene 1272.87 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 3d_scene 1272.87 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 3d_scene 1272.87 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 3d_scene 1272.87 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 3d_scene 1272.87 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 3d_scene 1272.87 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 3d_scene 1272.73 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 3d_scene 1272.63 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 3d_scene 1140.42 MB _$LT$bevy_ecs..system..exclusive_system..ExclusiveSystemFn$LT$F$GT$$u20$as$u20$bevy_ecs..system..exclusive_system..ExclusiveSystem$GT$::run::h8955eedd991913f8 18 3d_scene 1140.42 MB bevy_render::renderer::render_system::hff985cdaf02c431b 17 3d_scene 1111.31 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 16 3d_scene 1111.31 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 15 3d_scene 529.94 MB _$LT$bevy_pbr..render..light..ShadowPassNode$u20$as$u20$bevy_render..render_graph..node..Node$GT$::run::h4cf4e7fb010a1ea9 14 3d_scene 529.94 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::command_encoder_end_render_pass::h3bc00982e85c4a0b 13 3d_scene 529.94 MB wgpu_core::command::render::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::command_encoder_run_render_pass_impl::hc62768e56991b944 12 3d_scene 502.08 MB wgpu_core::command::render::RenderPassInfo$LT$A$GT$::start::h28ad4f8f462bcdb9 11 3d_scene 502.08 MB wgpu_hal::metal::command::_$LT$impl$u20$wgpu_hal..CommandEncoder$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..CommandEncoder$GT$::begin_render_pass::h535b7b223057cddf 10 3d_scene 502.08 MB objc::rc::autorelease::autoreleasepool::ha391b987b0f834a8 9 AGXMetal13_3 502.08 MB 0x1f97fd3c0 8 AGXMetal13_3 502.08 MB 0x1f98bd0d4 7 AGXMetal13_3 501.40 MB 0x1f98a9eb8 6 AGXMetal13_3 311.87 MB 0x1f97f0520 5 AGXMetal13_3 311.87 MB 0x1f981a19c 4 IOGPU 311.87 MB IOGPUMetalCommandBufferStorageAllocResourceAtIndex 3 IOGPU 311.87 MB IOGPUMetalResourcePoolCreatePooledResource 2 IOGPU 310.99 MB -[IOGPUMetalResource initWithDevice:remoteStorageResource:options:args:argsSize:] 1 IOGPU 310.99 MB IOGPUResourceCreate 0 CoreFoundation 343.62 KB _CFRuntimeCreateInstance ```

wgpu-master

cube ``` 35 dyld 39.33 MB start 34 cube 39.31 MB main 33 cube 39.31 MB std::rt::lang_start_internal::h6c393cd29ebc4567 32 cube 39.31 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h8256ee192f05627b 31 cube 39.31 MB std::sys_common::backtrace::__rust_begin_short_backtrace::h8aae288dc3400c07 30 cube 39.31 MB cube::framework::run::h52bcedebdd185b00 29 cube 36.53 MB winit::event_loop::EventLoop$LT$T$GT$::run::h69e9a801250cc8c4 28 cube 36.53 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::hc5e125efb5548e48 27 cube 36.53 MB objc::rc::autorelease::autoreleasepool::hf1d8c05882e680e7 26 AppKit 36.53 MB -[NSApplication run] 25 AppKit 36.44 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 24 AppKit 36.43 MB _DPSNextEvent 23 HIToolbox 36.26 MB _BlockUntilNextEventMatchingListInModeWithFilter 22 HIToolbox 36.26 MB ReceiveNextEventCommon 21 HIToolbox 33.27 MB RunCurrentEventLoopInMode 20 CoreFoundation 33.25 MB CFRunLoopRunSpecific 19 CoreFoundation 33.23 MB __CFRunLoopRun 18 CoreFoundation 24.72 MB __CFRunLoopDoObservers 17 CoreFoundation 24.72 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 16 cube 22.46 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb30559a4d3eb54dc 15 cube 22.46 MB winit::platform_impl::platform::app_state::AppState::cleared::hd77f814cb37aba72 14 cube 22.46 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd2692580dbf96871 13 cube 22.46 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::h84de136b60cd417e 12 cube 22.46 MB cube::framework::start::_$u7b$$u7b$closure$u7d$$u7d$::h9999174aee892159 11 cube 22.38 MB wgpu::Surface::get_current_texture::hf8827fd265b13fb2 10 cube 22.38 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::surface_get_current_texture::ha62872c3c214ef02 9 cube 22.38 MB wgpu_core::present::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::surface_get_current_texture::hf761ebed75e40148 8 cube 22.38 MB wgpu_hal::metal::surface::_$LT$impl$u20$wgpu_hal..Surface$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..Surface$GT$::acquire_texture::h8762e1e94b6efd7a 7 cube 22.38 MB objc::rc::autorelease::autoreleasepool::hb88069b0408a49b0 6 QuartzCore 22.38 MB -[CAMetalLayer nextDrawable] 5 QuartzCore 22.38 MB get_unused_drawable(_CAMetalLayerPrivate*, bool, bool) 4 QuartzCore 22.36 MB CA::Render::create_iosurface_with_pixel_format(unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, __CFString const*) 3 QuartzCore 22.36 MB CA::SurfaceUtil::CAIOSurfaceCreate(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, CA::SurfaceUtil::SurfaceAlignment, __CFString const*) 2 IOSurface 22.36 MB -[IOSurface initWithProperties:] 1 IOSurface 22.36 MB IOSurfaceClientCreateChild 0 IOSurface 960 Bytes _ioSurfaceClientCreateWithLockResult ```
bunnymark ``` 35 dyld 38.79 MB start 34 bunnymark 38.77 MB main 33 bunnymark 38.77 MB std::rt::lang_start_internal::h6c393cd29ebc4567 32 bunnymark 38.77 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hb30a73247076724f 31 bunnymark 38.77 MB std::sys_common::backtrace::__rust_begin_short_backtrace::h63d17173a29a2618 30 bunnymark 38.77 MB bunnymark::framework::run::h58006efae97c74a4 29 bunnymark 35.83 MB winit::event_loop::EventLoop$LT$T$GT$::run::ha7e9cf07e365fc11 28 bunnymark 35.83 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::h3c97c3c14fef130a 27 bunnymark 35.83 MB objc::rc::autorelease::autoreleasepool::hf3fa833314b281b2 26 AppKit 35.82 MB -[NSApplication run] 25 AppKit 35.74 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 24 AppKit 35.73 MB _DPSNextEvent 23 HIToolbox 35.56 MB _BlockUntilNextEventMatchingListInModeWithFilter 22 HIToolbox 35.56 MB ReceiveNextEventCommon 21 HIToolbox 32.80 MB RunCurrentEventLoopInMode 20 CoreFoundation 32.78 MB CFRunLoopRunSpecific 19 CoreFoundation 32.76 MB __CFRunLoopRun 18 CoreFoundation 24.63 MB __CFRunLoopDoObservers 17 CoreFoundation 24.63 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 16 bunnymark 22.46 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb30559a4d3eb54dc 15 bunnymark 22.46 MB winit::platform_impl::platform::app_state::AppState::cleared::hd77f814cb37aba72 14 bunnymark 22.46 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd2692580dbf96871 13 bunnymark 22.46 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hbc88a9966a2f8725 12 bunnymark 22.46 MB bunnymark::framework::start::_$u7b$$u7b$closure$u7d$$u7d$::h7b19cde5ce353030 11 bunnymark 22.38 MB wgpu::Surface::get_current_texture::hf8827fd265b13fb2 10 bunnymark 22.38 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::surface_get_current_texture::ha62872c3c214ef02 9 bunnymark 22.38 MB wgpu_core::present::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::surface_get_current_texture::hf761ebed75e40148 8 bunnymark 22.38 MB wgpu_hal::metal::surface::_$LT$impl$u20$wgpu_hal..Surface$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..Surface$GT$::acquire_texture::h8762e1e94b6efd7a 7 bunnymark 22.38 MB objc::rc::autorelease::autoreleasepool::hb88069b0408a49b0 6 QuartzCore 22.38 MB -[CAMetalLayer nextDrawable] 5 QuartzCore 22.38 MB get_unused_drawable(_CAMetalLayerPrivate*, bool, bool) 4 QuartzCore 22.36 MB CA::Render::create_iosurface_with_pixel_format(unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, __CFString const*) 3 QuartzCore 22.36 MB CA::SurfaceUtil::CAIOSurfaceCreate(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, CA::SurfaceUtil::SurfaceAlignment, __CFString const*) 2 IOSurface 22.36 MB -[IOSurface initWithProperties:] 1 IOSurface 22.36 MB IOSurfaceClientCreateChild 0 IOSurface 960 Bytes _ioSurfaceClientCreateWithLockResult ```
Matt-Is-Confused commented 2 years ago

More examples

many_cubes
Windowed ``` 51 dyld 98.47 MB start 50 many_cubes 98.45 MB main 49 many_cubes 98.45 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 many_cubes 98.45 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hbd4d512e7aefb9df 47 many_cubes 98.45 MB std::sys_common::backtrace::__rust_begin_short_backtrace::h2116e8dfa21219b9 46 many_cubes 98.45 MB many_cubes::main::he609694afa38291d 45 many_cubes 89.13 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 many_cubes 89.13 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 many_cubes 89.13 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 many_cubes 89.13 MB bevy_winit::run::hf150c86c98a59003 41 many_cubes 89.13 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 many_cubes 89.13 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 many_cubes 89.13 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 many_cubes 60.91 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 60.91 MB -[NSApplication run] 36 AppKit 60.81 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 60.80 MB _DPSNextEvent 34 HIToolbox 60.63 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 60.63 MB ReceiveNextEventCommon 32 HIToolbox 57.86 MB RunCurrentEventLoopInMode 31 CoreFoundation 57.84 MB CFRunLoopRunSpecific 30 CoreFoundation 57.83 MB __CFRunLoopRun 29 CoreFoundation 49.26 MB __CFRunLoopDoObservers 28 CoreFoundation 49.26 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 many_cubes 47.22 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 many_cubes 47.22 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 many_cubes 47.22 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 many_cubes 47.22 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 many_cubes 47.22 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 many_cubes 47.22 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 many_cubes 47.22 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 many_cubes 47.22 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 many_cubes 47.09 MB _$LT$bevy_ecs..schedule..executor_parallel..ParallelExecutor$u20$as$u20$bevy_ecs..schedule..executor..ParallelSystemExecutor$GT$::run_systems::hdb8f9829088ade03 18 many_cubes 42.99 MB bevy_tasks::task_pool::TaskPool::scope::h01b074f1dcc0f97e 17 many_cubes 42.95 MB async_executor::LocalExecutor::try_tick::hef7e282aafe1ffad 16 many_cubes 42.95 MB async_task::raw::RawTask$LT$F$C$T$C$S$GT$::run::hbea34c143d6ae1ff 15 many_cubes 42.95 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h874b7b32d3adb1f8 14 many_cubes 42.95 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h323c817e8eb10b9b 13 many_cubes 42.95 MB _$LT$bevy_ecs..system..function_system..FunctionSystem$LT$In$C$Out$C$Param$C$Marker$C$F$GT$$u20$as$u20$bevy_ecs..system..system..System$GT$::run_unsafe::h26cfae304fd0fdef 12 many_cubes 42.95 MB bevy_render::view::window::prepare_windows::h79d415d0fe78f2fb 11 many_cubes 42.95 MB wgpu::Surface::get_current_texture::h7d2305d5fe93b110 10 many_cubes 42.95 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::surface_get_current_texture::hc79bec403d1965de 9 many_cubes 42.95 MB wgpu_core::present::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::surface_get_current_texture::hca085719085dc4ee 8 many_cubes 42.95 MB wgpu_hal::metal::surface::_$LT$impl$u20$wgpu_hal..Surface$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..Surface$GT$::acquire_texture::h4ba73ab7240e36a7 7 many_cubes 42.95 MB objc::rc::autorelease::autoreleasepool::habc2ed7703aed086 6 QuartzCore 42.95 MB -[CAMetalLayer nextDrawable] 5 QuartzCore 42.95 MB get_unused_drawable(_CAMetalLayerPrivate*, bool, bool) 4 QuartzCore 42.94 MB CA::Render::create_iosurface_with_pixel_format(unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, __CFString const*) 3 QuartzCore 42.94 MB CA::SurfaceUtil::CAIOSurfaceCreate(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, CA::SurfaceUtil::SurfaceAlignment, __CFString const*) 2 IOSurface 42.94 MB -[IOSurface initWithProperties:] 1 IOSurface 42.94 MB IOSurfaceClientCreateChild 0 IOSurface 960 Bytes _ioSurfaceClientCreateWithLockResult ```
Borderless ``` 51 dyld 244.61 MB start 50 many_cubes 244.58 MB main 49 many_cubes 244.58 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 many_cubes 244.58 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hbd4d512e7aefb9df 47 many_cubes 244.58 MB std::sys_common::backtrace::__rust_begin_short_backtrace::h2116e8dfa21219b9 46 many_cubes 244.58 MB many_cubes::main::he609694afa38291d 45 many_cubes 217.12 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 many_cubes 217.12 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 many_cubes 217.12 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 many_cubes 217.12 MB bevy_winit::run::hf150c86c98a59003 41 many_cubes 217.12 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 many_cubes 217.12 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 many_cubes 217.12 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 many_cubes 217.11 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 217.11 MB -[NSApplication run] 36 AppKit 217.02 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 216.98 MB _DPSNextEvent 34 HIToolbox 216.81 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 216.81 MB ReceiveNextEventCommon 32 HIToolbox 215.94 MB RunCurrentEventLoopInMode 31 CoreFoundation 215.91 MB CFRunLoopRunSpecific 30 CoreFoundation 214.03 MB __CFRunLoopRun 29 CoreFoundation 205.20 MB __CFRunLoopDoObservers 28 CoreFoundation 205.20 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 many_cubes 202.84 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 many_cubes 202.84 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 many_cubes 202.84 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 many_cubes 202.84 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 many_cubes 202.84 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 many_cubes 202.84 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 many_cubes 192.96 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 many_cubes 184.48 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 many_cubes 105.28 MB _$LT$bevy_ecs..schedule..executor_parallel..ParallelExecutor$u20$as$u20$bevy_ecs..schedule..executor..ParallelSystemExecutor$GT$::run_systems::hdb8f9829088ade03 18 many_cubes 88.90 MB bevy_tasks::task_pool::TaskPool::scope::h01b074f1dcc0f97e 17 many_cubes 82.76 MB async_executor::LocalExecutor::try_tick::hef7e282aafe1ffad 16 many_cubes 82.76 MB async_task::raw::RawTask$LT$F$C$T$C$S$GT$::run::hbea34c143d6ae1ff 15 many_cubes 82.76 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h874b7b32d3adb1f8 14 many_cubes 82.76 MB _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h323c817e8eb10b9b 13 many_cubes 82.76 MB _$LT$bevy_ecs..system..function_system..FunctionSystem$LT$In$C$Out$C$Param$C$Marker$C$F$GT$$u20$as$u20$bevy_ecs..system..system..System$GT$::run_unsafe::h26cfae304fd0fdef 12 many_cubes 82.76 MB bevy_render::view::window::prepare_windows::h79d415d0fe78f2fb 11 many_cubes 82.76 MB wgpu::Surface::get_current_texture::h7d2305d5fe93b110 10 many_cubes 82.76 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::surface_get_current_texture::hc79bec403d1965de 9 many_cubes 82.76 MB wgpu_core::present::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::surface_get_current_texture::hca085719085dc4ee 8 many_cubes 82.75 MB wgpu_hal::metal::surface::_$LT$impl$u20$wgpu_hal..Surface$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..Surface$GT$::acquire_texture::h4ba73ab7240e36a7 7 many_cubes 82.75 MB objc::rc::autorelease::autoreleasepool::habc2ed7703aed086 6 QuartzCore 82.75 MB -[CAMetalLayer nextDrawable] 5 QuartzCore 82.75 MB get_unused_drawable(_CAMetalLayerPrivate*, bool, bool) 4 QuartzCore 82.74 MB CA::Render::create_iosurface_with_pixel_format(unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, __CFString const*) 3 QuartzCore 82.74 MB CA::SurfaceUtil::CAIOSurfaceCreate(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned long long, CA::SurfaceUtil::SurfaceAlignment, __CFString const*) 2 IOSurface 82.74 MB -[IOSurface initWithProperties:] 1 IOSurface 82.74 MB IOSurfaceClientCreateChild 0 IOSurface 960 Bytes _ioSurfaceClientCreateWithLockResult ```
lighting
Windowed ``` 51 dyld 599.62 MB start 50 lighting 599.60 MB main 49 lighting 599.60 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 lighting 599.60 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h12f93eefa767b15a 47 lighting 599.60 MB std::sys_common::backtrace::__rust_begin_short_backtrace::h0da21f13e83d4dcd 46 lighting 599.60 MB lighting::main::h316480336b74a65a 45 lighting 572.09 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 lighting 572.09 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 lighting 572.09 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 lighting 572.09 MB bevy_winit::run::hf150c86c98a59003 41 lighting 572.09 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 lighting 572.09 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 lighting 572.09 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 lighting 572.09 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 572.09 MB -[NSApplication run] 36 AppKit 571.99 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 571.94 MB _DPSNextEvent 34 HIToolbox 571.76 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 571.76 MB ReceiveNextEventCommon 32 HIToolbox 568.88 MB RunCurrentEventLoopInMode 31 CoreFoundation 568.85 MB CFRunLoopRunSpecific 30 CoreFoundation 568.83 MB __CFRunLoopRun 29 CoreFoundation 560.16 MB __CFRunLoopDoObservers 28 CoreFoundation 560.16 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 lighting 558.27 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 lighting 558.27 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 lighting 558.27 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 lighting 558.27 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 lighting 558.27 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 lighting 558.26 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 lighting 557.60 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 lighting 557.49 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 lighting 490.46 MB _$LT$bevy_ecs..system..exclusive_system..ExclusiveSystemFn$LT$F$GT$$u20$as$u20$bevy_ecs..system..exclusive_system..ExclusiveSystem$GT$::run::h8955eedd991913f8 18 lighting 490.46 MB bevy_render::renderer::render_system::hff985cdaf02c431b 17 lighting 481.60 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 16 lighting 481.60 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 15 lighting 377.66 MB _$LT$bevy_pbr..render..light..ShadowPassNode$u20$as$u20$bevy_render..render_graph..node..Node$GT$::run::h4cf4e7fb010a1ea9 14 lighting 377.66 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::command_encoder_end_render_pass::h3bc00982e85c4a0b 13 lighting 377.66 MB wgpu_core::command::render::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::command_encoder_run_render_pass_impl::hc62768e56991b944 12 lighting 342.41 MB wgpu_core::command::render::RenderPassInfo$LT$A$GT$::start::h28ad4f8f462bcdb9 11 lighting 342.41 MB wgpu_hal::metal::command::_$LT$impl$u20$wgpu_hal..CommandEncoder$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..CommandEncoder$GT$::begin_render_pass::h535b7b223057cddf 10 lighting 342.41 MB objc::rc::autorelease::autoreleasepool::ha391b987b0f834a8 9 AGXMetal13_3 342.41 MB 0x1f97fd3c0 8 AGXMetal13_3 342.41 MB 0x1f98bd0d4 7 AGXMetal13_3 341.73 MB 0x1f98a9eb8 6 AGXMetal13_3 215.14 MB 0x1f97f0520 5 AGXMetal13_3 215.14 MB 0x1f981a19c 4 IOGPU 215.14 MB IOGPUMetalCommandBufferStorageAllocResourceAtIndex 3 IOGPU 215.14 MB IOGPUMetalResourcePoolCreatePooledResource 2 IOGPU 214.50 MB -[IOGPUMetalResource initWithDevice:remoteStorageResource:options:args:argsSize:] 1 IOGPU 214.50 MB IOGPUResourceCreate 0 CoreFoundation 252.50 KB _CFRuntimeCreateInstance ```
Borderless ``` 51 dyld 4927.44 MB start 50 lighting 4927.42 MB main 49 lighting 4927.42 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 lighting 4927.42 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h12f93eefa767b15a 47 lighting 4927.42 MB std::sys_common::backtrace::__rust_begin_short_backtrace::h0da21f13e83d4dcd 46 lighting 4927.42 MB lighting::main::h316480336b74a65a 45 lighting 4900.05 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 lighting 4900.05 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 lighting 4900.05 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 lighting 4900.05 MB bevy_winit::run::hf150c86c98a59003 41 lighting 4900.05 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 lighting 4900.05 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 lighting 4900.05 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 lighting 4900.05 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 4900.05 MB -[NSApplication run] 36 AppKit 4899.95 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 4899.91 MB _DPSNextEvent 34 HIToolbox 4899.74 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 4899.74 MB ReceiveNextEventCommon 32 HIToolbox 4898.87 MB RunCurrentEventLoopInMode 31 CoreFoundation 4898.84 MB CFRunLoopRunSpecific 30 CoreFoundation 4896.96 MB __CFRunLoopRun 29 CoreFoundation 4888.02 MB __CFRunLoopDoObservers 28 CoreFoundation 4888.02 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 lighting 4885.79 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 lighting 4885.79 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 lighting 4885.79 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 lighting 4885.79 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 lighting 4885.79 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 lighting 4885.78 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 lighting 4885.45 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 lighting 4885.34 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 lighting 4729.02 MB _$LT$bevy_ecs..system..exclusive_system..ExclusiveSystemFn$LT$F$GT$$u20$as$u20$bevy_ecs..system..exclusive_system..ExclusiveSystem$GT$::run::h8955eedd991913f8 18 lighting 4729.02 MB bevy_render::renderer::render_system::hff985cdaf02c431b 17 lighting 4684.74 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 16 lighting 4684.74 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 15 lighting 3553.55 MB _$LT$bevy_pbr..render..light..ShadowPassNode$u20$as$u20$bevy_render..render_graph..node..Node$GT$::run::h4cf4e7fb010a1ea9 14 lighting 3553.55 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::command_encoder_end_render_pass::h3bc00982e85c4a0b 13 lighting 3553.55 MB wgpu_core::command::render::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::command_encoder_run_render_pass_impl::hc62768e56991b944 12 lighting 3305.88 MB wgpu_core::command::render::RenderPassInfo$LT$A$GT$::start::h28ad4f8f462bcdb9 11 lighting 3305.88 MB wgpu_hal::metal::command::_$LT$impl$u20$wgpu_hal..CommandEncoder$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..CommandEncoder$GT$::begin_render_pass::h535b7b223057cddf 10 lighting 3305.88 MB objc::rc::autorelease::autoreleasepool::ha391b987b0f834a8 9 AGXMetal13_3 3305.88 MB 0x1f97fd3c0 8 AGXMetal13_3 3305.88 MB 0x1f98bd0d4 7 AGXMetal13_3 3305.19 MB 0x1f98a9eb8 6 AGXMetal13_3 2054.32 MB 0x1f97f0520 5 AGXMetal13_3 2054.32 MB 0x1f981a19c 4 IOGPU 2054.32 MB IOGPUMetalCommandBufferStorageAllocResourceAtIndex 3 IOGPU 2054.32 MB IOGPUMetalResourcePoolCreatePooledResource 2 IOGPU 2048.20 MB -[IOGPUMetalResource initWithDevice:remoteStorageResource:options:args:argsSize:] 1 IOGPU 2047.70 MB IOGPUResourceCreate 0 CoreFoundation 2.33 MB _CFRuntimeCreateInstance ```
alien_cake_addict
Windowed ``` 51 dyld 282.81 MB start 50 alien_cake_addict 282.79 MB main 49 alien_cake_addict 282.79 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 alien_cake_addict 282.79 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h63dd9d17159b1caf 47 alien_cake_addict 282.79 MB std::sys_common::backtrace::__rust_begin_short_backtrace::hbd67141c01312d83 46 alien_cake_addict 282.79 MB alien_cake_addict::main::h41f32cc8c08a4279 45 alien_cake_addict 255.43 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 alien_cake_addict 255.43 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 alien_cake_addict 255.43 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 alien_cake_addict 255.43 MB bevy_winit::run::hf150c86c98a59003 41 alien_cake_addict 255.43 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 alien_cake_addict 255.43 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 alien_cake_addict 255.43 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 alien_cake_addict 255.43 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 255.43 MB -[NSApplication run] 36 AppKit 255.34 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 255.30 MB _DPSNextEvent 34 HIToolbox 255.13 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 255.13 MB ReceiveNextEventCommon 32 HIToolbox 252.35 MB RunCurrentEventLoopInMode 31 CoreFoundation 252.32 MB CFRunLoopRunSpecific 30 CoreFoundation 252.31 MB __CFRunLoopRun 29 CoreFoundation 243.52 MB __CFRunLoopDoObservers 28 CoreFoundation 243.52 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 alien_cake_addict 241.52 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 alien_cake_addict 241.52 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 alien_cake_addict 241.51 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 alien_cake_addict 241.51 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 alien_cake_addict 241.51 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 alien_cake_addict 241.51 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 alien_cake_addict 239.71 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 alien_cake_addict 239.00 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 alien_cake_addict 174.79 MB _$LT$bevy_ecs..system..exclusive_system..ExclusiveSystemFn$LT$F$GT$$u20$as$u20$bevy_ecs..system..exclusive_system..ExclusiveSystem$GT$::run::h8955eedd991913f8 18 alien_cake_addict 174.79 MB bevy_render::renderer::render_system::hff985cdaf02c431b 17 alien_cake_addict 166.66 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 16 alien_cake_addict 166.66 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 15 alien_cake_addict 67.87 MB _$LT$bevy_pbr..render..light..ShadowPassNode$u20$as$u20$bevy_render..render_graph..node..Node$GT$::run::h4cf4e7fb010a1ea9 14 alien_cake_addict 67.87 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::command_encoder_end_render_pass::h3bc00982e85c4a0b 13 alien_cake_addict 67.87 MB wgpu_core::command::render::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::command_encoder_run_render_pass_impl::hc62768e56991b944 12 alien_cake_addict 63.46 MB wgpu_core::command::render::RenderPassInfo$LT$A$GT$::start::h28ad4f8f462bcdb9 11 alien_cake_addict 63.46 MB wgpu_hal::metal::command::_$LT$impl$u20$wgpu_hal..CommandEncoder$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..CommandEncoder$GT$::begin_render_pass::h535b7b223057cddf 10 alien_cake_addict 63.46 MB objc::rc::autorelease::autoreleasepool::ha391b987b0f834a8 9 AGXMetal13_3 63.46 MB 0x1f97fd3c0 8 AGXMetal13_3 63.46 MB 0x1f98bd0d4 7 AGXMetal13_3 62.78 MB 0x1f98a9eb8 6 AGXMetal13_3 39.50 MB 0x1f97f0520 5 AGXMetal13_3 39.50 MB 0x1f981a19c 4 IOGPU 39.50 MB IOGPUMetalCommandBufferStorageAllocResourceAtIndex 3 IOGPU 39.50 MB IOGPUMetalResourcePoolCreatePooledResource 2 IOGPU 39.39 MB -[IOGPUMetalResource initWithDevice:remoteStorageResource:options:args:argsSize:] 1 IOGPU 39.39 MB IOGPUResourceCreate 0 CoreFoundation 45.00 KB _CFRuntimeCreateInstance ```
Fullscreen ``` 51 dyld 408.45 MB start 50 alien_cake_addict 408.43 MB main 49 alien_cake_addict 408.43 MB std::rt::lang_start_internal::h6c393cd29ebc4567 48 alien_cake_addict 408.43 MB std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h63dd9d17159b1caf 47 alien_cake_addict 408.43 MB std::sys_common::backtrace::__rust_begin_short_backtrace::hbd67141c01312d83 46 alien_cake_addict 408.43 MB alien_cake_addict::main::h41f32cc8c08a4279 45 alien_cake_addict 381.11 MB bevy_app::app::App::run::h6c2cfdddfaf6fd5d 44 alien_cake_addict 381.11 MB core::ops::function::Fn::call::h90497d9b04d7c975 43 alien_cake_addict 381.11 MB bevy_winit::winit_runner_with::h2298fbb549fbc527 42 alien_cake_addict 381.10 MB bevy_winit::run::hf150c86c98a59003 41 alien_cake_addict 381.10 MB winit::event_loop::EventLoop$LT$T$GT$::run::h93602748d6914189 40 alien_cake_addict 381.10 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::heb655d7c5e2b254d 39 alien_cake_addict 381.10 MB winit::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run_return::hcd17abd2d0ed7054 38 alien_cake_addict 381.10 MB objc::rc::autorelease::autoreleasepool::h2580cb8a69d0b120 37 AppKit 381.10 MB -[NSApplication run] 36 AppKit 381.02 MB -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 35 AppKit 380.99 MB _DPSNextEvent 34 HIToolbox 380.82 MB _BlockUntilNextEventMatchingListInModeWithFilter 33 HIToolbox 380.82 MB ReceiveNextEventCommon 32 HIToolbox 379.79 MB RunCurrentEventLoopInMode 31 CoreFoundation 379.76 MB CFRunLoopRunSpecific 30 CoreFoundation 377.86 MB __CFRunLoopRun 29 CoreFoundation 368.78 MB __CFRunLoopDoObservers 28 CoreFoundation 368.78 MB __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 27 alien_cake_addict 366.56 MB winit::platform_impl::platform::observer::control_flow_end_handler::hb0880b0915b38ce8 26 alien_cake_addict 366.56 MB winit::platform_impl::platform::app_state::AppState::cleared::hda1145864d5b6101 25 alien_cake_addict 366.56 MB winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hd4af22658a017ec7 24 alien_cake_addict 366.56 MB _$LT$winit..platform_impl..platform..app_state..EventLoopHandler$LT$T$GT$$u20$as$u20$winit..platform_impl..platform..app_state..EventHandler$GT$::handle_nonuser_event::hdedb5e4cd5bb40ee 23 alien_cake_addict 366.56 MB bevy_winit::winit_runner_with::_$u7b$$u7b$closure$u7d$$u7d$::h1f2cae60b7bd1ea1 22 alien_cake_addict 366.56 MB bevy_app::app::App::update::hf299ef93a0cccc35 21 alien_cake_addict 363.73 MB _$LT$bevy_render..RenderPlugin$u20$as$u20$bevy_app..plugin..Plugin$GT$::build::_$u7b$$u7b$closure$u7d$$u7d$::h6829707bec44a682 20 alien_cake_addict 363.02 MB _$LT$bevy_ecs..schedule..stage..SystemStage$u20$as$u20$bevy_ecs..schedule..stage..Stage$GT$::run::h50c5d7d6525cb191 19 alien_cake_addict 257.00 MB _$LT$bevy_ecs..system..exclusive_system..ExclusiveSystemFn$LT$F$GT$$u20$as$u20$bevy_ecs..system..exclusive_system..ExclusiveSystem$GT$::run::h8955eedd991913f8 18 alien_cake_addict 257.00 MB bevy_render::renderer::render_system::hff985cdaf02c431b 17 alien_cake_addict 248.44 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 16 alien_cake_addict 248.44 MB bevy_render::renderer::graph_runner::RenderGraphRunner::run_graph::hd9ef6f23bb83e1c2 15 alien_cake_addict 107.17 MB _$LT$bevy_pbr..render..light..ShadowPassNode$u20$as$u20$bevy_render..render_graph..node..Node$GT$::run::h4cf4e7fb010a1ea9 14 alien_cake_addict 107.17 MB _$LT$wgpu..backend..direct..Context$u20$as$u20$wgpu..Context$GT$::command_encoder_end_render_pass::h3bc00982e85c4a0b 13 alien_cake_addict 107.17 MB wgpu_core::command::render::_$LT$impl$u20$wgpu_core..hub..Global$LT$G$GT$$GT$::command_encoder_run_render_pass_impl::hc62768e56991b944 12 alien_cake_addict 99.69 MB wgpu_core::command::render::RenderPassInfo$LT$A$GT$::start::h28ad4f8f462bcdb9 11 alien_cake_addict 99.69 MB wgpu_hal::metal::command::_$LT$impl$u20$wgpu_hal..CommandEncoder$LT$wgpu_hal..metal..Api$GT$$u20$for$u20$wgpu_hal..metal..CommandEncoder$GT$::begin_render_pass::h535b7b223057cddf 10 alien_cake_addict 99.69 MB objc::rc::autorelease::autoreleasepool::ha391b987b0f834a8 9 AGXMetal13_3 99.69 MB 0x1f97fd3c0 8 AGXMetal13_3 99.69 MB 0x1f98bd0d4 7 AGXMetal13_3 99.00 MB 0x1f98a9eb8 6 AGXMetal13_3 61.90 MB 0x1f97f0520 5 AGXMetal13_3 61.90 MB 0x1f981a19c 4 IOGPU 61.90 MB IOGPUMetalCommandBufferStorageAllocResourceAtIndex 3 IOGPU 61.90 MB IOGPUMetalResourcePoolCreatePooledResource 2 IOGPU 61.72 MB -[IOGPUMetalResource initWithDevice:remoteStorageResource:options:args:argsSize:] 1 IOGPU 61.72 MB IOGPUResourceCreate 0 CoreFoundation 68.38 KB _CFRuntimeCreateInstance ```
geertbleyen commented 2 years ago

We are having the exact same issue: image Unfortunately, we haven't found any fix for it yet. I'm also not sure this is the same issue or not as https://github.com/gfx-rs/wgpu/issues/1783 There does seem to be a timing element to it. If I, for example, enable MTL Api Validation and Shader Validation in XCode's diagnostic settings, the issue doesn't occur. Also, when putting a breakpoint near the place where all the memory gets allocated (via shown callstack), it sometimes also doesn't happen. FYI, for us it's an iOS (iPadOS) application. When running on a simulator (on a M1, so the sim is also arm64), the issue doesn't occur.

james7132 commented 8 months ago

The linked issue in wgpu seems to be resolved. Is this still an issue?

Matt-Is-Confused commented 8 months ago

It has been quite some time so I don't have the ability to retest this. From what I remember this was a problem with mac frame management in certain window modes. If wgpu has closed the issue it is probably safe to assume it is no longer a problem in Bevy.