Browser issue Cutting and pasting large chunks of text causes the browser to crash/lag

Moshe1010

Well-known member
Not sure if it's a browser issue or the editor itself, but It shouldn't be like this. FYI, I'm on Retina Macbook Pro (15"), so my laptop isn't the issue (probably).
Cutting and pasting large chunks of data creates a lag in my Chrome browser, and after it gets "too big", it crashes.

Along the entire video, I'm pasting and cutting right away, but when you see my mouse goes "crazy", it means that my browser doesn't respond and I can't do anything about that. It's beter to watch that in 720p:

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
Confirmed in Chrome on Windows, it's significantly slower than Firefox

Though to be honest this is arguably just a browser issue
 
I'm not able to reproduce this using Firefox 21.0 on Mac OSX 10.8.4.

FF 21, OSX 10.8.4 Demo:
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

I guess 16GB RAM and 550MB/s write/read SSD aren't enough to cut-paste text for browsers:
 
I just tried it again, no problems when I try it. I suggest you try another computer to verify it's not something to do with your computer.
 
I just tried it again, no problems when I try it. I suggest you try another computer to verify it's not something to do with your computer.

In Windows it's even worse:
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
I can not confirm this. I used a full Wikipedia page. Copied the whole page from top to bottom, including all the reference links, all the way down to the foot where it reads
  • Privacy policy
  • About Wikipedia
  • Disclaimers
  • Contact Wikipedia
  • Mobile view
Pasted it into the editor, then typed some more. About 2 paragraphs of my own. I then selected all, cut, copy, and pasted.

I used this page http://en.wikipedia.org/wiki/Atlantis:_The_Lost_Empire (movies usually have lots of info on them)

Used Firefox 22 on Windows 8 Pro.... Could not confirm. Sorry.

But I could confirm that there was a moment where my browser didn't want to respond. This isn't something that happens in the TinyMCE editor. But it didn't keep repeating like yours did. Once it was pasted into the window, that was it.
 
Ironically, in my testing, doing what we do with the paste events actually speeds it up - from 8-9 seconds to 2-3.

However, in general, there's very little we can do with this in the general case. The speed issues actually come from the browser laying out all of the new DOM elements.
 
Top Bottom