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 227134 - Very slow sources copy on project load
Summary: Very slow sources copy on project load
Status: RESOLVED DUPLICATE of bug 227109
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-07 04:51 UTC by NecroMan
Modified: 2013-05-14 12:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Self-sampler snapshot (1.23 MB, application/octet-stream)
2013-03-07 08:52 UTC, NecroMan
Details
Self-sampler snapshot from NetBeans 7.2.1 (91.68 KB, application/octet-stream)
2013-03-07 09:25 UTC, NecroMan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NecroMan 2013-03-07 04:51:04 UTC
I have a projects with sources copy support enabled. Main sources is located in my PC and copy makes to virtual PC (Virtual Box + Ubuntu + Samba).

In last NetBeans version (and some previous nigthly builds) forced sources copy to local folder was enabled. And now when I start NetBeans or open my actual projects (total sources size 100 Mb) I need to wait one hour (!!!) while NetBeans finish its copying!

In previous version (7.2.1) there is no forced sources copy and I can work right after project was opened.


And last remark. Manual copying of all sources (made by system tools) takes about 2 minutes, so any Samba or network slowness should be dropped out.
Comment 1 Petr Cyhelsky 2013-03-07 08:16:32 UTC
please use the self-sampling to create snapshot of the slow copying (it doesn't have to be whole hour - minute or two would be enough) and attach it here
Comment 2 NecroMan 2013-03-07 08:52:46 UTC
Created attachment 132315 [details]
Self-sampler snapshot
Comment 3 NecroMan 2013-03-07 08:54:51 UTC
Snapshot attached.
Comment 4 Petr Cyhelsky 2013-03-07 09:20:39 UTC
java.io.WinNTFileSystem.getBooleanAttributes is called at least 4325* (probably even (many?) more times - it is at the limit of what 10ms sampling can recognize)  in default request processor thread - reassigning to php

@Necroman please attach also snapshot of the same action from 7.2 so that php guys can at least partially compare the two runs
Comment 5 NecroMan 2013-03-07 09:25:15 UTC
Created attachment 132318 [details]
Self-sampler snapshot from NetBeans 7.2.1
Comment 6 NecroMan 2013-03-07 09:26:39 UTC
Snapshot from same project opening attached.
It seems to be there's no sources copy at all when project was opened.
Comment 7 NecroMan 2013-04-08 07:19:57 UTC
So can someone help me to disable source copy when project loads? I want to use NetBeans but still can't do it 'coz I lose too many time to wait this task to complete.
Comment 8 Tomas Mysik 2013-05-13 08:28:24 UTC

*** This bug has been marked as a duplicate of bug 227109 ***
Comment 9 Tomas Mysik 2013-05-14 12:29:28 UTC
Would it be possible to test it once more in NB 7.2.1 and NB 7.3 please? Just be sure that you start NetBeans with:

-J-Dorg.netbeans.modules.php.project.copysupport.level=FINE

and open your project and attach messages.log files here. Please, review them first just to be sure that they do not contain any sensitive data.

Thanks a lot for your cooperation.