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 222825 - Source Format file is extremely slow.
Summary: Source Format file is extremely slow.
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-27 14:11 UTC by paolosca
Modified: 2012-11-27 17:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Messages Log (94.46 KB, text/x-log)
2012-11-27 14:12 UTC, paolosca
Details
metrics log (1.77 KB, application/octet-stream)
2012-11-27 14:12 UTC, paolosca
Details
UI Gestures log (115.30 KB, application/octet-stream)
2012-11-27 14:13 UTC, paolosca
Details
jstack output (32.65 KB, text/plain)
2012-11-27 14:13 UTC, paolosca
Details
jstack output taken after a few seconds from the first (29.96 KB, text/plain)
2012-11-27 14:14 UTC, paolosca
Details
jstack output taken after a few seconds from the second (30.25 KB, text/plain)
2012-11-27 14:14 UTC, paolosca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paolosca 2012-11-27 14:11:48 UTC
Product Version: NetBeans IDE Dev (Build 201211190002)
Updates: Updates available
Java: 1.7.0_03; OpenJDK Client VM 22.0-b10
Runtime: OpenJDK Runtime Environment 1.7.0_03-b21
System: Linux version 3.2.0-4-686-pae running on i386; UTF-8; en_US (nb)
User directory: /home/paolo/.netbeans/dev
Cache directory: /home/paolo/.cache/netbeans/dev


With the current daily build Source->Format is extremely slow, sometimes it takes several minutes for a 50 lines php file, sometimes it takes so long that I just stop it halfway clicking "cancel" on the "Lengthy Operation" window.

At the bottom of the window I can see "Checking for external changes" Suspended.

I attach a few jstack outputs and the log files.
Comment 1 paolosca 2012-11-27 14:12:21 UTC
Created attachment 128459 [details]
Messages Log
Comment 2 paolosca 2012-11-27 14:12:38 UTC
Created attachment 128460 [details]
metrics log
Comment 3 paolosca 2012-11-27 14:13:10 UTC
Created attachment 128461 [details]
UI Gestures log
Comment 4 paolosca 2012-11-27 14:13:37 UTC
Created attachment 128462 [details]
jstack output
Comment 5 paolosca 2012-11-27 14:14:00 UTC
Created attachment 128463 [details]
jstack output taken after a few seconds from the first
Comment 6 paolosca 2012-11-27 14:14:21 UTC
Created attachment 128464 [details]
jstack output taken after a few seconds from the second
Comment 7 Ondrej Brejla 2012-11-27 14:24:09 UTC
"Maybe" caused by this changeset...http://hg.netbeans.org/web-main/rev/e9e5e9d6eb7c

Can I somehow reproduce that?
Comment 8 Ondrej Brejla 2012-11-27 14:40:04 UTC
But according to Product Version: NetBeans IDE Dev (Build 201211190002), it's not that changeset. That changeset is from yestrerday. You use 8 days old dev build. Can you try todays one? Thanks.
Comment 9 paolosca 2012-11-27 17:51:54 UTC
Thank you, with today's daily build it works fine.