jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Enabling timestamps and copying and pasting many entries is very slow

Open ThiloteE opened this issue 3 years ago • 1 comments

Let me add another performance report: I copied the 10500 entries of my database (the message of having copied the entries came after about 1.2 seconds, fine)). Pasting it into a new empty file took about 9 minutes. meanwhile, jabref was not usable.

I have now disabled the timestamp and repeated the operation of creating an entirely new database. copying and pasting the >10500 entries was much swifter: 23-26 seconds.

  • Originally posted by @ilippert in https://github.com/JabRef/jabref/issues/5071#issuecomment-624306657
  • Meta issue: https://github.com/JabRef/jabref/issues/8906

JabRef 5.1--2020-05-04--7bb1e24 Linux 5.6.8-200.fc31.x86_64 amd64 Java 14.0.1

ThiloteE avatar Jul 14 '22 21:07 ThiloteE

@Christoph @calixtus

Maybe this will be fixed by your refactor of the import format reader and clipboard manager ? :-)

To do:

  • [x] try to reproduce with #8839 Result: Still very slow even with timestamps disabled! I copy pasted 10 000 entries (timestamps disabled). I force closed JabRef 29 minutes after start, because the operation seemed to take endless. RAM remained constant. CPU was maxed out: grafik

    Edit: Simply copying 500 entries very reliably takes 30 seconds on my laptop. (I did multiple tests). Doing the math, copying 10 000 entries then SHOULD take around 10 minutes, but for some reason it does take a lot longer.

ThiloteE avatar Jul 14 '22 21:07 ThiloteE