Groups | Search | Server Info | Login | Register


Groups > comp.lang.c > #125760

Re: A new benchmark

From Philipp Klaus Krause <pkk@spth.de>
Newsgroups comp.lang.c
Subject Re: A new benchmark
Date 2018-01-25 15:52 +0100
Organization solani.org
Message-ID <p4cr0a$l7n$1@solani.org> (permalink)
References <p4cjpp$g2c$1@solani.org> <p4clso$6ea$1@dont-email.me> <p4cn14$ibd$1@solani.org> <4ae644ef-5eb8-4e52-af2a-94895e7d9150@googlegroups.com>

Show all headers | View raw


Am 25.01.2018 um 15:41 schrieb fir:
> W dniu czwartek, 25 stycznia 2018 14:45:27 UTC+1 użytkownik Philipp Klaus Krause napisał:
>> Am 25.01.2018 um 14:25 schrieb Rick C. Hodgin:
>>>
>>> How does it work?  How do you benchmark an application written in C?
>>
>> The goal here is to benchmark an implementation (i.e. hardware,
>> compiler, standard libary), not an application. Just like most
>> benchmarks do.
>>
> but how it benchmark, some example or description
> 

Like many other benchmarks do: Do some computations in a loop, measure
how many loop iterations you can do in a given amount of time. In the
case of stdcbench, this is done for each module, then the resulting
scores are summed.

Currently only the c90base module is complete (I am currently working on
the c90lib module).

For c90base, the computations done in the loop are

* Decompress some data that is compressed via Huffman+RLE. At a lower
level, this mostly benchmarks control-flow constructs (including
function pointers) and bitwise operations.

* Insertion sort. At a lower level, this mostly benchmarks control-flow
constructs, indirection and comparisons.

* Integer matrix operations. At a lower level, this mostly benchmarks
integer multiplications and loops.

Philipp

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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