Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using up and down keys in main table is extremly slow #4171

Closed
stefan-kolb opened this issue Jul 5, 2018 · 10 comments
Closed

Using up and down keys in main table is extremly slow #4171

stefan-kolb opened this issue Jul 5, 2018 · 10 comments

Comments

@stefan-kolb
Copy link
Member

Even feels like nonresponsive at first.
Afterwards the marking jumps in chunks of ~5 when trying to cycle though the entries very fast.
It feels like the computation of the entries became even slower than on v4.3!

@alfureu
Copy link

alfureu commented Jul 7, 2018

Same issue here, overall the new JabRef 4.3.1 is using rather high CPU (i7-7700HQ @ 2.8GHz) averaging around 18-19% when nothing is being done (see attached screenshot).

You can see from the screenshot that the DB has 7 items … such a high CPU usage is unjustified.

jabref

@stefan-kolb
Copy link
Member Author

@DOFfactory What java version are you using? Java < 1.8.0_172 produces constant load. See #3943.

@alfureu
Copy link

alfureu commented Jul 9, 2018

Hi @stefan-kolb, it is indeed Java 1.8.0_172 (fresh JabRef install, fully updated system Win 10). I must highlight that the high CPU usage does not happen immediately, I need to have JabRef open for a while, and as I am checking various entries, the CPU goes up and never goes back down to the initial states, e.g. <5%.

@stefan-kolb
Copy link
Member Author

Ok, so we also need to keep an eye on that again! Thanks.

@alfureu
Copy link

alfureu commented Jul 9, 2018

Just an idea, but I wonder what html renderer is JabRef using for the Entry Preview (Gecko, Webkit, something else)? I have edited my preview with some goodies, and I wonder whether this is not the culprit...

@Siedlerchr
Copy link
Member

We use the default JavaFX web component.
To which preview style are you referring? The html like style? Or are you using one of the CSL ones, e.g. ACM ?

Could you test the latest Master version?
Remember to make a backup of your library.

@alfureu
Copy link

alfureu commented Jul 11, 2018

Hi @Siedlerchr , I am using my own style that I created to look like this two-column style (sorry, coming from BibDesk). I followed the CustomExport filters to re-create it, so I wonder that this is causing such a high CPU.

I am on Windows so I am not sure how to test the latest Master version - do you want me to clone the git somewhere? I would appreciate some short how-to, if I may bother you.

@stefan-kolb
Copy link
Member Author

You can try the latest build from http://builds.jabref.org/master. It is packaged similar to the release versions.

@alfureu
Copy link

alfureu commented Jul 11, 2018

Ok, tested, seems fixed. Although the UI is ugly, hope it will be fixed or at least adjustable

@Siedlerchr
Copy link
Member

Thank you for reporting this issue. We think, that is already fixed in our development version and consequently the change will be included in the next release.

We would like to ask you to use a development build from https://builds.jabref.org/master and report back if it works for you. Please remember to make a backup of your library before trying-out this version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants