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 173325 - [68cat] Invoking Save All took 3334 ms.
Summary: [68cat] Invoking Save All took 3334 ms.
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Max Sauer
URL: http://statistics.netbeans.org/except...
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-09-29 22:57 UTC by jasondonmoyer
Modified: 2009-10-01 10:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157634


Attachments
nps snapshot (9.68 KB, bin/nps)
2009-09-29 22:57 UTC, jasondonmoyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasondonmoyer 2009-09-29 22:57:48 UTC
Build: NetBeans IDE Dev (Build 200909221401)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, amd64

User Comments:
GUEST: Saving PHP file

GUEST: Saving PHP files

GUEST: Saving change to PHP file

GUEST: Just saving a single PHP file

GUEST: Saving PHP

GUEST: Just saving a PHP file... this is terribly slow!

GUEST: Saving PHP files

GUEST: Saving PHP changes...

jasondonmoyer: invoking the saveall action


Maximum slowness yet reported was 10823 ms, average is 8006
Comment 1 jasondonmoyer 2009-09-29 22:57:53 UTC
Created attachment 88552 [details]
nps snapshot
Comment 2 Exceptions Reporter 2009-09-29 22:57:58 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=157634
Comment 3 Stanislav Aubrecht 2009-09-30 08:54:39 UTC
all the reports are invalid, time spent in AWT is just a few milliseconds
reassigning to performance team
Comment 4 Stanislav Aubrecht 2009-09-30 08:55:53 UTC
probably some problem in slowness detector or in the server script that collates performance data, not sure i reassigned
to the correct component though...
Comment 5 Tomas Pavek 2009-09-30 17:35:04 UTC
There is no problem, just the older snapshots did not contain the time a thread was waiting. That's why the time of AWT
thread is reported small, but in fact it was blocked all the time. You can see the Object.wait call if you expand it.
It's pretty clear what it waits for - there's only one other thread doing something.

org.netbeans.editor.GlyphGutter is doing something and require document read lock, which is held by long task of
mobility saving the document, so it waits for it to finish, blocking AWT event queue. Reassigning to editor for
evaluation if this can be avoided. Maybe it's fixed already, there's no newer report than from 20090802 build.
Comment 6 Max Sauer 2009-10-01 10:29:34 UTC
There have been several fixes in this area during last month. Let's wait if a newer report appears, in the meantime, I'll mark this as FIXED.