edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] jspool
@ 2014-02-07 20:12 Karl Dahlke
  2014-02-07 21:38 ` Chris Brannon
  0 siblings, 1 reply; 5+ messages in thread
From: Karl Dahlke @ 2014-02-07 20:12 UTC (permalink / raw)
  To: Edbrowse-dev

People doing lots of browsing, on new machines, will want a large js pool;
people with older low memory machines that mostly edit files
will not want to waste that memory on js, and will want a smaller pool.
I can make a new config parameter for this if you agree.

Karl Dahlke

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Edbrowse-dev] jspool
@ 2017-08-13 11:31 Karl Dahlke
  2017-08-13 21:29 ` Kevin Carhart
  0 siblings, 1 reply; 5+ messages in thread
From: Karl Dahlke @ 2017-08-13 11:31 UTC (permalink / raw)
  To: Edbrowse-dev

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

You know what's funny? I finally got rid of the old jspool parameter.
Remember we had to set the size of the js pool at startup?
We had to anticipate, guess, how much space edbrowse would need for js, and if we were in edbrowse all day and browsed yet one more site with lots of js, boom!
Well we don't have to worry about that any more.
duktape doesn't have a pool of a fixed size, it allocates what it needs. Duh!
So jspool is a nice thing to leave behind.

I left the memory hog test in jsrt for now.
Push the memorry fill button and it creates 20 million objects no problem.
Although, ha ha, it prints a counter every 10,000 objects, which is fine for me, but my wife finally told me that alert on any other browser is not the same as print,
it's a message that you have to acknowledge before you can move on.
Sometimes I'm at a real disadvantage never running a regular browser.
Nobody would want to click ok 200 times, so maybe I should remove that status alert.
Well nobody runs jsrt on a regular browser, except Geoff, cause he's curious.

Karl Dahlke

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

end of thread, other threads:[~2017-08-13 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 20:12 [Edbrowse-dev] jspool Karl Dahlke
2014-02-07 21:38 ` Chris Brannon
2017-08-13 11:31 Karl Dahlke
2017-08-13 21:29 ` Kevin Carhart
     [not found]   ` <20170713174445.eklhad@comcast.net>
2017-08-13 23:01     ` Kevin Carhart

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 NNTP newsgroup(s).