In a project with a lot of assets (let's say ~400K assets), SAssetView::ProcessRecentlyAddedAssets() would process a single asset during it's alloted time slice. The recreation of the set on each call would make the editor run at >10fps until the whole array is processed, at one asset per tick.
It's easy to reproduce by starting the editor and clicking on the "Content" root in the Content Browser, then typing anything in the Filter box while the asset discovery is in progress. The asset discovery will complete but the editor performance will be degraded until the filter is cleared.
With these changes, all new assets are processed in the allowed time with a single call to ProcessRecentlyAddedAssets()
#rb jamie.dale
#ROBOMERGE-SOURCE: CL 11292517 via CL 11292526 via CL 11292528 via CL 11292529
#ROBOMERGE-BOT: (v647-11244347)
[CL 11293016 by sebastien lussier in Main branch]
#jira
#rb Lauren.Barnes
#rnx
#ROBOMERGE-SOURCE: CL 11258423 via CL 11258471 via CL 11258485
#ROBOMERGE-BOT: (v647-11244347)
[CL 11258916 by jamie dale in Main branch]
Access Violation syncing Content Browser directories with pending changes to Levels under World Composition
Filter out redirectors before processing packages to reload
#rb richard.malo
[CL 11205737 by Sebastien Lussier in Main branch]
#jira UE-81836
#rb none
#ROBOMERGE-SOURCE: CL 11133395 via CL 11133406 via CL 11133419
#ROBOMERGE-BOT: (v640-11091645)
[CL 11133421 by jamie dale in Main branch]
#jira UE-1949, UE-1950
#rb benn.gallagher, matt.kuhlenschmidt
#ROBOMERGE-SOURCE: CL 11125982 via CL 11126447
#ROBOMERGE-BOT: (v640-11091645)
[CL 11126552 by christina tempelaarl in Main branch]
#jira UE-1949, UE1950
#rb matt.kuhlenschmidt, benn.gallagher
#ROBOMERGE-SOURCE: CL 11112514 via CL 11112515
#ROBOMERGE-BOT: (v640-11091645)
[CL 11112518 by christina tempelaarl in Main branch]
#rb none
#rnx
#jira
#ROBOMERGE-SOURCE: CL 11072013 via CL 11072157 via CL 11072184
#ROBOMERGE-BOT: (v637-11041722)
[CL 11072202 by rex hill in Main branch]
#jira
#rb none
#rnx
#ROBOMERGE-SOURCE: CL 11064475 via CL 11064485 via CL 11064487
#ROBOMERGE-BOT: (v637-11041722)
[CL 11064489 by rex hill in Main branch]
#rb none
#rnx
#ROBOMERGE-SOURCE: CL 10995934 via CL 10995944 via CL 10995953
#ROBOMERGE-BOT: (v633-10983880)
[CL 10995958 by jamie dale in Main branch]