unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Load eww during initial bootstrap/dump?
@ 2020-10-01 15:03 T.V Raman
  2020-10-01 15:20 ` Eli Zaretskii
  2020-10-01 15:23 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: T.V Raman @ 2020-10-01 15:03 UTC (permalink / raw)
  To: emacs-devel

EWW takes time to load the first time, not sure why since it doesn't
look that big at first glance. Given  that it works well and is table
could we have it part of the initial bootstrap to spped up 

-- 

Thanks,

--Raman
♉ Id: kg:/m/0285kf1  🦮

-- 

Thanks,

--Raman
♉ Id: kg:/m/0285kf1  🦮



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Load eww during initial bootstrap/dump?
  2020-10-01 15:03 Load eww during initial bootstrap/dump? T.V Raman
@ 2020-10-01 15:20 ` Eli Zaretskii
  2020-10-01 15:23 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2020-10-01 15:20 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

> From: "T.V Raman" <raman@google.com>
> Date: Thu,  1 Oct 2020 08:03:04 -0700 (PDT)
> 
> EWW takes time to load the first time, not sure why since it doesn't
> look that big at first glance.

It loads 100 packages, that's why.  Set force-load-messages non-nil
before typing "M-x eww" for the first time, and you will see the full
list in *Messages*.

> Given that it works well and is table could we have it part of the
> initial bootstrap to spped up

You mean, preload all those 100 packages?  Doesn't sound like a good
idea to me.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Load eww during initial bootstrap/dump?
  2020-10-01 15:03 Load eww during initial bootstrap/dump? T.V Raman
  2020-10-01 15:20 ` Eli Zaretskii
@ 2020-10-01 15:23 ` Lars Ingebrigtsen
  2020-10-01 15:26   ` T.V Raman
  1 sibling, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-01 15:23 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

"T.V Raman" <raman@google.com> writes:

> EWW takes time to load the first time, not sure why since it doesn't
> look that big at first glance. 

(benchmark-run 1 (require 'eww))
=> (0.118644701 6 0.046413934)

If it takes longer for you to load eww, perhaps you have some local
customisations that it pulls in?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Load eww during initial bootstrap/dump?
  2020-10-01 15:23 ` Lars Ingebrigtsen
@ 2020-10-01 15:26   ` T.V Raman
  2020-10-01 15:28     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: T.V Raman @ 2020-10-01 15:26 UTC (permalink / raw)
  To: larsi; +Cc: raman, emacs-devel

your numbers look similar to mine, it's just that the first time
launch delay is perceptible Lars Ingebrigtsen writes:
 > "T.V Raman" <raman@google.com> writes:
 > 
 > > EWW takes time to load the first time, not sure why since it doesn't
 > > look that big at first glance. 
 > 
 > (benchmark-run 1 (require 'eww))
 > => (0.118644701 6 0.046413934)
 > 
 > If it takes longer for you to load eww, perhaps you have some local
 > customisations that it pulls in?
 > 
 > -- 
 > (domestic pets only, the antidote for overdose, milk.)
 >    bloggy blog: http://lars.ingebrigtsen.no

-- 
♉Id: kg:/m/0285kf1  🦮♉

--
♉Id: kg:/m/0285kf1  🦮♉



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Load eww during initial bootstrap/dump?
  2020-10-01 15:26   ` T.V Raman
@ 2020-10-01 15:28     ` Lars Ingebrigtsen
  2020-10-01 15:39       ` T.V Raman
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-01 15:28 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

"T.V Raman" <raman@google.com> writes:

> your numbers look similar to mine, it's just that the first time
> launch delay is perceptible

0.1s is perceptible?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Load eww during initial bootstrap/dump?
  2020-10-01 15:28     ` Lars Ingebrigtsen
@ 2020-10-01 15:39       ` T.V Raman
  0 siblings, 0 replies; 6+ messages in thread
From: T.V Raman @ 2020-10-01 15:39 UTC (permalink / raw)
  To: larsi; +Cc: raman, emacs-devel

sometimes takes 0.5. Perceptible here is hard to define given that I
may well have hit a network delay as well -- hard to tell. To me
perceptible == time between  hitting a key and when I hear speech Lars Ingebrigtsen writes:
 > "T.V Raman" <raman@google.com> writes:
 > 
 > > your numbers look similar to mine, it's just that the first time
 > > launch delay is perceptible
 > 
 > 0.1s is perceptible?
 > 
 > -- 
 > (domestic pets only, the antidote for overdose, milk.)
 >    bloggy blog: http://lars.ingebrigtsen.no

-- 
♉Id: kg:/m/0285kf1  🦮♉

--
♉Id: kg:/m/0285kf1  🦮♉



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-01 15:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-01 15:03 Load eww during initial bootstrap/dump? T.V Raman
2020-10-01 15:20 ` Eli Zaretskii
2020-10-01 15:23 ` Lars Ingebrigtsen
2020-10-01 15:26   ` T.V Raman
2020-10-01 15:28     ` Lars Ingebrigtsen
2020-10-01 15:39       ` T.V Raman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).