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 237935

Summary: Editor slow (PHP, JS), delayed typing and scrolling
Product: javascript Reporter: mp <mp-nb>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: docwalter, jwhowar1, sohorev
Priority: P3    
Version: 7.4   
Hardware: Macintosh (x86)   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Profiling information for netbeans php on osx mavericks

Description mp 2013-11-04 09:24:31 UTC
Using the PHP-Editor (also JS-Editor) (Typing, Scrolling) is a little bit slow.

Scrolling down with the cursor and typing hangs often for some milli seconds,
so using Netbeans at the moment is no fun.
In the CSS-Editor it is more quickly.

I tried to disable all kinds of plugins, 
and tried to disable as much settings as possible,
but still hanging.
Only after disabling PHP-Plugin itself it was fast,
but then no Code-Highlightning and so on ...

OS X Maverick
Netbeans 7.3.1/7.4

java version "1.7.0_25" (also "1.7.0_45")
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Please find a fix quickly, 
i like only Netbeans really much!
Comment 1 Ondrej Brejla 2013-11-04 09:32:31 UTC
Imho it will be problem just on Mavericks. I have it at home and it seems to be slow in 7.3.1 as well (you wrote it too), but at work on Ubuntu, it works well. Can you attach some profiling snapshots? Thanks.
Comment 2 jwhowar1 2013-11-18 21:19:14 UTC
Created attachment 142329 [details]
Profiling information for netbeans php on osx mavericks
Comment 3 jwhowar1 2013-11-18 21:21:44 UTC
I am experiencing similar lag on both of my Macs running Mavericks.  I don't think it is a hardware limitation as I never had the issue with 10.8(Mid-2010 MBP with 2.66 i7/8gb ram, Mid-2011 MacMini with 2.7 i7/16gb ram... both have fusion drives in them also).

I can create a longer snapshot if needed.  The attached snapshot is a javascript file I was scrolling thru and added some random text to.
Comment 4 Ondrej Brejla 2013-11-19 09:10:55 UTC
Not sure if it's just PHP related, I don't see anything strange from PHP point of view in snapshot (any PHP class, just some JS structure scanner). So probably JS related problem, or maybe CSL? Reassigning to js for further evaluation, thanks!
Comment 5 mp 2013-11-19 12:58:04 UTC
It's definetly even more a PHP problem,
because the PHP-Editor is slowed down.
Comment 6 jwhowar1 2013-11-19 18:13:21 UTC
Let me know if there is anything else I can provide that will help in debugging/correcting the problem.  I used Netbeans on a daily basis and the fact that it is free is awesome... anything I can do to help with it, I am more than willing to.