Bug 476112 - [TERMINALS] certain Unicode characters degrade performance
Summary: [TERMINALS] certain Unicode characters degrade performance
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: terminal (show other bugs)
Version: Next   Edit
Hardware: Macintosh Mac OS X
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 07:28 EDT by Davy Landman CLA
Modified: 2020-09-04 15:12 EDT (History)
2 users (show)

See Also:


Attachments
screenshot of the profiler (51.90 KB, image/png)
2015-08-28 07:28 EDT, Davy Landman CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davy Landman CLA 2015-08-28 07:28:11 EDT
Created attachment 256210 [details]
screenshot of the profiler

If you open up a local terminal or ssh terminal and execute:

echo "ℤℚℝℂℍℜℑⅇⅈ"

a few times, scrolling and all other interactions slow down quite noticeably.

The same font in the OSX Terminal doesn't experience this problem.

I've attached the most prominent call tree of the UI thread (there is another branch with the same end point).

In general, a lot of time is spent in drawLine/drawText, especially in the call to drawString(). I hope you have a bit more experience with SWT to understand why?

Changing the font doesn't have an impact.

(there are some other issues around unicode in the wonderful TM Terminal, but I'm creating separate issues for them)
Comment 1 Martin Oberhuber CLA 2015-08-31 15:15:45 EDT
Marking P4 since the issue seems rare and doesn't break functionality.
Comment 2 Jonah Graham CLA 2020-05-01 10:11:18 EDT
The Terminal component of the Eclipse Ecosystem has a new home. The Terminal is now part of the Eclipse CDT project[1].

This change means a new Git repo[2], P2 site[3] and Bugzilla component. The terminal will continue to be delivered as part of the quarterly Simultaneous Release of Eclipse as well.

The marketplace entry[4] had not been updated in a few years. It will once again install the latest release of the terminal on the latest release of the whole IDE (currently 2020-03).

If this bug is no longer relevant, please feel free to comment or close the bug. If you can confirm if this issues still occurs in the latest release please do let me know in a comment.

[1] https://wiki.eclipse.org/CDT/User/NewIn911
[2] https://git.eclipse.org/c/cdt/org.eclipse.cdt.git (in the terminal directory)
[3] current release is 9.11 - P2 site https://download.eclipse.org/tools/cdt/releases/9.11/
[4] https://marketplace.eclipse.org/content/tm-terminal

(This comment was added to all open terminal bugs along with changing the Product/component pair to CDT/terminal.)