ImmersiveRPG / GodotAsyncLoader

A Godot plugin to load, instance, and add scenes asynchronously using a background thread.
https://godotengine.org/asset-library/asset/1376
MIT License
37 stars 4 forks source link

Make logging display times for each chunk #1

Open workhorsy opened 2 years ago

workhorsy commented 2 years ago

Make output like this:

!!!!!! scene load res://src/World/World.tscn
    $Plants/Cactus
    load 10 ms in THREAD
    instance 13 ms in THREAD
    add 0 ms in MAIN!!!!!!!!!!!!

    $Plants/Cactus2
    load 2 ms in THREAD
    instance 13 ms in THREAD
    add 0 ms in MAIN!!!!!!!!!!!!