Why is history search so slow?
-
It takes forever to simply search my browser history. Just typing in the search can take 20 seconds. It's a major hangup which is causing me to consider switching to another browser. What's wrong?
-
@watha For how long do you store your browsing history in Settings, Privacy? There could be thousands of entries.
-
@Pesala I've got many thousands of items in my history. I don't want to delete them. And a piece of modern software should have no trouble keeping up with a very large history. After all, the actual file size can only be a couple hundred megabytes at most, which ought to be trivial for a modern computer.
Hmm. I'm making an interesting assumption there. How big IS the file? Do you know where it's located, so I can check?
-
When typing into the search box, there should be a debounce. Wait e.g., 200ms between keystrokes to begin filtering. I'm pretty sure this is the problem, and should be a pretty straightforward fix.
-
History search is also very slow to me, it can take minutes to complete Ctrl+H.
-
@rapierx2
Hi, as it take not even e second to open my history, how big is your history file?
What do you set in vivaldi://settings/privacy/ for "Save Browsing History"?
Vivaldi use the same history management as Chrome so should as fast as Chrome for search.The path to the profile is published in File > Help > About
In the folder "Default" is the file "History"Cheers, mib
-
@mib2berlin said in Why is history search so slow?:
@rapierx2
Hi, as it take not even e second to open my history, how big is your history file?I don't know... where I can verify that?
What do you set in vivaldi://settings/privacy/ for "Save Browsing History"?
Vivaldi use the same history management as Chrome so should as fast as Chrome for search."Save history forever". That's what I want.
The path to the profile is published in File > Help > About
In the folder "Default" is the file "History"The size of the file is 110MB.
-
@rapierx2
Hi, my history goes back to October 2021 and the history file is 10 MB!
I cant imagine how many entries are in a 110 MB file but I fear this slow down searching and opening.
Did you use another Chromium browser that way?
They all use the same history system.Cheers, mib
-
@mib2berlin said in Why is history search so slow?:
@rapierx2
Hi, my history goes back to October 2021 and the history file is 10 MB!
I cant imagine how many entries are in a 110 MB file but I fear this slow down searching and opening.
Did you use another Chromium browser that way?No, I only use Vivaldi. I use Firefox as secondary browser.
-
My history file is about 14MB, containing something in the order of 12,000 - 17,000 entries (3 months).
It's not just searching which is slow for me, but the entire history tab. And the entire browser freezes when the history tab is doing things which makes this problem worse.
They really should do the slow work in a separate thread so that the browser itself and/or the UI part of the history tab stays responsive.
-
It's still very slow. Team should compare to Opera history search which is quite responsive. I agree with @boneskull that there should be a delay before filtering so that if you type a word it's not trying to search after each character but rather waits giving you a chance to type a few characters before searching
-
@browseruser @EmeraldSlash
Hi, my history file is only 10 MB for 3 month but search results are shown immediately and the UI does not lag at all.
I guess a 110 MB file from the user above slows this down a bit but should not be a problem for a database either.
Do you have any other lagging, UI or address bar?Cheers, mib
-
Occasionally I notice the browser lags a bit, but not often enough for me to remember any details. Generally thing are pretty responsive.
Two things though:
-
In the history tab, changing the display mode (list, day, week, month) is a bit slow but it doesn't lock up the entire browser. Similarly for selecting a specific date in the "day picker calendar" on the left side.
-
There is one other bug which occurs seemingly at random, or at least I haven't been able to determine the cause other than that it only happens when I'm actively doing things in the browser (and maybe when I'm using the address bar or tabs?). The browser will completely freeze until I drag the window around (usually I have it maximized, so I start dragging which un-maximizes the window, it will unfreeze, then I will re-maximize it to put it back where it was).
Also I only use Vivaldi on Windows 10, so I can't say whether the issues happen elsewhere.
-
-
@EmeraldSlash
About the freezing, some user report freeze or page or cant scroll anymore and I have this, too.
On user report a cookie delete extension cause this, after removing the freezing stops. I have my "I still don´t care" cookie extension disabled at moment. No freezing but I have to wait a few days to verify this.
Extensions can really do anything to hurt a browser, I learn here during to try to help Vivaldi user: 90% of the issues are caused by extensions.
To be honest, I would never have thought of moving the window.Cheers, mib
-
@mib2berlin
I should probably try disabling my extensions and see if it still happens. I don't have a cookie extension, but maybe one of the other is the problem.As a programmer though, my initial guess would be that the freezing is not caused by an extension because surely an extension wouldn't have the capability to freeze the entire browser window. And the freezing is fixed by dragging the window because presumably the browser is responding to the drag window messages and overwrites whatever bad state in the main browser thread caused the freeze.
-
@EmeraldSlash
Hm, they can crash a tab or the whole browser but change the state with dragging make sense to me.
This sounds not like it is connected with an extension.
We are a bit off topic now.
If you can get information about the freeze or could reproduce it, open a new thread, please.Cheers, mib
-
-
@mib2berlin I think my history file is 66 MB. The normal browser address bar does not lag.
-
@nelliott500 Thanks that greatly improved the speed