On Tue 17 Sep 2013 18:14, Dmitry Bogatov <kact...@gnu.org> writes:

> Hello!
>
> 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?
>
> PS. Should I attach source file and html file to parse?
>
> %     cumulative   self
> time   seconds     seconds      name
>  56.48      4.22      2.38  eval
>  11.82      0.50      0.50  memoized-expression-data
>   9.22      0.39      0.39  list-ref
>   8.36      0.35      0.35  memoized-expression-typecode

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.

Cheers,

Andy
-- 
http://wingolog.org/

Reply via email to