Community
Participate
Working Groups
Created attachment 280548 [details] Screenshot org.eclipse.swt.widgets.Display.gtk_css_parse_foreground sticks out in Yourkit which tracing a running IDE. It seems to be calling very frequently regex.Match.find. Maybe introduce a cache for caching these calls?
Interesting, it could probably be cached yes. It might have to be done at the per-Widget level (instead of Display). This would be a good candidate for 4.15 IMO.
(In reply to Eric Williams from comment #1) > Interesting, it could probably be cached yes. It might have to be done at > the per-Widget level (instead of Display). This would be a good candidate > for 4.15 IMO. Can you look at this for 4.15M1?
(In reply to Lars Vogel from comment #2) > (In reply to Eric Williams from comment #1) > > Interesting, it could probably be cached yes. It might have to be done at > > the per-Widget level (instead of Display). This would be a good candidate > > for 4.15 IMO. > > Can you look at this for 4.15M1? Unfortunately I won't be able to for M1 as I have some other things on my plate. I'd be happy to review patches though.
Retarget.
I wasn't able to see such hotspot (not enough Yourkit-fu probably). Lars, please check whether it still happens for you.
Remove target. I also think of closing as worksforme (will do on next triage) as I can't reproduce it.