Hello,

I have this output when running the profile on one of my modules:

9815/9644    0.009    0.000    0.009    0.000 {len}
        6    0.000    0.000    0.000    0.000 {locals}
        5    0.000    0.000    0.001    0.000 {map}
        1    0.000    0.000    0.000    0.000 {math.exp}
        3    0.000    0.000    0.000    0.000 {math.log}
        1    0.000    0.000    0.000    0.000 {math.sqrt}
       97    0.000    0.000    0.000    0.000 {max}
9 0.001 0.000 0.001 0.000 {method '__reduce_ex__' of 'object' objects} 7539 0.009 0.000 0.009 0.000 {method 'append' of 'list' objects}


The
9815/9644    0.009    0.000    0.009    0.000 {len}

line does it mean that the module is making 9815 requests to the len function?

Also the line

7539    0.009    0.000    0.009    0.000 {method 'append' of 'list' objects}

it looks high!?!

How should I interpret this?

Cheers

Norman
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to