|
From: Eric Le L. <ker...@us...> - 2019-03-22 19:53:29
|
You could try to install jvisualvm and do CPU profiling to see what's taking so much time. For me (debian stretch, i3) it was gnome ATK wrapper that really killed the performance. See https://stackoverflow.com/questions/47985068/bug-in-gnomes-java-atk-wrapper-how-to-disable-accessibility-for-a-swing-compo for a way to disable it. --- ** [bugs:#4078] TDO DIR. CS jEdit 5.5 File Open (Slow) Bug 2019-03-20** **Status:** open **Group:** normal bug **Labels:** trondelta TDO file open jEdit 5.5 2019 **Created:** Wed Mar 20, 2019 12:40 AM UTC by Mathias Hollstein **Last Updated:** Thu Mar 21, 2019 01:41 AM UTC **Owner:** nobody **Attachments:** - [activity.log](https://sourceforge.net/p/jedit/bugs/4078/attachment/activity.log) (145.2 kB; text/x-log) **Preamble:** This is *not* a patch, complaint, question, feature request or plugin bug! **Assumptions:** TRON-DELTA.ORG Xubuntu SE 2018 (X64/AMD64) Linux v4.15.0 (SMP x86-64) jEdit v5.5.0 on OpenJDK JRE v1.8.0-191 and OpenJDK 64-Bit Server VM v25.191 mixed mode * jEdit is configured via configuration menu, without hacks or illegal/no-working items loaded * jEdit installed but inactive (for testing) plugins are: Common Controls ErrorList Info Viewer JDiffPlugin LucenePlugin MarkerSets Process Shell Project Viewer Sessions SideKick WhiteSpace **Bug Description:** Opening several files at once (1 to ~10 files) works fine, while opening more, e.g. 20, 30, 50 or 100 files at once, takes a long time (approx. 1 second per file) to open them. For testing the /home/<username>/.jedit/ directory was backed-up and the erased. After starting jEdit with a fresh ~/.jedit directory and default configuration, the issue was still present when opening multiple files at once via the File --> Open. In jEdit version 4.x, opening even 300+ files at once was not an issue and took only a few seconds. The more files are already opened / registered (BufferSet and EditBus) the longer each additional file open operation takes. With 100+ files the system slowly comes to a halt and 200+ files required me to switch TTY and kill jEdit after 20 minutes. **Logs:** - The follwong operations took 2 seconds, loading 4-5 files of 25 total 1:08:06 AM [AWT-EventQueue-1] [debug] BufferSet: 515504231 addBufferAt(FileZilla.desktop (~/.desktop/),-1) 1:08:06 AM [AWT-EventQueue-1] [debug] BufferSet: 515504231: Buffer added FileZilla.desktop (~/.desktop/) at 13 1:08:06 AM [AWT-EventQueue-1] [debug] EditBus: BufferUpdate[what=CREATED,view=org.gjt.sp.jedit.View[active],source=FileZilla.desktop (~/.desktop/)] 1:08:06 AM [AWT-EventQueue-1] [debug] EditBus: BufferChanging[what=BUFFER_CHANGING,source=org.gjt.sp.jedit.EditPane[active]] 1:08:06 AM [AWT-EventQueue-1] [debug] EditBus: EditPaneUpdate[what=BUFFER_CHANGED,source=org.gjt.sp.jedit.EditPane[active]] 1:08:06 AM [AWT-EventQueue-1] [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=org.gjt.sp.jedit.View[active],source=Firefox.desktop (~/.desktop/)] 1:08:06 AM [AWT-EventQueue-1] [debug] BufferSet: 515504231 addBufferAt(Firefox.desktop (~/.desktop/),-1) 1:08:06 AM [AWT-EventQueue-1] [debug] BufferSet: 515504231: Buffer added Firefox.desktop (~/.desktop/) at 14 1:08:06 AM [AWT-EventQueue-1] [debug] EditBus: BufferUpdate[what=CREATED,view=org.gjt.sp.jedit.View[active],source=Firefox.desktop (~/.desktop/)] 1:08:07 AM [AWT-EventQueue-1] [debug] EditBus: BufferChanging[what=BUFFER_CHANGING,source=org.gjt.sp.jedit.EditPane[active]] 1:08:07 AM [AWT-EventQueue-1] [debug] EditBus: EditPaneUpdate[what=BUFFER_CHANGED,source=org.gjt.sp.jedit.EditPane[active]] 1:08:07 AM [AWT-EventQueue-1] [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=org.gjt.sp.jedit.View[active],source=FontForge.desktop (~/.desktop/)] 1:08:07 AM [AWT-EventQueue-1] [debug] BufferSet: 515504231 addBufferAt(FontForge.desktop (~/.desktop/),-1) 1:08:07 AM [AWT-EventQueue-1] [debug] BufferSet: 515504231: Buffer added FontForge.desktop (~/.desktop/) at 15 1:08:07 AM [AWT-EventQueue-1] [debug] EditBus: BufferUpdate[what=CREATED,view=org.gjt.sp.jedit.View[active],source=FontForge.desktop (~/.desktop/)] 1:08:07 AM [AWT-EventQueue-1] [debug] EditBus: BufferChanging[what=BUFFER_CHANGING,source=org.gjt.sp.jedit.EditPane[active]] 1:08:07 AM [AWT-EventQueue-1] [debug] EditBus: EditPaneUpdate[what=BUFFER_CHANGED,source=org.gjt.sp.jedit.EditPane[active]] 1:08:07 AM [AWT-EventQueue-1] [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=org.gjt.sp.jedit.View[active],source=Gdebi-GTK.desktop (~/.desktop/)] 1:08:07 AM [AWT-EventQueue-1] [debug] BufferSet: 515504231 addBufferAt(Gdebi-GTK.desktop (~/.desktop/),-1) 1:08:07 AM [AWT-EventQueue-1] [debug] BufferSet: 515504231: Buffer added Gdebi-GTK.desktop (~/.desktop/) at 16 1:08:08 AM [AWT-EventQueue-1] [debug] EditBus: BufferUpdate[what=CREATED,view=org.gjt.sp.jedit.View[active],source=Gdebi-GTK.desktop (~/.desktop/)] 1:08:08 AM [AWT-EventQueue-1] [debug] EditBus: BufferChanging[what=BUFFER_CHANGING,source=org.gjt.sp.jedit.EditPane[active]] 1:08:08 AM [AWT-EventQueue-1] [debug] EditBus: EditPaneUpdate[what=BUFFER_CHANGED,source=org.gjt.sp.jedit.EditPane[active]] 1:08:08 AM [AWT-EventQueue-1] [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=org.gjt.sp.jedit.View[active],source=GIMP.desktop (~/.desktop/)] 1:08:08 AM [AWT-EventQueue-1] [debug] BufferSet: 515504231 addBufferAt(GIMP.desktop (~/.desktop/),-1) 1:08:08 AM [AWT-EventQueue-1] [debug] BufferSet: 515504231: Buffer added GIMP.desktop (~/.desktop/) at 17 **Conclusion/Request:** Since the migration to a new Linux and jEdit version something must have changed for the worse. Hopefully its just my setup and not a general issue. Therefore, I politely ask the jEdit developers for help with tracking down the issue and reducing load times to a fraction of the current times. Thanks for your help in advance! --- Sent from sourceforge.net because jed...@li... is subscribed to https://sourceforge.net/p/jedit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |