-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fast search #1100
Fast search #1100
Conversation
- New class MainTableDataModel which holds all sorted and filtered lists plus sorting and filtering logic. - If a search is still active while entering a new search term, the previous search is cancelled. This improves search time quite a lot. - By filtering after the sorting, the search is extremely fast as the amount of sorting is reduced dramatically - Using "filter" search should be now the fastest search, as no sorting has to take place
…now working again.
…ry quickly (5 sec vs. 60 sec for 40k entries)
L(fast)TM 👍 |
LGTM 👍 |
Running the benchmarks with this PR merged in shows that the writing speed was improved by an additional factor of 10 (being now at roughly 60k entries per second). Good job 👍 |
Considering users reported JabRef to be slow, this is a great improvement (worth being advertised in the blog!). |
The problem is, I think currently we lack people writing these blog posts... :) |
@simonharrer: A problem? Here is the stub of a solution. For later on: who is in charge of the blog? %%%%%%%%%%%%%%%%%%%%%%%%%% A faster JabRef is coming!Some users reported JabRef was slow on large databases (thank you for the feedback!). This was especially the case for three operations:
During a search, the user interface could become very unresponsive, which is indeed quite annoying... Well, this time will be over soon: Programmer @simonharrer has recently contributed code making search much faster (#1100). Preliminary tests have been carried out on a database with 100000 entries (is it big enough for you?). They shows that JabRef is now 10 times faster at searching: about 60000 entries are searched per second. If you want to give a try: http://builds.jabref.org/master/ (this is a development version. So, be carefully, and back up your data!). Your comments are welcomed at #1100 About opening large databases: work is under way to speed it up You can follow this development at #1094 |
Great, now we need the blog of the Stupro project so the students and alsomlep and other can add small blog posts! |
the blog is already online, I think. |
It is here: http://www.jabref.org/blog/ |
@mlep |
@lc9275 I have a database the same as as yours, and scrolling is ok. |
@mlep That solved the problem, nice and smooth! I was using a dev version of a month or two ago. Thanks for the quick feedback, and I am happy it is solved in the current version. |
@lc9275 donations http://www.jabref.org/#sections50-donations keep us going :) |
Still slow responding to keyboard in Search. I type, and then have to wait several seconds for the characters to appear in the search dialogue. SEarch itself is fast. Typing in request lags. |
@hankstevens01 Could you provide some insights on your concrete library you are working with? - I think, your issue is also described at #5071, isn't it? |
Hi Oliver,
I went to the #5701 link but could not view the links, e.g.,
https://app.box.com/s/fxwcska8dm5rlilv6a9mqswelkrqkh0t
My issue has these characteristics:
1. typing search terms has a big lag.
2. the actual search is fast once it is initiated.
Starting with an empty search bar, I type author=smith, and there was a lag
of about 20 s until "a" appeared, and then another 20 s until author=smith
was completed. This makes it difficult to know what you have typed.
Once "author=smith" is completed, there is a fraction of a sec to return
the result.
…On Mon, Mar 23, 2020 at 3:37 PM Oliver Kopp ***@***.***> wrote:
@hankstevens01 <https://github.com/hankstevens01> Could you provide some
insights on your concrete library you are working with? - I think, your
issue is also described at #5071
<#5071>, isn't it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1100 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVZLPARYKBF3FQJGW4AOV3RI7CA3ANCNFSM4B76EMKA>
.
--
“Life is a garden, not a road. We enter and exit through the same gate.
Wandering, where we go matters less than what we notice.”
Dr. Hank Stevens
Pronouns: he/his
Director, Ph.D. Program in Ecology, Evolution, and Environmental Biology
<https://miamioh.edu/cas/academics/programs/eeeb/>
Associate Professor (lab website <https://blogs.miamioh.edu/stevens-lab/>)
Miami University | Department of Biology
433 Hughes Hall
Oxford, OH 45056 O: 513-529-4206 | Hank.Stevens@MiamiOH.edu
<https://miamioh.edu//miami-tribe-relations/index.html>
Learn more about Miami Tribe Relations
<https://miamioh.edu//miami-tribe-relations/index.html>
|
I forgot to mention that my library includes 19,866 records.
…On Mon, Mar 23, 2020 at 3:37 PM Oliver Kopp ***@***.***> wrote:
@hankstevens01 <https://github.com/hankstevens01> Could you provide some
insights on your concrete library you are working with? - I think, your
issue is also described at #5071
<#5071>, isn't it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1100 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVZLPARYKBF3FQJGW4AOV3RI7CA3ANCNFSM4B76EMKA>
.
--
“Life is a garden, not a road. We enter and exit through the same gate.
Wandering, where we go matters less than what we notice.”
Dr. Hank Stevens
Pronouns: he/his
Director, Ph.D. Program in Ecology, Evolution, and Environmental Biology
<https://miamioh.edu/cas/academics/programs/eeeb/>
Associate Professor (lab website <https://blogs.miamioh.edu/stevens-lab/>)
Miami University | Department of Biology
433 Hughes Hall
Oxford, OH 45056 O: 513-529-4206 | Hank.Stevens@MiamiOH.edu
<https://miamioh.edu//miami-tribe-relations/index.html>
Learn more about Miami Tribe Relations
<https://miamioh.edu//miami-tribe-relations/index.html>
|
I can confirm the search is still unworkable slow. My database only has 2000 entries. I think the search itself is the problem, as a search is performed each time a character is entered, instead of after the user presses return. |
Search is now blazingly fast (compared to before)
Issues
Please try this out.
Related