After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772818 - Web extension takes two seconds to initialize due to https_everywhere_init
Web extension takes two seconds to initialize due to https_everywhere_init
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-12 19:21 UTC by Yosef Or Boczko
Modified: 2016-11-26 17:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yosef Or Boczko 2016-10-12 19:21:43 UTC
After the last changes in the overview (maybe it unrelated to the changes in the overview itself), it take a few seconds to be load.
I'm expect this page to be load in a minutes as it was before…

(as alwayas, epiphany from git master)
Comment 1 Michael Catanzaro 2016-10-12 21:15:51 UTC
It's instantaneous for me, but I have a fast computer....

Do you know which change in particular introduced the problem? The overview hasn't really changed much in a long time, except for https://git.gnome.org/browse/epiphany/commit/?h=gnome-3-22&id=c717349b8cd26bc8eaf6317eb8e28c3be4698ef6. Was that it?
Comment 2 Michael Catanzaro 2016-10-12 21:27:18 UTC
OK I do see it's taking a while now, but it's hard to notice because I develop with a debug build of WebKit, and loading everything is slow. :)

I'm wondering if this might be unrelated to the overview. Could it be a general slowdown loading all pages? Could it be caused by libhttpseverywhere? Would you mind testing a few commits to see where the problem was introduced?
Comment 3 Yosef Or Boczko 2016-10-12 22:09:33 UTC
It could be a general issue, not specific for the overview.
Comment 4 Michael Catanzaro 2016-10-13 01:00:16 UTC
(In reply to Yosef Or Boczko from comment #3)
> It could be a general issue, not specific for the overview.

OK, the problem is that https_everywhere_init() takes roughly two seconds (on my machine). This might be tricky to solve. :(

The good news is that https_everywhere_rewrite() seems quite fast.
Comment 5 Michael Catanzaro 2016-10-24 23:59:08 UTC
OK, moved this to the UI process. Now this should only be a problem for the very first tab loaded in the web browser, and only if that tab uses an http:// URI.