Re: Yet Another Lisp Performance Thread



Ulrich Hobelmann <u.hobelmann@xxxxxx> writes:

> If I can't find any benchmark results because some vendor has a
> no-publish policy I assume his compiler is as slow as slow can be, or
> he would encourage open comparisons instead of cowardly hiding from
> the public.

That may not be a valid assumption. Another restriction in a lot of
commercial compilers is using them to compile a competitive compiler.
Borland had this restriction.

As far as benchmarks go, there are lies, damn lies, statistics, and
benchmarks. It would probably not be too difficult to modify the
input.txt file for the Apress contest so that my program beats the C
program. The nature of the fractal makes the contest a crap shoot.

My original post was actually intended to show that Lisp can be
performance competitive even with trivial applications. I didn't do
as good a job of that as I had hoped, but the C program coming out
ahead by a factor of 1.76 is less than a binary order of magnitude.
Furthermore, someone with decent Lisp chops can easily make my code a
bit faster. If that person understands JPEG and has the patience to
work the JPEG encoder, the Lisp program can pick up even more speed.

The C program, elegant as it is, would need a complete rewrite to
speed it up if that is at all possible for the given input.txt file.

--
http://www.david-steuber.com/
The UnBlog: An island of conformity in a sea of quirks.
The lowest click through rate in Google's AdSense program.
----------------------------------------------------------------------
.



Relevant Pages

  • Re: Polyhedron Benchmarks 2004
    ... > I have just revised the compiler comparison charts at www.polyhedron.com. ... > The execution time benchmarks have been substantially revised, ... > Windows XP Pro and Red Hat 9.0. ...
    (comp.lang.fortran)
  • Re: Is There Any Reason to Even Use VC++ Anymore?
    ... I never did any benchmarks, so I was basing my statement on other reports. ... Sure the C++ compiler can ... > spend some extra time to optimize MSIL, while the C# compiler is more time ... >>> You could almost think of the syntax extensions almost independent of ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Downgrading to D7
    ... There are some benchmarks on their site: ... the actual performance (call me prejudiced, but Java developpers are ... While they used Java to write the compiler, Vector Pascal is a native code ... This is why building those features in a general purpose compiler makes ...
    (borland.public.delphi.non-technical)
  • Polyhedron Benchmarks 2004
    ... I have just revised the compiler comparison charts at www.polyhedron.com. ... The execution time benchmarks have been substantially revised, ... Absoft Pro Fortran 9.0 ...
    (comp.lang.fortran)
  • Re: Java connected Lisp
    ... versions of GNU Classpath and SBCL, ... Invent a nice and fast interface for calls from Lisp to Java and back. ... The trick could be to hack the compiler so that it recognizes accesses ... Rewrite the "compiler" ...
    (comp.lang.lisp)