guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interpreting statprof


From: Andy Wingo
Subject: Re: Interpreting statprof
Date: Tue, 17 Sep 2013 20:05:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

On Tue 17 Sep 2013 18:14, Dmitry Bogatov <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]