elementary / elementary/terminal

paste long data slow

Open
#48 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
428
Forks
104
Avg merge
1d 54m
Merged PRs (30d)
2

Description

I noticed that pasting long data (for example, entire web pages, or 1Mb of binary data) takes quite long (I think mainly because the terminal tries to update the screen at every char, correct me if my assumption is wrong).
So, (since detecting the "paste" action should be easy (is done during the "sudo detection"), so I thought that the pasting action could become faster preventing the screen updates (or reading the clipboard directly).
Thanks

Launchpad Details: [#LP1468438](https://bugs.launchpad.net/bugs/1468438) Nicolò Balzarotti - 2015-06-24 16:41:37 +0000

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the slowdown with a long web page or 1 MB of binary data, then inspect the paste path around the mentioned sudo detection and terminal screen updates. Done means long pastes complete substantially faster without changing the pasted output or terminal behavior.

Written by the indexing model from the issue text.

Assessment

Domain
cli, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.