Dale Richardson created METRON-2253:
---------------------------------------
Summary: Developer Deployment speedup: Improve build times for
node projects
Key: METRON-2253
URL: https://issues.apache.org/jira/browse/METRON-2253
Project: Metron
Issue Type: Improvement
Reporter: Dale Richardson
A not-so-optimal angular build profile will speed up node projects builds by
more then 60%. As long as the GUI still works, it may be worth while if Metron
is being deployed to test back-end functionality.
An example speedup:
Using existing build profile
metron-alerts (134.8 s)
|Plugin execution|Duration|
|com.github.eirslett:frontend-maven-plugin:1.3:npm \{execution: npm run
build}|88.58 s|
|com.github.eirslett:frontend-maven-plugin:1.3:npm \{execution: npm ci}|26.70 s|
using custom dev build profile with no optimisation
metron-alerts (78.78 s)
|Plugin execution|Duration|
|com.github.eirslett:frontend-maven-plugin:1.3:npm \{execution: npm ci}|32.10 s|
|com.github.eirslett:frontend-maven-plugin:1.3:npm \{execution: npm run
build}|29.29 s|
--
This message was sent by Atlassian Jira
(v8.3.2#803003)