Added Stopwatch timer to measure overall prefab import time.

This commit is contained in:
Gene Tailor 2026-02-16 20:49:05 +00:00
parent 5f5b3be5d2
commit 69bf34b7d7

View File

@ -63,6 +63,9 @@ namespace VRM
return;
}
System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch();
sw.Start();
/// <summary>
/// これは EditorApplication.delayCall により呼び出される。
///
@ -91,6 +94,9 @@ namespace VRM
editor.SaveAsAsset(loaded);
}
sw.Stop();
Debug.Log($"Import complete [importMs={sw.ElapsedMilliseconds}]");
};
using (var data = new GlbFileParser(vrmPath).Parse())