-
Notifications
You must be signed in to change notification settings - Fork 255
RLS takes to long to produce analysis #200
Comments
Interesting profile. #25 should help with this by the sounds of things (I kind of assumed it wouldn't make so much difference, but this suggests it might). |
cc @michaelwoerister I would assume that since we run in |
On thing that might be easy is making sure that crates are compiled without debuginfo, because if debuginfo is turned on, spans are incorporated into the SVH which slows things down quite a bit since they have to be translated into a stable form before hashing. |
With the latest commit, we are no longer writing and reading save-analysis results for the primary crate to disk. This should remove all the @jrmuizel if you have a minute to re-run your profile, I'd appreciate knowing if there is a change here. Also, how long does the RLS run for exactly? |
RLS runs for about 5 seconds. rustc_save_analysis is now about 9% of that time. Other interesting places in the profile: |
Note the percentages above are on a thread that takes 83% of the time. They would be scaled up if just looking at that thread. |
The numbers above are actually from the webrender crate and not webrender_traits. However, webrender_traits looks like it takes about 5 seconds to run as well. |
Thanks for the data! |
The main issue here is addressed. We still want to get faster, but I don't think we need to track that here. |
STR:
Profile:
The text was updated successfully, but these errors were encountered: