mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add an ObjectDB Profiling Tool
A new tab is added to the debugger that can help profile a game's memory usage. Specifically, this lets you save a snapshot of all the objects in a running game's ObjectDB to disk. It then lets you view the snapshot and diff two snapshots against each other. This is meant to work similarly to Chrome's heap snapshot tool or Unity's memory profiler.
This commit is contained in:
committed by
Mikael Hermansson
parent
4d1f26e1fd
commit
78f1543e35
9
modules/objectdb_profiler/config.py
Normal file
9
modules/objectdb_profiler/config.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# config.py
|
||||
|
||||
|
||||
def can_build(env, platform):
|
||||
return env.debug_features
|
||||
|
||||
|
||||
def configure(env):
|
||||
pass
|
||||
Reference in New Issue
Block a user