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 254121 - Performance regression while closing PHP project
Summary: Performance regression while closing PHP project
Status: STARTED
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 8.1
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2015-08-04 11:16 UTC by Jiri Skrivanek
Modified: 2015-08-31 10:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Performance graph. (46.93 KB, image/png)
2015-08-04 11:16 UTC, Jiri Skrivanek
Details
Changes in build 201507100001. (186.67 KB, text/html)
2015-08-04 11:16 UTC, Jiri Skrivanek
Details
profiler snapshot for closing PHP project (46.34 KB, application/octet-stream)
2015-08-31 08:22 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2015-08-04 11:16:03 UTC
Created attachment 155162 [details]
Performance graph.

Since build 201507100001 there is a regression in measured time for closing PHP project. Compared to 8.0.2 time is doubled. There are additional repaint events in explorer tree

<event diff="1483" name="ADD DirtyRegion: o.o.explorer.view.TreeView$ExplorerTree/null, 0,0,510,18, AWT-EventQueue-0" time="3023580" type="app_message"/>
<event diff="1486" name="ADD DirtyRegion: o.o.explorer.view.TreeView$ExplorerTree/null, 0,0,129,16, AWT-EventQueue-0" time="3023582" type="app_message"/>

See attachments for performance graph and list of changes.
Comment 1 Jiri Skrivanek 2015-08-04 11:16:41 UTC
Created attachment 155163 [details]
Changes in build 201507100001.
Comment 2 Tomas Mysik 2015-08-31 08:21:17 UTC
Jirko, any idea how to start investigating this issue please? I created a snapshot  for closing project but nothing suspicious in the EDT thread. Will attach it.
Also, I looked at the attachment with commits and none of my commits should cause this issue (I am not able to decide about commits of other people).

Thanks.
Comment 3 Tomas Mysik 2015-08-31 08:22:04 UTC
Created attachment 155767 [details]
profiler snapshot for closing PHP project
Comment 4 Jiri Skrivanek 2015-08-31 10:11:43 UTC
As I wrote in description there were some repaint events in explorer in project's view. Try to look for suspicious commits in that area. You can try to revert some commit and measure if it helps. Run org\netbeans\performance\languages\actions\CloseProjectTest.java in performance.scripting project.