|[birt-dev]CheckIn: reduce the function call to enhance the performance|
- Bugzilla Bug (s) Resolved:
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
Back to the top