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 246316 - opening a single php file took 50s
Summary: opening a single php file took 50s
Status: REOPENED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: vralfy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-07 03:19 UTC by scott.fagg
Modified: 2015-01-07 00:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (43.16 KB, application/octet-stream)
2014-08-07 03:19 UTC, scott.fagg
Details
ui log associated with 100s file-open delay (318.02 KB, text/plain)
2014-08-19 05:30 UTC, scott.fagg
Details
ide log associated with 100s file-open delay (35.22 KB, text/plain)
2014-08-19 05:31 UTC, scott.fagg
Details
netbeans profiler dump 1 (1.40 MB, application/octet-stream)
2014-08-19 05:32 UTC, scott.fagg
Details
netbeans profiler dump 2 (963.90 KB, application/octet-stream)
2014-08-19 05:33 UTC, scott.fagg
Details
Not signed build of PHPCSMD plugin which hopefully contains the necessary fix (106.39 KB, application/octet-stream)
2014-11-20 09:38 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scott.fagg 2014-08-07 03:19:01 UTC
Created attachment 148582 [details]
messages.log

normally opening a file can be quick, but in this instance opening a single file took 50s.

attached is my message.log from the time of the problem.
Comment 1 Tomas Hurka 2014-08-18 15:10:44 UTC
Please capture and attach a .npss snapshot when opening your file takes a long time.
The steps how to obtain .npss snapshot are outlined here: 
http://wiki.netbeans.org/FitnessViaPartnership
Attach also IDE log file (messages.log), which corresponds to .npss snapshot. Thanks.
Comment 2 scott.fagg 2014-08-19 05:30:50 UTC
Created attachment 148751 [details]
ui log associated with 100s file-open delay

after a 100s delay in opening a single file, the 'bug reporter' feature in NB offered this "UI log".
Comment 3 scott.fagg 2014-08-19 05:31:15 UTC
Created attachment 148752 [details]
ide log associated with 100s file-open delay
Comment 4 scott.fagg 2014-08-19 05:32:35 UTC
Created attachment 148753 [details]
netbeans profiler dump 1

1 of 2 npss files generated by the 'profiler' that encompasses the time during which i encountered a 100s delay in opening a single file.
Comment 5 scott.fagg 2014-08-19 05:33:15 UTC
Created attachment 148754 [details]
netbeans profiler dump 2

2nd of 2 NPSS files generated during a 100s delay opening a file.
Comment 6 scott.fagg 2014-08-19 05:34:12 UTC
not sure why this was flagged as 'resolved' (perhaps i unintentionally change that when uploading/saving comments)
Comment 7 Tomas Hurka 2014-08-19 07:25:33 UTC
Thanks for the snapshots and logs. The snapshots shows that most of the time (99%) is spent in 
de.foopara.phpcsmd.generics.GenericAnnotationBuilder.annotateList() method. 

This code is in de.foopara.phpcsmd plugin and it looks similar to issue #236776. Reassigning  to updateceters/pluginportal.
Comment 8 Jiri Kovalsky 2014-08-19 12:42:54 UTC
Norman, can you please take a look at this issue as soon as possible? Thanks a lot!
Comment 9 scott.fagg 2014-09-09 00:27:14 UTC
Is there anything i can do to help resolve this ?
Comment 10 scott.fagg 2014-09-26 00:31:13 UTC
Is there anything i can do to help resolve this ?
Comment 11 scott.fagg 2014-10-21 02:21:13 UTC
Is there anything i can do to help resolve this ?
Comment 12 scott.fagg 2014-11-20 02:05:05 UTC
I take it that this issue won't be resolved ? 

I've upgraded to a more recent JVM, but performance is still poor.

I've tried taking hints from the myriad of 'netbeans performance' posts on the net, but nothing helps.
Comment 13 Jiri Kovalsky 2014-11-20 09:38:42 UTC
Created attachment 150588 [details]
Not signed build of PHPCSMD plugin which hopefully contains the necessary fix

Norman has been probably very busy lately but according to his comments in bug #34 [1] the issue might be fixed already since August 26th. So I have cloned the repository, compiled it and build a not signed NBM of the PHPCSMD plugin.

[1] https://github.com/vralfy/phpcsmd/issues/34

Scott, please give it a try and let me know if it worked for you. Thanks.
Comment 14 scott.fagg 2015-01-05 05:25:14 UTC
The update appears to have improved things. It's no longer getting to the point where Netbeans suggets logging a call (20s?), but it can still be sluggish at times.
Comment 15 Jiri Kovalsky 2015-01-05 18:15:16 UTC
Scott, which version of NetBeans have you tried it in? 8.0? The plugin binary for that version should be updated as soon as possible in the Plugin Portal too.
Comment 16 scott.fagg 2015-01-07 00:26:52 UTC
Currently version 8.0.2.