Files
openide/java/idea-ui/testSrc
Max Medvedev a4cf21904a IDEA-311941 Employ SimpleMergingQueue for ProjectStructureDaemonAnalyzer
ProjectStructureDaemonAnalyzer often gets all modules of the current project
for update at once. If there are quite a lot of them (e.g., 5k), MergingUpdateQueue
wastes a huge amount of time trying to merge them one by one with complicated rules,
though the rules are extremely simple in our case: it's enough to just check updates
for equality. A simple hash map works great for this task.
So, I added SimpleMergingQueue.

This fix helps to reduce queueing tasks for intellij monorepo from ~6sec to less than
0.1sec.

GitOrigin-RevId: 33eaf1e7ccc66a1edb28addf7bbaedd00444a30b
2024-01-31 13:05:42 +00:00
..