Hi Andy,

Andy Wingo <wi...@pobox.com> writes:

> I de-bitrotted instruction-level tracing in the VM. Ideally it would
> display like ,disassemble does, but that would take some more work.
>
> Still, Guile's speed is mostly proportional to how many instructions are
> executed, besides amount of garbage consed, and this view can be
> interesting to people looking to squeeze more performance out of their
> code, or find ways that the compiler does things wrong.
>
> scheme@(guile-user)> (use-modules (srfi srfi-1))
> scheme@(guile-user)> ,trace (fold cons '() '(a b c d)) #:instructions? #t

This looks like a useful tool, yes!

Thanks,
Ludo’.


Reply via email to