Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: reduce the function call to enhance the performance

Title: [birt-dev]CheckIn: reduce the function call to enhance the performance

- Summary:

- Bugzilla Bug (s) Resolved:

- Description:
HTMLEmitter try to output all the properties even if the style is empty. It increase function calls although those function is almost empty. To reduce the function calls, we need first test if the style is empty and skip the empty styles directly.

this fix can increase the performance about 5%.

- Tests Description  :

- Notes to Build Team:
Check into the main branch and 2.1.2.


- Notes to Developers:

- Notes to QA:  

 
- Notes to Documentation:  

- Files Edited:
cvs ci -m "skip the empty style in attribute builder" -l "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/css/dom/CellMergedStyle.java"

cvs ci -m "skip the empty style in attribute builder" -l "/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/AttributeBuilder.java"



- Files Added:

- Files Deleted


-Wei Yan



Back to the top