Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ide-dev] Interesting tweet about perfs


Great. That should be a really easy fix then. All these files are being opened by EMF, so EMF can cache the result of a first lazy System property read for the lifetime of the EMF plugin. Maybe it is an idiom that should be applied more universally, until Oracle fixes the bug.

(It might have an accidental further benefit to Xtext that can create huge numbers of EMF resources, one per Java type, hopefully without preparing a parser for each. I looked at and it looks like a many resources not parser issue.)


        Ed Willink

On 24/01/2019 16:06, Mickael Istria wrote:

On Thu, Jan 24, 2019 at 4:55 PM Ed Willink <ed@xxxxxxxxxxxxx> wrote:
[...]a faster parser[...]

According to the tweet, it's not about a faster parser. Also, the suggested value for the parser is actually the default one in most JVMs.
it's about explicitly defining the property seems to save time in resolving the abstract parser to a concrete one, as it "just" reads the system property and load the class instead of checking possible extensions/service providing this.

ide-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


Back to the top