unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Ken Raeburn <raeburn@raeburn.org>
Cc: bug-guile@gnu.org
Subject: Re: guile 1.9.1 crash trying to profile code
Date: Mon, 21 Dec 2009 00:19:43 +0100	[thread overview]
Message-ID: <m3zl5dter4.fsf@pobox.com> (raw)
In-Reply-To: <4E38531C-1E47-4CE7-9A4C-A0FE7F686E96@raeburn.org> (Ken Raeburn's message of "Tue, 4 Aug 2009 05:26:43 -0400")

On Tue 04 Aug 2009 11:26, Ken Raeburn <raeburn@raeburn.org> writes:

> % guile
> Guile Scheme interpreter 0.5 on Guile 1.9.1
> Copyright (C) 2001-2008 Free Software Foundation, Inc.
>
> Enter `,help' for help.
> scheme@(guile-user)> ,pr (cons 1 2)

  wingo@unquote:~/src/guile$ meta/guile
  Guile Scheme interpreter 0.5 on Guile 1.9.6
  Copyright (C) 2001-2008 Free Software Foundation, Inc.

  Enter `,help' for help.
  scheme@(guile-user)> ,pr (cons 1 2)
  No samples recorded.
  scheme@(guile-user)> ,pr (let lp ((n 1000000)) (if (zero? n) #t (lp (1- n))))
  %     cumulative   self             
  time   seconds     seconds      name
  100.00      0.07      0.07  #<program 8949bb0 at <unknown port>:1:4 ()>
    0.00      0.07      0.00  #<program 864a420 at ice-9/boot-9.scm:3394:10 ()>
    0.00      0.07      0.00  #<program 893d0a0 opts>
    0.00      0.07      0.00  top-repl
    0.00      0.07      0.00  call-with-backtrace
    0.00      0.07      0.00  #<program 8949b90 ()>
    0.00      0.07      0.00  start-repl
    0.00      0.07      0.00  #<program 893d660 at system/repl/repl.scm:87:9 ()>
  ---
  Sample count: 5
  Total time: 0.07 seconds (0 seconds in GC)

Granted it walks past the point of the profiling, but still, we're
getting there...

Andy
-- 
http://wingolog.org/




      parent reply	other threads:[~2009-12-20 23:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04  9:26 guile 1.9.1 crash trying to profile code Ken Raeburn
2009-08-04 19:23 ` Andy Wingo
2009-12-20 23:19 ` Andy Wingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zl5dter4.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=bug-guile@gnu.org \
    --cc=raeburn@raeburn.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).