develooper Front page | perl.perl5.porters | Postings from October 2013

[perl #120314] t/re/fold_grind.t spews tons of "Attempt to free temp prematurely" warnings on DEBUGGING but ultimately passes

Thread Previous | Thread Next
From:
bulk88 via RT
Date:
October 27, 2013 21:07
Subject:
[perl #120314] t/re/fold_grind.t spews tons of "Attempt to free temp prematurely" warnings on DEBUGGING but ultimately passes
Message ID:
rt-4.0.18-13587-1382908049-1804.120314-15-0@perl.org
On Sat Oct 26 03:17:47 2013, pcm wrote:
> 
> bulk88: could you change the define for bool from char to int in your
> setup?  If it's as simple as that, could you tell us what kind of
> effect it has on the size?  I can't think of a better person for that
> kind of comparison.
> 


char perl against itself

-----------------------
C:\sources\perlbench-0.93>perl "C:\sources\perlbench-0.93\perlbench-run" -c 1000
00 "C:\perl519\boolischar\bin\perl.exe" "C:\perl519\boolischar\bin\perl.exe"
Use of uninitialized value in concatenation (.) or string at C:\sources\perlbenc
h-0.93\perlbench-run line 75.
A)
        version     = 5.019006
        path        = C:\perl519\boolischar\bin\perl.exe

Use of uninitialized value in concatenation (.) or string at C:\sources\perlbenc
h-0.93\perlbench-run line 75.
B)
        version     = 5.019006
        path        = C:\perl519\boolischar\bin\perl.exe


                           A       B
                         ---     ---
arith/mixed              100     101
arith/trig               100     100
array/copy               100     100
array/foreach            100     100
array/index              100      99
array/pop                100      95
array/shift              100     100
array/sort-num           100     100
array/sort               100     100
call/0arg                100     101
call/1arg                100      99
call/2arg                100     102
call/9arg                100     100
call/empty               100     100
call/fib                 100     101
call/method              100      99
call/wantarray           100     101
hash/copy                100      98
hash/each                100     100
hash/foreach-sort        100     101
hash/foreach             100     100
hash/get                 100      96
hash/set                 100     101
loop/for-c               100     101
loop/for-range-const     100     101
loop/for-range           100     100
loop/getline             100      99
loop/while-my            100     100
loop/while               100     101
re/const                 100      99
re/w                     100     100
startup/fewmod           100       -
startup/lotsofsub          -       -
startup/noprog           100     107
string/base64            100     100
string/htmlparser        100     101
string/index-const       100     100
string/index-var         100      98
string/ipol              100     100
string/tr                100     101

AVERAGE                  100     100Use of uninitialized value $str in substitut
ion (s///) at C:\sources\perlbench-0.93\perlbench-run line 375.
Use of uninitialized value $str in substitution (s///) at C:\sources\perlbench-0
.93\perlbench-run line 376.
Use of uninitialized value in concatenation (.) or string at C:\sources\perlbenc
h-0.93\perlbench-run line 287.
Use of uninitialized value $str in substitution (s///) at C:\sources\perlbench-0
.93\perlbench-run line 375.
Use of uninitialized value $str in substitution (s///) at C:\sources\perlbench-0
.93\perlbench-run line 376.
Use of uninitialized value in concatenation (.) or string at C:\sources\perlbenc
h-0.93\perlbench-run line 287.


Results saved in file:///C|/sources/perlbench-0.93/benchres-004/index.html

C:\sources\perlbench-0.93>
----------------------------------------

interp struct size
---------------------------------------
C:\sources\perlbench-0.93>"C:\perl519\boolisint\bin\perl.exe" -E "say UNIVERSAL:
:interpsize()"
2776

C:\sources\perlbench-0.93>"C:\perl519\boolischar\bin\perl.exe" -E "say UNIVERSAL
::interpsize()"
2688
---------------------------------------

int vs char perl, done with change in handy.h

-----------------------------------
C:\sources\perlbench-0.93>perl "C:\sources\perlbench-0.93\perlbench-run" -c 1000
00 "C:\perl519\boolisint\bin\perl.exe" "C:\perl519\boolischar\bin\perl.exe"
Use of uninitialized value in concatenation (.) or string at C:\sources\perlbenc
h-0.93\perlbench-run line 75.
A)
        version     = 5.019006
        path        = C:\perl519\boolisint\bin\perl.exe

Use of uninitialized value in concatenation (.) or string at C:\sources\perlbenc
h-0.93\perlbench-run line 75.
B)
        version     = 5.019006
        path        = C:\perl519\boolischar\bin\perl.exe


                           A       B
                         ---     ---
arith/mixed              100      88
arith/trig               100      97
array/copy               100     101
array/foreach            100      99
array/index              100     105
array/pop                100      98
array/shift              100      98
array/sort-num           100     100
array/sort               100     100
call/0arg                100     110
call/1arg                100     107
call/2arg                100      96
call/9arg                100     111
call/empty               100      99
call/fib                 100     101
call/method              100     104
call/wantarray           100     110
hash/copy                100     109
hash/each                100     104
hash/foreach-sort        100      99
hash/foreach             100      99
hash/get                 100     104
hash/set                 100     101
loop/for-c               100     108
loop/for-range-const     100      98
loop/for-range           100     100
loop/getline             100     100
loop/while-my            100     115
loop/while               100     117
re/const                 100     103
re/w                     100     101
startup/fewmod             -       -
startup/lotsofsub          -       -
startup/noprog           100      84
string/base64            100     101
string/htmlparser        100     102
string/index-const       100     106
string/index-var         100      82
string/ipol              100     102
string/tr                100     105

AVERAGE                  100     102Use of uninitialized value $str in substitut
ion (s///) at C:\sources\perlbench-0.93\perlbench-run line 375.
Use of uninitialized value $str in substitution (s///) at C:\sources\perlbench-0
.93\perlbench-run line 376.
Use of uninitialized value in concatenation (.) or string at C:\sources\perlbenc
h-0.93\perlbench-run line 287.
Use of uninitialized value $str in substitution (s///) at C:\sources\perlbench-0
.93\perlbench-run line 375.
Use of uninitialized value $str in substitution (s///) at C:\sources\perlbench-0
.93\perlbench-run line 376.
Use of uninitialized value in concatenation (.) or string at C:\sources\perlbenc
h-0.93\perlbench-run line 287.


Results saved in file:///C|/sources/perlbench-0.93/benchres-003/index.html

------------------------------------------------------------

bool is char perl519.dll .text (machine code) section of dll size, 0xc1aff
bool is int perl519.dll .text (machine code) section of dll size, 0xc1fdf

Interesting results. Some were faster, some were slower. IDK what to think.

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=120314

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About