[MAGNOLIA-7616] Optimizing ModuleBootstrapTask Created: 03/Sep/19 Updated: 16/Dec/21 Resolved: 13/Dec/21 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.7.4, 6.1.2 |
| Fix Version/s: | 6.2.15 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Viet Nguyen | Assignee: | Nguyen Phung Chi |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 1d 7h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Date of First Response: | |||||
| Sprint: | Global Maintenance 3 | ||||
| Story Points: | 3 | ||||
| Description |
|
When profiling a test similar to ModuleVersionHandlerTestCase, it turns out that ModuleBootstrapTask.accept() results in 60 million String.append() operations. Please consider an improvement here. |
| Comments |
| Comment by Joerg von Frantzius [ 04/Sep/19 ] |
|
Evidence from JProfiler on startup of Magnolia DX:
|
| Comment by Richard Gange [ 23/Nov/21 ] |
|
See https://jira.magnolia-cms.com/secure/attachment/57587/ModuleBootstrapTask.java |