Date: Sat, 18 Sep 2010 10:54:38 +0300 From: Peter Pentchev <roam@ringlet.net> To: mdf@FreeBSD.org Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, FreeBSD Arch <freebsd-arch@freebsd.org> Subject: Re: Towards a One True Printf Message-ID: <20100918075438.GA3739@straylight.ringlet.net> In-Reply-To: <AANLkTi=uZqxw-VQ=K3AayWxewmZP8qCq1%2B-sdRs4m=Rc@mail.gmail.com> References: <AANLkTi=uZqxw-VQ=K3AayWxewmZP8qCq1%2B-sdRs4m=Rc@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 17, 2010 at 03:00:21PM -0700, mdf@FreeBSD.org wrote: [snip] > With changes in hand, I wrote a small user-space utility to benchmark > the existing fprintf and sprintf versus the new one. Note that the > my_fprintf() function essentially borrows from the guts of > printfcommon.h. This >=20 > http://people.freebsd.org/~mdf/printf_test.c >=20 > The numbers I get I found rather interesting (also, I appear to be > incompetent at calculating standard deviations; I'm sure someone will > correct my code). Just a side note, but... have you tried outputting the raw numbers and feeding them to ministat(1)? :) G'luck, Peter --=20 Peter Pentchev roam@space.bg roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 Nostalgia ain't what it used to be. --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJMlHA6AAoJEGUe77AlJ98T3KQQAMNjJxnG0xZSE8oGI781jHc5 wWfFMIv1MGtrbN4KLZmJKXleoAQN5umfJGyUcHpQz+lSLcR8bL/w1IfeGSVoCBoD 34rnpIs54H80W2iskiF1jESyoUf9Tzn9Q+3ht1snWwbdz3YEO2RFm16dYRc480QH Tm5yP6DONDmVxsL89y7QRacVor++vwXtWjzQxbzEoSqhzZ/Vueeplm1n9Q98KcBY 4teHqbSo80nSwVWKRrFpoEB7EVVQXpvGhwsSlVukV30ZlDX/tV1oLeEfAWcP7lcb 8tyOs6Djl0+BePC3ZxgKDTh7xPA18zHZmNMB8lm/i+FAkpFYdADGFsPOxG8nBHgE VIBQkuSlsgjEFB9zp9JEbKgXnpiO5JTxcx4xw3f3Z4HJdRCsN/qNBiUIMve/ggd0 laOxx3tbiAbAokh1EXkhQl6sMjskcHJZAbAgtyAAGwsHYnYvWNdpXEviOb80leVk pI0xRcfHoWh+QqUx6PHQTvi5DzD4qTN7dzvjY9U1x3IOdQ7fRz8uugbXKPacos2D eT6NE2z4PEfhHVPv/XkkpGhUdA6M2d2GtY94RA4UHT5JspFChKwqciT6lXcDnTDl Ynusoyd0LyxakSFDO3smLmgkOjlrxJc5yl+FMiWJGWV1KIMCm08fQNka2PksWmJL 829UpvTkBe6BE5fGfD14 =EBkD -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100918075438.GA3739>