Re: zend_u_strtod() 400% speed up
| From: | Matt Wilmas | Date: | Sat, 25 Nov 2006 11:05:25 +0000 |
| Subject: | Re: zend_u_strtod() 400% speed up | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26714@lists.php.net to get a copy of this message | ||
Hi Antony,
Just to let you know, I made a couple minor layout changes to the code, and
also switched to the *_alloca() functions if memory needs allocating, which
I understand should be faster on systems that support it. (Patch file (v2)
is updated of course. :-))
Matt
----- Original Message -----
From: "Antony Dovgal"
Sent: Friday, November 17, 2006
> On 11/17/2006 06:52 PM, Matt Wilmas wrote:
> > [...]
> > http://realplain.com/php/zend_u_strtod-v2.diff
>
> Ok, this one looks a bit better:
> --------------------------------------------------------------------------
----------
> Platform current | Matt | Tony | New
patch by Matt
> --------------------------------------------------------------------------
----------
> Linux intel64 (ICU 3.6, non-ZTS) 104.20 18.93 29.93
13.98
> Linux intel64 (ICU 3.6, ZTS) 106.38 19.78 31.97
14.39
> Linux i386 (ICU 3.6, non-ZTS) 809.21 25.49 59.78
18.76
> Linux i386 (ICU 3.6, ZTS) 708.43 30.22 59.90
18.96
> Linux i386 (ICU 3.4, non-ZTS) 526.71 22.39
--
> Linux i386 (ICU 3.4, ZTS) 435.27 26.20
--
> FreeBSD i386 (ICU 3.6, non-ZTS) -- 20.66 33.47
15.38
> --------------------------------------------------------------------------
----------
>
> --
> Wbr,
> Antony Dovgal