9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: jamos@oboj.net, 9front@9front.org
Cc: jonas@amoson.se
Subject: Re: [9front] Plan 9 buffered IO vs APE stdio in netsurf
Date: Sat, 16 May 2020 15:22:06 -0700	[thread overview]
Message-ID: <D506DD1E7776D2BDFCCA29F5193E8B28@eigenstate.org> (raw)
In-Reply-To: <35c584755d7907bfe42ec3b9002a7c43@oboj.net>

> 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

It's up to you -- are you comfortable maintaining this diff against
upstream? If you are, go for it.

(The other question: why are we logging so much that this matters? Can
we shut things up, at least when not debugging?)



  reply	other threads:[~2020-05-16 22:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-16 10:02 jamos
2020-05-16 22:22 ` ori [this message]
2020-05-17  9:02   ` [9front] " Steve Simon
2020-05-17 10:14     ` jamos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D506DD1E7776D2BDFCCA29F5193E8B28@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \
    --cc=jamos@oboj.net \
    --cc=jonas@amoson.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).