From: claudio.bley@gmail.com (Claudio Bley)
To: emacs-devel@gnu.org
Subject: Re: Calling 'select' from emacs_gnutls_pull
Date: Fri, 22 Feb 2013 16:17:27 +0100 [thread overview]
Message-ID: <87ip5kwf7c.wl%claudio.bley@gmail.com> (raw)
In-Reply-To: <83ehg8mso1.fsf@gnu.org>
At Fri, 22 Feb 2013 14:36:46 +0200,
Eli Zaretskii wrote:
>
> > From: claudio.bley@gmail.com (Claudio Bley)
> > Date: Fri, 22 Feb 2013 12:15:36 +0100
> >
> > Average for with-select key over 3 runs
> >
> > Version Number: Windows NT 5.1 (Build 2600)
> > Exit Time: 1:00 am, Monday, January 1 1601
> > Elapsed Time: 0:00:35.208
> > Process Time: 0:00:05.822
> > System Calls: 659366
> > Context Switches: 138074
> > Page Faults: 61507
> > Bytes Read: 80719977
> > Bytes Written: 320584
> > Bytes Other: 908395
> >
> >
> > Average for without-select key over 3 runs
> >
> > Version Number: Windows NT 5.1 (Build 2600)
> > Exit Time: 1:00 am, Monday, January 1 1601
> > Elapsed Time: 0:00:33.796
> > Process Time: 0:00:06.166
> > System Calls: 857893
> > Context Switches: 140154
> > Page Faults: 69061
> > Bytes Read: 99353998
> > Bytes Written: 2017152
> > Bytes Other: 1175082
>
> The times look comparable, but I'm confused why byte counts are so
> much different. Is there a good explanation to that?
Probably an effect of a cold cache or something. Hard to say, I
already rm'ed the timeit database.
So, I quickly re-ran the tests (with one warming round). Here are the
results:
Average for with-select key over 3 runs
Version Number: Windows NT 5.1 (Build 2600)
Exit Time: 1:00 am, Monday, January 1 1601
Elapsed Time: 0:00:34.875
Process Time: 0:00:05.619
System Calls: 651840
Context Switches: 154225
Page Faults: 62383
Bytes Read: 81394755
Bytes Written: 340437
Bytes Other: 1069175
Average for without-select key over 3 runs
Version Number: Windows NT 5.1 (Build 2600)
Exit Time: 1:00 am, Monday, January 1 1601
Elapsed Time: 0:00:35.515
Process Time: 0:00:05.687
System Calls: 865096
Context Switches: 145642
Page Faults: 69529
Bytes Read: 96329391
Bytes Written: 361675
Bytes Other: 1083219
> Anyway, AFAIU, your tests indicate that it would be okay to install
> the above changes on the development trunk, right?
Yes.
--
Claudio
next prev parent reply other threads:[~2013-02-22 15:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-16 11:38 Calling 'select' from emacs_gnutls_pull Eli Zaretskii
2013-02-16 15:55 ` Ted Zlatanov
2013-02-16 16:52 ` Eli Zaretskii
2013-02-16 18:00 ` Ted Zlatanov
2013-02-16 19:30 ` Eli Zaretskii
2013-02-17 13:20 ` Ted Zlatanov
2013-02-22 11:15 ` Claudio Bley
2013-02-22 12:36 ` Eli Zaretskii
2013-02-22 15:17 ` Claudio Bley [this message]
2013-02-22 16:02 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ip5kwf7c.wl%claudio.bley@gmail.com \
--to=claudio.bley@gmail.com \
--cc=emacs-devel@gnu.org \
/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.
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).