Bug 438259 - TextLayout.draw performance regression
Summary: TextLayout.draw performance regression
Status: CLOSED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows 8
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo, performance
Depends on:
Blocks:
 
Reported: 2014-06-26 08:27 EDT by open source CLA
Modified: 2014-06-27 06:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description open source CLA 2014-06-26 08:27:06 EDT
TextLayout#draw in 4.4 is 50% slower than 4.3, making it almost unusable as a text editor backend.

For now, I have to revert to 4.3 due to this bug.
Comment 1 Arun Thondapu CLA 2014-06-26 10:58:07 EDT
(In reply to open source from comment #0)
> TextLayout#draw in 4.4 is 50% slower than 4.3, making it almost unusable as
> a text editor backend.
> 
> For now, I have to revert to 4.3 due to this bug.

Can you please provide more details about how exactly the performance was tested and how the figures were arrived at? It would be very helpful if you can actually provide a snippet of code that can be used to verify the same.
Comment 2 open source CLA 2014-06-27 06:07:55 EDT
My test case was bogus, so I'm closing it - TextLayout#draw performance is really abysmal, but it's not changed between 4.3 and 4.4 and originally claimed.