speed question

Nikita <[email protected]> Fri, 03 Nov 2006 13:59:57 +0200
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
Hello,

I'm using sisc in my project to replace java gui code with scheme one.
And I noticed that application startup time had increased significantly.
I've written a simple benchmark (attached) to compare speed of SISC and
mzScheme interpreters. mzScheme appeared to be ten times faster than
SISC. I've also tested Kawa and SISC interpreters that are build in
SchemeScript. Benchmark results are presented below:


PLT Scheme 301 :
loading files...
timer: (load sxpathlib.scm) 70.0 ms
timer: (load sxpath-ext.scm) 146.0 ms
timer: (load xpath-parser.scm) 400.0 ms
timer: (load sxpath.scm) 283.0 ms
timer: (load txpath.scm) 208.0 ms
done!

SISC 1.16.5 (J2RE 1.5.0_01-b08) :
loading files...
timer: (load sxpathlib.scm) 838 ms
timer: (load sxpath-ext.scm) 1832 ms
timer: (load xpath-parser.scm) 3632 ms
timer: (load sxpath.scm) 549 ms
timer: (load txpath.scm) 2486 ms
done!

SchemeScript interpreters:
SISC (1.13.6)
loading files...
timer: (load sxpathlib.scm) 899 ms
timer: (load sxpath-ext.scm) 1750 ms
timer: (load xpath-parser.scm) 3437 ms
timer: (load sxpath.scm) 539 ms
timer: (load txpath.scm) 2426 ms
done!

KAWA
loading files...
timer: (load /home/nikita/temp/scheme/sxpathlib.scm) 194 ms
timer: (load /home/nikita/temp/scheme/sxpath-ext.scm) 318 ms
timer: (load /home/nikita/temp/scheme/xpath-parser.scm) 480 ms
timer: (load /home/nikita/temp/scheme/sxpath.scm) 82 ms
timer: (load /home/nikita/temp/scheme/txpath.scm) 440 ms
done!

I can't imagine why the difference between mzScheme and SISC is so big.
Kawa is also 4-6 times faster. Is that possible to somehow speed up file
loading in SISC?

Best regards,
Nikita

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Sisc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisc-users
test.tar.gz (application/x-gzip, 31.1 KB) - not displayed