unmiss
(unmiss)
July 18, 2023, 1:48pm
#1
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.
https://github.com/MaximumADHD/Roblox-Client-Tracker/blob/f87f9ab4dd1b67a2e079b9aea732f08c865dee16/scripts/CoreScripts/CoreScripts/SoundTelemetry.lua#L270
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
11 Likes
Thanks for the report! I filed a ticket in our internal database.
1 Like
unmiss
(unmiss)
July 18, 2023, 3:49pm
#3
To add to my post, here is another screenshot showing ~20ms being spent on CoreScripts/SoundTelemetry (the green bars)
6 Likes
Focia19
(Focia19)
July 18, 2023, 6:18pm
#4
Closing this issue as it’s a duplicate to this one:
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.
[image]
I noticed this recent change in CoreScripts. Checking IsA on every descendant being added to the game in Lua doesn’t seem very performant.
https://github.com/MaximumADHD/Roblox-Client-Tracker/blob/f87f9ab4dd1b67…
We had an internal problem while approving this bug report that lead to creating two threads. Sorry for that!
1 Like