[
https://issues.jboss.org/browse/JBIDE-19448?page=com.atlassian.jira.plugi...
]
Victor Rubezhny updated JBIDE-19448:
------------------------------------
Steps to Reproduce:
EXECUTE: Import angular-phonecat project (
https://github.com/angular/angular-phonecat.git)
into JBT - the project's repository contains several tags that marks steps in the
project's creation. Swicth to some branch liek step-12.
ASSERT: Try to invoke CA on some JavaScripts and note the time of reaction.
EXECUTE: Open a terminal, CD into your project's root directory and execute 'npm
install' on the project.
ASSERT: Very first requests for CA or Validation lead into the appearance of many builder
jobs and for some time Eclipse may become irresponsible.
After the builder jobs finishing the CA works much slower that it was before execution of
'npm install'.
was:
EXECUTE: Import angular-phonecat project (
https://github.com/angular/angular-phonecat.git)
into JBT - the project's repository contains several tags that marks steps in the
project's creation. Swicth to some branch liek step-12.
ASSERT: Try to invoke CA on some JavaScripts and note the time of reaction.
EXECUTE: Open a terminal, CD into your project's root directory and execute {code}npm
install{code} on the project.
ASSERT: Very first requests for CA or Validation lead into the appearance of many builder
jobs and for some time Eclipse may become irresponsible.
After the builder jobs finishing the CA works much slower that it was before execution of
{code}npm install{code}.
Performance problems with angular-phonecat project
--------------------------------------------------
Key: JBIDE-19448
URL:
https://issues.jboss.org/browse/JBIDE-19448
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml/html source editing, upstream
Affects Versions: 4.2.3.Final
Environment: Tern.java + AngularJS-Eclipse installed
Reporter: Victor Rubezhny
On angular-phonecat project with the dependencies added by 'npm install' (as well
as some other projects where dependencies are taken by bower with 'bower install')
there is performance problem occurs.
'npm install' and 'bower install' command could add more than 1000
JavaScripts into the project's Include Path, so this could lead into a problem with
Eclipse's performance.
The workaround for the issue is to exclude some directories from JSDT Include Path like
'node_modules/' (in case of 'npm install' is used),
'bower_components/' (in case of 'bower install' is used) as well as other
service directories containing JavaScripts that aren't used in JS application
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)