| Summary: | Performance: CellStyle.getFont() and CellStyle.setFont() are slow on large tables | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Lukas Huser <lhu> | ||||||
| Component: | Scout | Assignee: | Project Inbox <scout.core-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | andi.bur, zimmermann | ||||||
| Version: | unspecified | Flags: | zimmermann:
indigo+
zimmermann: juno+ |
||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Lukas Huser
Created attachment 206666 [details]
Patch CellStyle: replace m_fontPattern with m_fontSpec
Created attachment 206667 [details]
Patch FontSpec: make FontSpec technically immutable
Lukas, thanks a lot for this fantastic bug report, analysis and fix! Reviewed and applied patches. Bug fix should be applied on 3.7 branch as well. Applied patch on 3.7 branch and changed target milestone to 3.7.2. Thank you. Successfully tested on Scout branch 3.7.1. Also, did some quick tests on Scout trunk (3.8). Performance of displaying data in a table is improved by about a factor of 2. From our tests: Table with 33'000 rows: - fetching data from server ca. 12 sec - displaying data in GUI ca. 5 sec (before: ca. 10 sec) Table with 19'000 rows: - fetching data from server ca. 7 sec - displaying data in GUI ca. 3 sec (before: ca. 6 sec) shipped with eclipse scout 3.7.2 (indigo sr2) |