This may be related to: Autosave Freezes Studio Actions
This is difficult to quantify and difficult to date, but place saving takes significantly longer than it used to. This applies to autosaves in studio as noted in the above thread, and significantly ingame when calling AssetService:SavePlaceAsync(). I haven’t noticed this with manually saving in studio. I’m making this report to expand upon the SavePlaceAsync case.
Game: test2 - Roblox
I have not recorded long term logs of server save times, but I have been reporting save times as chat logs visible to users. The game records timestamps directly before and after the SavePlace API call and reports this time delta. The game autosaves every ~5 minutes. During saves, the game hangs (server does not respond to remotes/does not send physics updates).
Previously the save time was typically about 2-3 seconds. My users report that at some point in the last year, this went up to 15-20 seconds which has become very disruptive and frustrating for them.
Before this change, save times would generally be proportional to the amount that users had built in a place. If a place is densely built up, it would take longer, and undeveloped places would save almost instantly. However, currently all places are taking a baseline of around 15 seconds. For example:
- Place ID 5967588995 is a relatively very developed; when downloaded the place file is 31,042 KB and over three samples the save time is 14.2 - 15.7 seconds.
- Place ID 5968191583 is completely undeveloped; when downloaded the place file is 19,646 KB and over three samples the save time is 11.7- 15 seconds. Previously this place would almost always save instantly (<0.5 seconds).
These places have been around for about 4 years and have been saved thousands of times. There could be some memory leak on my end; some accumulation of junk that is gradually increasing save times. To test this possibility I created a fresh world that has never been played in and measured save times. Again, with four samples over two places, I saw 14 - 18 seconds, so this is not related to the age of the places.