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 238237 - org.openide.filesystems.FileObject.toURL: LowPerformance took 72521 ms.
Summary: org.openide.filesystems.FileObject.toURL: LowPerformance took 72521 ms.
Status: STARTED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: vralfy
URL:
Keywords: PERFORMANCE
: 239272 243471 245584 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-11 16:48 UTC by jerry.lindahl
Modified: 2017-04-21 23:40 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205168


Attachments
nps snapshot (852.00 KB, application/nps)
2013-11-11 16:48 UTC, jerry.lindahl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jerry.lindahl 2013-11-11 16:48:33 UTC
This bug was originally marked as duplicate of bug 237174, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201311080001)
VM: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_25-b30
OS: Linux

User Comments:
jerry.lindahl: Opened a PHP file in Files explorer. File is part of a pretty large project. 100% cpu usage while being frozen. Happens often and is why I tried the development version. Can also happen when:ctrl click on function name, find usages or using other features that do some sort of project scannning.



Maximum slowness yet reported was 72521 ms, average is 72521
Comment 1 jerry.lindahl 2013-11-11 16:48:44 UTC
Created attachment 142061 [details]
nps snapshot
Comment 2 Jaroslav Havlin 2013-11-12 12:08:46 UTC
Method de.foopara.phpcsmd.generics.GenericAnnotationBuilder.annotateLine() calls
LineCookie.getLineSet().getLines().size(), which is quite slow, in EDT.

I'm not sure it can be fixed in openide.text (see bug 223634), but it can be
probably fixed in the plugin (if LineSet is processed in a background thread).

Reassigning to owner to the plugin.
Please evaluate it. Thank you.
Comment 3 vralfy 2013-11-16 08:59:51 UTC
Thanks for the report.

I will add this "Bug" to the official GitHub Repo (as soon it is available).

https://github.com/vralfy/phpcsmd/issues

You are welcome to contibute your solutions there.
Comment 4 vralfy 2013-11-16 09:02:18 UTC
GitHub issue: https://github.com/vralfy/phpcsmd/issues/34
Comment 5 Jaroslav Havlin 2013-12-09 16:22:58 UTC
*** Bug 239272 has been marked as a duplicate of this bug. ***
Comment 6 Jaroslav Havlin 2014-04-04 11:46:57 UTC
*** Bug 243471 has been marked as a duplicate of this bug. ***
Comment 7 Jaroslav Havlin 2014-07-11 10:25:31 UTC
*** Bug 245584 has been marked as a duplicate of this bug. ***