How to reproduce:
1. Open project "UnityVisualScriptTest" inside "Project.zip"
2. Open the "SampleScene" Scene (Assets > Scenes > SampleScene)
3. Open Profiler (Window > Analysis > Profiler) and enable the "Deep Profile"
4. Enter Play Mode
5. Observe the Profiler window
Expected result: Frames are analyzed much faster
Actual result: Frames are analyzed very slowly
Reproducible with: 2021.2.0a19, 2021.2.19f1, 2021.3.0f1, 2022.1.0b15, 2022.2.0a10
Not reproducible with: 2019.4.37f1, 2020.3.33f1, 2021.2.0a18