unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Enormous benchmark speedup
@ 2009-07-01 14:48 Juhani Viheräkoski
  2009-07-01 22:47 ` Ludovic Courtès
  2009-07-02 15:49 ` Juhani Viheräkoski
  0 siblings, 2 replies; 6+ messages in thread
From: Juhani Viheräkoski @ 2009-07-01 14:48 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 987 bytes --]

Hi,

With recent changes in guile vm there are lots on improvements on 
the Gambit benchmarks. In the worst case some test run 10% slower but there
are huge wins in testcases involving vectors offsetting this. Here are 
*some* of the highlights:

triangl:
-15.57user 0.04system 0:15.72elapsed 99%CPU
+6.69user 0.02system 0:06.73elapsed 99%CPU

fft:
-59.16user 0.14system 0:59.89elapsed 99%CPU
+36.50user 0.07system 0:36.68elapsed 99%CPU

nucleic:
-38.99user 0.31system 0:39.30elapsed 99%CPU 
+24.54user 0.27system 0:24.85elapsed 99%CPU

pnpoly:
-85.52user 0.11system 1:25.69elapsed 99%CPU
+38.64user 0.05system 0:38.82elapsed 99%CPU

array1:
-65.91user 0.31system 1:06.51elapsed 99%CPU
+13.66user 0.25system 0:13.95elapsed 99%CPU

However the following testcase does not run when compiled, all the others 
work fine atm (source code attached):

ack:
guile: uncaught throw to vm-error: (vm-run "VM: Stack overflow" ())

Best Regards,
Juhani Viheräkosi

[-- Attachment #2: Type: TEXT/PLAIN, Size: 142 bytes --]

(define (ack m n)
  (cond ((= m 0) (+ n 1))
        ((= n 0) (ack (- m 1) 1))
        (else (ack (- m 1) (ack m (- n 1))))))

(ack 3 9)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-26 12:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01 14:48 Enormous benchmark speedup Juhani Viheräkoski
2009-07-01 22:47 ` Ludovic Courtès
2009-07-02 15:49 ` Juhani Viheräkoski
2009-07-23 21:26   ` Andy Wingo
2009-07-26  1:09     ` Juhani Viheräkoski
2009-07-26 12:26       ` tfib.scm Juhani Viheräkoski

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