Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Speed Test for Comparison |
| Date | 2011-12-08 14:58 -0800 |
| Organization | None to speak of |
| Message-ID | <lnty5ak6vk.fsf@nuthaus.mib.org> (permalink) |
| References | <9kc99pFurU1@mid.individual.net> |
"Mel Smith" <med_cutout_syntel@aol.com> writes:
> I have included below 56 speed test results when using the C-based
> Harbour language along with the MinGw 4.6.1 C compiler
>
> This test package was generated by running the Harbour compiler to
> create C modules which were then compiled by the MinGw compiler, and then
> linked..
>
> The executable was then run to create the test results below.
>
> I'd be interested in getting some purely C-based test results based on
> any of the 56 tests I ran below.
>
> Each test below was run 1,000,000 times. The results below are stated in
> decimal seconds.
>
> The assignment operator is ':=' rather than '='
>
[snip]
>
> The & means a 'macro' compilation whereby the string is compiled and run
> at runtime.
[...]
[ T028: eval( bc := { |x| f1( x ) }, i ) ]......................0.50
I had to manually copy-and-paste one of your test cases for this
followup, because for some reason you put all the test results after a
sig delimiter ("-- ").
So what you're looking for is, for example, benchmark results for C code
equivalent to whatever
eval( bc := { |x| f1( x ) }, i )
means in your language. Are you asking us to manually translate your
code snippets to C, then write wrappers to perform and report the
timings?
Speaking only for myself, that's far more work than I'm willing to do.
If you provided the C code you want benchmarked, someone *might* be more
likely to run it for you.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Will write code for food.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Speed Test for Comparison "Mel Smith" <med_cutout_syntel@aol.com> - 2011-12-08 10:09 -0700
Re: Speed Test for Comparison Richard Sanders <lnr729@gmail.com> - 2011-12-08 11:19 -0800
Re: Speed Test for Comparison "Mel Smith" <med_cutout_syntel@aol.com> - 2011-12-08 13:13 -0700
Re: Speed Test for Comparison "Mel Smith" <med_cutout_syntel@aol.com> - 2011-12-08 13:18 -0700
Re: Speed Test for Comparison Seebs <usenet-nospam@seebs.net> - 2011-12-08 20:41 +0000
Re: Speed Test for Comparison Ben Pfaff <blp@cs.stanford.edu> - 2011-12-08 12:49 -0800
Re: Speed Test for Comparison Seebs <usenet-nospam@seebs.net> - 2011-12-08 21:53 +0000
Re: Speed Test for Comparison Seebs <usenet-nospam@seebs.net> - 2011-12-08 20:41 +0000
Re: Speed Test for Comparison "BartC" <bc@freeuk.com> - 2011-12-08 21:43 +0000
Re: Speed Test for Comparison ImpalerCore <jadill33@gmail.com> - 2011-12-08 13:58 -0800
Re: Speed Test for Comparison Keith Thompson <kst-u@mib.org> - 2011-12-08 14:58 -0800
Re: Speed Test for Comparison "Mel Smith" <med_cutout_syntel@aol.com> - 2011-12-10 11:28 -0700
Re: Speed Test for Comparison "BartC" <bc@freeuk.com> - 2011-12-10 21:40 +0000
Re: Speed Test for Comparison "Mel Smith" <med_cutout_syntel@aol.com> - 2011-12-10 19:26 -0700
Re: Speed Test for Comparison Keith Thompson <kst-u@mib.org> - 2011-12-10 13:49 -0800
csiph-web