roxen.lists.pike.general

Subject Author Date
Re: Startup times Pike vs. Perl Henrik_Grubbström <grubba[at]roxen[dot]com> 17-08-2009
On Mon, 17 Aug 2009, Henrik Grubbström wrote:

> On Mon, 17 Aug 2009, Stephen R. van den Berg wrote:
>
>> Stephen R. van den Berg wrote:
>>> Pike and Perl straces included below (I tried creating ltraces, but that
>>> is a bit timeconsuming (at least in the Pike case it is)):
>> 
>> I did a partial ltrace.  It is attached (lzma-compressed).
>> It contains gems like these long strains of:
[...]
>>  0.000300 memset(0x08a44714, '0', 4)         = 0x08a44714
>
> The above looks like it's probably compilation.h in PUSH mode.
>
> Fix on the way...

Committed to CVS.

>> Another odd case is:
>>
>>  0.000375 memcpy(0xbfdf611f, "2", 1)         = 0xbfdf611f
> [...]
>>  0.000474 memcpy(0xbfdf611f, "4", 1)         = 0xbfdf611f
>
> I haven't identified this one yet.

It looks like this is probably a loop in decode_value().
A fix is on the way...

>> -- 
>> Sincerely,
>>           Stephen R. van den Berg.

--
Henrik Grubbström					<grubba[at]roxen.com>
Roxen Internet Software AB