Re: speed question
"Scott G. Miller" <[email protected]> Mon, 6 Nov 2006 18:28:27 -0600
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Nov 03, 2006 at 01:59:57PM +0200, Nikita wrote: > 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: You'll find that the load times are mostly due to syntax expansion and compilation. What you'll want to do is compile the code you want into a .scc file, using |compile-file|. These will load much more quickly, as they skip those phases. That should narrow the gap. Scott ------------------------------------------------------------------------- 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