Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.lang.c > #125764
| Subject | Re: A new benchmark |
|---|---|
| Newsgroups | comp.lang.c |
| References | <p4cjpp$g2c$1@solani.org> |
| From | bartc <bc@freeuk.com> |
| Message-ID | <2jnaC.485110$eO2.146871@fx34.am4> (permalink) |
| Organization | virginmedia.com |
| Date | 2018-01-25 16:09 +0000 |
On 25/01/2018 12:50, Philipp Klaus Krause wrote:
> For benchmarking C implementations, the there are a few benchmarks, but
> they all have their problems. Many benchmarks have memory requirements
> that are far too high or need functionality not necessarily available.
> Some are quite one-sided in what they measure (e.g. Whetstone,
> Dhrystone, Coremark).
>
> I am looking forward to comments from you on this work.
>
> http://stdcbench.org/
I tried this on my set of 64-bit Windows C compilers (excluding MSVC
which doesn't work at the minute, and clang which no longer works as it
piggybacks onto MSVC).
I got: Optimisation
Off On
Pelles C 4133 5920
Lccwin 3341 4954
DMC 4461 5703 (32-bits)
gcc/tdm 3899 12009
Tiny C 3482 3519 (no optimiser)
Mcc 1739 1770 (no optimiser)
(That last is my own C compiler running a temporary code generator; the
faster one had too many bugs.)
I assume a bigger number is better (otherwise mine wins...).
Building the project however was a small stumbling block as my Make
program no longer seems to work.
But it can done easily enough by compiling these .c files:
c90base-compression.c
c90base-data.c
c90base-huffman-iterative.c
c90base-huffman-recursive.c
c90base-immul.c
c90base-isort.c
c90base.c
c90double.c
c90float.c
c90struct.c
huffman_tree.c
stdcbench.c
portme.c (gcc version, & matching .h, from examples directory)
Then linking the corresponding object files into the executable.
But, I've no idea what it is actually testing as it doesn't report much
apart from that number.
--
bartc
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar
A new benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-01-25 13:50 +0100
Re: A new benchmark "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2018-01-25 08:25 -0500
Re: A new benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-01-25 14:45 +0100
Re: A new benchmark fir <profesor.fir@gmail.com> - 2018-01-25 06:41 -0800
Re: A new benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-01-25 15:52 +0100
Re: A new benchmark fir <profesor.fir@gmail.com> - 2018-01-25 07:02 -0800
Re: A new benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-01-26 15:22 +0100
Re: A new benchmark bartc <bc@freeuk.com> - 2018-01-25 16:09 +0000
Re: A new benchmark Robert Wessel <robertwessel2@yahoo.com> - 2018-01-25 13:00 -0600
Re: A new benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-01-26 10:14 +0100
Re: A new benchmark Robert Wessel <robertwessel2@yahoo.com> - 2018-01-26 10:56 -0600
Re: A new benchmark supercat@casperkitty.com - 2018-01-26 13:07 -0800
Re: A new benchmark Robert Wessel <robertwessel2@yahoo.com> - 2018-01-27 13:13 -0600
Re: A new benchmark supercat@casperkitty.com - 2018-01-25 13:42 -0800
Re: A new benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-01-26 11:19 +0100
Re: A new benchmark supercat@casperkitty.com - 2018-01-26 08:17 -0800
csiph-web