From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Bogatov Newsgroups: gmane.lisp.guile.user Subject: Re: Interpreting statprof Date: Tue, 17 Sep 2013 22:39:35 +0400 Organization: Church of Emacs Message-ID: <87li2vs36g.fsf@gnu.org> References: <87r4cn1l42.fsf@gnu.org> <87k3iftjbw.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1379443358 5037 80.91.229.3 (17 Sep 2013 18:42:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2013 18:42:38 +0000 (UTC) Cc: "guile-user@gnu.org" To: "Andy Wingo" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Sep 17 20:42:42 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VM0ET-0008Bm-Pe for guile-user@m.gmane.org; Tue, 17 Sep 2013 20:42:41 +0200 Original-Received: from localhost ([::1]:43007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM0ET-0007TL-El for guile-user@m.gmane.org; Tue, 17 Sep 2013 14:42:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM0EG-0007T2-Tl for guile-user@gnu.org; Tue, 17 Sep 2013 14:42:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VM0EC-0005cy-HI for guile-user@gnu.org; Tue, 17 Sep 2013 14:42:28 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM0EC-0005cs-DY for guile-user@gnu.org; Tue, 17 Sep 2013 14:42:24 -0400 Original-Received: from [212.57.143.115] (port=47134 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1VM0EA-0007B9-OB; Tue, 17 Sep 2013 14:42:24 -0400 User-agent: mu4e 0.9.9.5; emacs 24.3.1 In-reply-to: <87k3iftjbw.fsf@pobox.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10813 Archived-At: --=-=-= Content-Type: text/plain Andy Wingo 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 , 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. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) iQIcBAEBAgAGBQJSOKHrAAoJEHiL4BJUt/ANH7cQALBPdLqzRWL+lK7CLv760OeN nwJ3knAjE8LDNEikQ0UIJnoy1YTiLIU5OGX02jUEL2e/grnfEvrlzaiqneuxREpq 7EKTiwCslKUlRC74wbi5Ggcba5LNRcj1tLsyo7e1zJKbOyTyjQAM6dIhapMIEnWv Sf6tnfv5x5uHk+0Hoi0IYxJtUWBdFRjxViAf/PybscedqwmURk5ha+OvRgFeZsJ/ 3R+6Ba+yhZtlbmcJ+OLa6b3xlfWKiO5repCitFX+oBFiLxJNAilfrVaZSbVqjWGa heSWZbJnePkAlwv5NGBjQPFzMaImafnTG+HnrS7IbIXmFFPTDZHVmwvTQQk0TyY9 QPOhDL+hNOPytPzOk+6Bz+DHKJiBfMZ8Oag8X7qQtMKMcc3g8QzFMiRrkqBpr14z Myo/L8nQJJyaMFRGNIbLYKNSUFIbqikvXdZBUhEJEjNl7wJXrKUurOA6GMgIs4em 7zSUPx3QLOwOfhdLrihcRh1pFoPq4JHXvnS+jzdCCq7W+wO7wj1S34fQsyTXSsco 9h7rgGazTdnwOH2IbHlFGgtdrxO7UnpnlxjBRz9mZpTVR6XC4j57ufxQGgAJI7HJ DqKYw3mdjmV5MugOzfFIOwGS5oc9OWavt37bPsWDf9n73y1hEs5umdHpbWSO68HE eab/ujIghmxW3i4a6ioi =ADig -----END PGP SIGNATURE----- --=-=-=--