Closed Bug 343567 Opened 18 years ago Closed 18 years ago

pasting larger textfiles in a <textarea> causes 100% processorload

Categories

(Core :: Spelling checker, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 341420

People

(Reporter: Peter6, Assigned: mscott)

Details

(Keywords: perf, regression)

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060703 Minefield/3.0a1 ID:2006070322 [cairo]

testcase next

regressionrange:
between 20060703 and 20060704 nightly
Attached file testcase
open testcase... 
this will take quite a while (100% load) = regression 1
select all text in the textarea and press copy
now press paste and see the load go up
wait 5-10 secs, depending on your system and the text is pasted

this worked fine and instantaneously before
Product: Firefox → Core
QA Contact: general → general
Assignee: nobody → mscott
Component: General → Spelling checker
QA Contact: general → spelling-checker
Seems like this would be related to bug 343314...
(In reply to comment #3)
> Seems like this would be related to bug 343314...
> 
except for the different regressionwindows
I wasn't able to reproduce this as described on my clean install/clean profile of Mozilla/5.0 (Windows;;; en-US; rv:1.8.1a3) Gecko/20060704 BonEcho/2.0a3, on a P3-1.2ghz PC w/640mb ram.

However, I can reproduce the other reported bug (https://bugzilla.mozilla.org/show_bug.cgi?id=343314) in the testcase window.
We're spending tons of time in nsRange::IsPointInRange, called by mozInlineSpellChecker::IsPointInSelection. I think this is a previously existing and known issue. You only see it now because before bug 339066 was fixed, pasting didn't get spellchecked properly at all.

*** This bug has been marked as a duplicate of 341420 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: