Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] performance question

Hi All,

 

I've implemented the following extensions in order to add Dojo Library support:

 

   <!-- Dojo library container initializer -->

   <extension point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">

         <JsGlobalScopeContainerInitializer

            id="com.my.jsdt.support.dojo.LIBRARY"

            class="com.my.jsdt.support.dojo.libraries.DojoLibraryInitializer">

         </JsGlobalScopeContainerInitializer>

   </extension>

  

   <!-- Dojo library container page -->

   <extension point="org.eclipse.wst.jsdt.ui.JsGlobalScopeContainerPage">

      <JsGlobalScopeContainerPage

            name="Dojo Library"

            class="com.my.jsdt.support.dojo.libraries.DojoLibraryPage"

            id="com.my.jsdt.support.dojo.LibraryPage">

      </JsGlobalScopeContainerPage>

   </extension>

  

   <!-- Inference Engine for Dojo Objects -->

   <extension point="org.eclipse.wst.jsdt.core.inferrenceSupport">

         <inferenceProvider class="com.my.jsdt.support.dojo.inference.DojoInferenceProvider"/>

   </extension>

 

As described in Extending_the_JavaScript_Development_Toolkit.pdf document.

 

Everything works fine, but I'm encountering a very big performance issue:

 

  1. Slowness while typing
  2. Waiting for 20 seconds when trying to complete "dojo.|"

 

Profiling shows bottlenecks in org.eclipse.wst.jsdt.internal.compiler.parser.* and in org.eclipse.wst.jsdt.internal.compiler.lookup.*

 

Inference Engine is currently empty.

 

Can you suggest how to improve performance?

 

Thanks!

 

 


Back to the top