[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-core-dev] Re: Optimizing parsing time
|
The user controls it.
Kent Johnson
<Kent_Johnson@ca.
ibm.com> To
Sent by: jdt-core-dev@xxxxxxxxxxx
jdt-core-dev-admi cc
n@xxxxxxxxxxx
Subject
[jdt-core-dev] Re: Optimizing
03/09/2005 04:01 parsing time
PM
Please respond to
jdt-core-dev
Why is this option on by default?
Jerome Lanneluc <jerome_lanneluc@xxxxxxxxxx>
Sent by: jdt-core-dev-admin@xxxxxxxxxxx
03/09/2005 09:16 AM
Please respond to
jdt-core-dev
To
jdt-core-dev@xxxxxxxxxxx
cc
Subject
[jdt-core-dev] Optimizing parsing time
While profiling the CPU time for type hierarchies, I noticed that 15% of
the time was spent checking task tags while parsing.
As checking task tags is not necessary for computing a type hierarchy, I
changed the code to disable this option:
Map options = project.getOptions(true);
// disable task tags to speed up parsing
options.put(JavaCore.COMPILER_TASK_TAGS, ""); //$NON-NLS-1$
this.hierarchyResolver = new
HierarchyResolver(searchableEnvironment, options, this, new
DefaultProblemFactory());
Other JDT Core tools could do the same if parsing is a performance issue
...
Jerome
_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-core-dev
_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-core-dev