This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 184397 - Replace slow in large files
Summary: Replace slow in large files
Status: RESOLVED DUPLICATE of bug 157433
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 6.x
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-18 08:24 UTC by nbphpuser
Modified: 2010-04-19 10:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
npss (707.46 KB, application/octet-stream)
2010-04-18 08:24 UTC, nbphpuser
Details
sample file (396.81 KB, text/html)
2010-04-18 08:26 UTC, nbphpuser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nbphpuser 2010-04-18 08:24:16 UTC
Created attachment 97573 [details]
npss

Having large files, search/replace takes about 30 sec. Using regular expressions makes it even more slower.

I've made sample html file and thread dump for searching  '<td>Table td CONTENT</td>' and replacing with '<td>TD CONTENT</td>', took about 30 sec

One could try 10000 lines file search regexp "\n\n" replace "\n", which takes very long, I'v killed IDE
Comment 1 nbphpuser 2010-04-18 08:26:01 UTC
Created attachment 97574 [details]
sample file

DEV PHP BUILD used, 2010-04-16_15-04-27
Comment 2 nbphpuser 2010-04-18 09:49:16 UTC
Just for comparison, I've tried the same task in Notepad++, it took 5 sec.
Comment 3 Vitezslav Stejskal 2010-04-19 10:16:30 UTC

*** This bug has been marked as a duplicate of bug 157433 ***