[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interpreting statprof
From: |
Dmitry Bogatov |
Subject: |
Re: Interpreting statprof |
Date: |
Tue, 17 Sep 2013 22:39:35 +0400 |
User-agent: |
mu4e 0.9.9.5; emacs 24.3.1 |
Andy Wingo <address@hidden> writes:
>> Today I tried to statprof my toy application, that uses htmlprag
>> since it is too slow (4 sec on one page) vs 0.5 with Python.
>> Statprof says, that most of time takes `eval` function, but I checked
>> htmlprag source --- it does not use eval. So question is where is it
>> called and what can I do to speedup my application?
>> time seconds seconds name
>> 56.48 4.22 2.38 eval
>> 11.82 0.50 0.50 memoized-expression-data
> Probably this means that your program is being interpreted, rather than
> compiled. Or something is being interpreted, anyway. Check that you
> have auto-compilation on.
Thanks! It reduced time from 4 sec to 0.4.
--
Best regards, Dmitry Bogatov <address@hidden>,
Free Software supporter and netiquette guardian.
git clone git://kaction.name/rc-files.git --depth 1
GPG: 54B7F00D
Html mail and proprietary format attachments are forwarded to /dev/null.
pgpZcm658JPVp.pgp
Description: PGP signature