Re: Benchmark for Ruby



On 9/14/06, M. Edward (Ed) Borasky <znmeb@xxxxxxxxxxx> wrote:
Once you know where Ruby is spending its time, play with compiler flags.
gcc has oodles of possible optimizations, and gcc itself was tuned by
processes like this. It's worth spending a lot of time compiling the
Ruby interpreter, since it's going to be run often.

Playing with compiler flags is of limited utility across the board.
The compiler flags for each platform *will* *differ*, and GCC
optimizations are different than native compiler optimizations (and
GCC isn't well-optimized off PPC and Intel; I will never compile
something with a non-native compiler if I can avoid it for any
reason).

I'm not interested in things that require compiler flag tweaks --
that's far too variant and should be done on a per-system basis. I'm
looking for a benchmark suite that show areas where the implementation
can be improved. I'm not looking for artificially limited benchmarks
where a simple tweak of an operating system option (e.g., ulimit)
enables the benchmark to run or run faster.

There's the difference.

-austin
--
Austin Ziegler * halostatue@xxxxxxxxx * http://www.halostatue.ca/
* austin@xxxxxxxxxxxxx * http://www.halostatue.ca/feed/
* austin@xxxxxxxxxxx

.



Relevant Pages

  • Re: c compilation - gcc vs visual c
    ... I recently compiled a numerically intensive c project under cygwin gcc ... MS focuses a lot more on specific optimizations, ... the simplest approach, however (and the one I currently use in my compiler), ... (silly code), are ones I focus on fixing. ...
    (comp.lang.c)
  • Re: Noob Guestion About Make.conf
    ... documentation about GCC compiler options. ... Not all optimizations are controlled directly by a flag. ... CFLAGS controls the compiler settings used when compiling C ... If you expect bug reports to be taken seriously, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Printing a NULL pointer
    ... There's nothing wrong with the compiler, it is the code that is ... described by the Standard. ... confident in its optimizations, especially concerning floating point. ... There are many predictable parts in gcc output, ...
    (comp.lang.c)
  • Re: kernel + gcc 4.1 = several problems
    ... Gcc people are quick to condemn others for assumptions that breaks ... Compiler writers seem to seldom even realize this. ... code gets shipped with basically no optimizations at all (or with specific ... it's reasonably easy to find places that are buggy. ...
    (Linux-Kernel)
  • Re: FreeBSD 7.1 BETA 2 vs Opensolaris vs Ubuntu performance
    ... If you want to test OS performance and use Java programs in there to do so, you would use the same Java version, wouldn't you? ... If you want to run number crunching software, you are interested in high computing throughput of your app, so you use a compiler which performs best for your code in question (which would mean probably the Intel compiler or the Portland compiler on Linux, maybe the Sun compiler on Solaris, and probably gcc on FreeBSD). ... The "benchmark" presented there is flawed in a lot of ways. ...
    (freebsd-performance)