Description:
Having a large performance issue caused by “CoreScripts/SoundTelemetry”. While running around in a map-only version of my game to ensure no scripts are doing anything, I noticed a nearly 7ms amount of time being spent by this. I only have 29 sounds in this game.
I noticed this recent change in CoreScripts. Checking IsA on every descendant being added to the game in Lua doesn’t seem very performant.
Reproduction
Use a large world with Streaming enabled, and manuever around at an above average speed.
Game link is here but is private. BROADVIEW BUILDING BRANCH - Roblox
System Information
Tested on two machines:
- M2 Macbook Pro, 32GB Ram, macOS Ventura
- Ryzen 7 5800X, RTX 3070 Ti, 32GB Ram, Windows 11 22H2