Bug 1323583 - Pasting hundreds of kilobytes of text takes tens of seconds
Summary: Pasting hundreds of kilobytes of text takes tens of seconds
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 23
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 07:32 UTC by Jiri Prajzner
Modified: 2016-04-07 09:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 09:19:58 UTC
Type: Bug


Attachments (Terms of Use)

Description Jiri Prajzner 2016-04-04 07:32:44 UTC
Description of problem:
Pasting hundreds (100 and more) kilobytes of text takes tens of seconds 

Version-Release number of selected component (if applicable):
vi -viminfo
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 20 2015 09:51:26)

How reproducible:
Always

Steps to Reproduce:
1. open vi
2. switch to insert mode
3. paste very long text

Actual results:
it takes mor2 than 20 seconds to paste the text (Intel(R) Core(TM) i7-4900MQ CPU @ 2.80GHz, 16GB RAM)

Expected results:
it's pasted immediately

Additional info:
It doesn't happen with gedit

Comment 1 Karsten Hopp 2016-04-07 09:19:58 UTC
Pasting kilobytes of text into a console is slow, that's not vim's fault.
Just try 

echo "paste your kilobytes of text here"

For a fair comparison of paste speeds, use gvim instead and you'll see how fast it is.


Note You need to log in before you can comment on or make changes to this bug.