guile-user
[Top][All Lists]
Advanced

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

Interpreting statprof


From: Dmitry Bogatov
Subject: Interpreting statprof
Date: Tue, 17 Sep 2013 20:14:21 +0400
User-agent: mu4e 0.9.9.5; emacs 24.3.1

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
  4.03      0.17      0.17  write-char
  2.31      0.10      0.10  get-output-string
  1.44      0.06      0.06  list-set!
  1.15      0.05      0.05  variable?
  1.15      0.05      0.05  open-output-string
  0.86      0.04      0.04  read-char
  0.86      0.04      0.04  #<procedure 27e8960 at ice-9/eval.scm:416:20 ()>
  0.58      0.02      0.02  eqv?
  0.29      0.01      0.01  equal?
  0.29      0.01      0.01  memv
  0.29      0.01      0.01  map
  0.29      0.01      0.01  string->symbol
  0.29      0.01      0.01  eof-object?
  0.29      0.01      0.01  #<procedure 253c900 at ice-9/eval.scm:416:20 (a)>
  0.00      4.22      0.00  statprof
  0.00      4.22      0.00  save-module-excursion
  0.00      4.22      0.00  #<procedure 25051c0 at ice-9/boot-9.scm:3961:3 ()>
  0.00      4.22      0.00  #<procedure 27e2690 at statprof.scm:655:4 ()>
  0.00      4.22      0.00  load-compiled/vm
  0.00      4.22      0.00  apply-smob/1
  0.00      4.22      0.00  call-with-prompt
  0.00      4.22      0.00  catch
  0.00      4.22      0.00  perform-action
---
Sample count: 347
Total time: 4.218837499 seconds (0.176613742 seconds in GC)

--
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.

Attachment: pgpE8af7MuIrl.pgp
Description: PGP signature


reply via email to

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