Bug 1323583

Summary: Pasting hundreds of kilobytes of text takes tens of seconds
Product: [Fedora] Fedora Reporter: Jiri Prajzner <jprajzne>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: ignatenko, karsten, moshima.web
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 09:19:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.