9front - general discussion about 9front
 help / color / mirror / Atom feed
* Plan 9 buffered IO vs APE stdio in netsurf
@ 2020-05-16 10:02 jamos
  2020-05-16 22:22 ` [9front] " ori
  0 siblings, 1 reply; 4+ messages in thread
From: jamos @ 2020-05-16 10:02 UTC (permalink / raw)
  To: 9front; +Cc: jonas

Folks, I have made experiments using plan 9 buffered IO (bio) for the 
logger in netsurf, in place of the standard APE stdio logging. If run in 
verbose mode (-v) directing stderr to a separate window, my time from 
start to a loaded welcome screen is down by 50% (from 2 sec to 1 sec) if 
I run locally on my laptop. If I run over my WAN link, the startup time 
is almost 10 times lower (from 6 min to 38 sec). The downside is that it 
induces changes to an otherwise working upstream file 
(nsport/netsurf/utils/log.c).

Is it worth it? I very much like bio speed, but am trying to patch the 
upstream source as little as possible.

Jonas


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

end of thread, other threads:[~2020-05-17 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 10:02 Plan 9 buffered IO vs APE stdio in netsurf jamos
2020-05-16 22:22 ` [9front] " ori
2020-05-17  9:02   ` Steve Simon
2020-05-17 10:14     ` jamos

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).