public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: "Carlos O'Donell" <carlos@redhat.com>,
	Siddhesh Poyarekar <siddhesh@redhat.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH 5/6] vfprintf: Introduce printf_positional function
Date: Thu, 21 May 2015 15:18:00 -0000	[thread overview]
Message-ID: <555DE586.40904@redhat.com> (raw)
In-Reply-To: <555D6537.1090600@redhat.com>

On 05/21/2015 06:55 AM, Carlos O'Donell wrote:

> Oh! You're saying that the performance domain of positional versus
> non-positional is different and should not be lumped together, as
> Florian did not lump them together in his analysis.

Here's the run with both vfprintf-patched (build) and unpatched
(build-master) sources:

==> build/benchtests/bench-sprintf.out <==
  "sprintf": {
   "positional": {
    "duration": 2.4935e+10,
    "iterations": 1.6674e+07,
    "max": 1724.24,
    "min": 1486.34,
    "mean": 1495.44
   },
   "non-positional": {
    "duration": 2.49332e+10,
    "iterations": 2.5191e+07,
    "max": 1204.71,
    "min": 984.675,
    "mean": 989.767
   }
  }
==> build-master/benchtests/bench-sprintf.out <==
  "sprintf": {
   "positional": {
    "duration": 2.49366e+10,
    "iterations": 1.4544e+07,
    "max": 1948.33,
    "min": 1709.47,
    "mean": 1714.57
   },
   "non-positional": {
    "duration": 2.49334e+10,
    "iterations": 2.3758e+07,
    "max": 1277.08,
    "min": 1042.82,
    "mean": 1049.47
   }
  }

Again, the numbers are suspiciously good.  But at least they do not show
a performance regression.

I'll commit the remaining vfprintf patches then.

-- 
Florian Weimer / Red Hat Product Security

  parent reply	other threads:[~2015-05-21 14:03 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-01 21:57 [PATCH 0/6] Some vfprintf refactoring Florian Weimer
2015-03-01 21:57 ` [PATCH 1/6] vfprintf: Introduce THOUSANDS_SEP_T Florian Weimer
2015-03-03  1:59   ` Paul Eggert
2015-03-03  7:36     ` Florian Weimer
2015-03-05 20:18   ` Carlos O'Donell
2015-03-01 21:57 ` [PATCH 2/6] vfprintf: Introduce JUMP_TABLE_BASE_LABEL Florian Weimer
2015-03-01 22:36   ` Andreas Schwab
2015-03-01 22:41     ` Florian Weimer
2015-03-03  2:00   ` Paul Eggert
2015-03-06 10:36     ` Florian Weimer
2015-03-01 21:57 ` [PATCH 3/6] vfprintf: Define WORK_BUFFER_SIZE Florian Weimer
2015-03-03  2:07   ` Paul Eggert
2015-03-03  7:38     ` Florian Weimer
2015-03-05 19:37   ` Carlos O'Donell
2015-03-01 21:57 ` [PATCH 5/6] vfprintf: Introduce printf_positional function Florian Weimer
2015-03-06 12:58   ` Florian Weimer
2015-03-06 15:43     ` Carlos O'Donell
2015-05-21  8:56     ` Carlos O'Donell
2015-05-21 11:43       ` Siddhesh Poyarekar
2015-05-21 14:06         ` Carlos O'Donell
2015-05-21 14:52           ` Siddhesh Poyarekar
2015-05-21 15:18           ` Florian Weimer [this message]
2015-05-21 15:27             ` Carlos O'Donell
2015-05-21 15:58           ` Carlos O'Donell
2015-05-21 11:28   ` Carlos O'Donell
2015-03-01 21:57 ` [PATCH 4/6] vfprintf: Move jump table definition and the macros out of function Florian Weimer
2015-03-05 19:38   ` Carlos O'Donell
2015-03-06 10:35     ` Florian Weimer
2015-03-06 15:41       ` Carlos O'Donell
2015-03-01 22:43 ` [PATCH 6/6] vfprintf: Remove label name switching for the jump table Florian Weimer
2015-05-20 15:07   ` Carlos O'Donell
2015-03-05 19:35 ` [PATCH 0/6] Some vfprintf refactoring Carlos O'Donell
2015-03-05 20:53   ` Florian Weimer
2015-03-05 21:35     ` Carlos O'Donell
2015-03-06 14:21     ` Florian Weimer

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=555DE586.40904@redhat.com \
    --to=fweimer@redhat.com \
    --cc=carlos@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=siddhesh@redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).