This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Comparative Performance of C++ Compilers (including gcc cygming special)
- From: "Alex Vinokur" <alexvn at connect dot to>
- To: cygwin at cygwin dot com
- Date: Wed, 21 Apr 2004 12:38:44 +0300
- Subject: Re: Comparative Performance of C++ Compilers (including gcc cygming special)
- References: <loom.20040420T150712-94@post.gmane.org> <E1BGBTE-0005pU-00@quimby.gnus.org>
"GARY VANSICKLE" wrote in message news:E1BGBTE-0005pU-00@quimby.gnus.org...
> [snip]
> >
> > New copying methods have been added and checked:
> >
> > Test file modes : text, binary
> > ------------------------------
> >
> > Testsuites
> > ----------
> > C-01 : Functions getc() and putc()
> > C-02 : Functions fgetc() and fputc()
> > C-03 : Functions fread() and fwrite()
> > UNIX-C-04 : Function mmap
> > CPP-01 : Operators >> and <<
> > CPP-02 : Methods get() and put()
> > CPP-03 : Methods sbumpc() and sputc()
> > CPP-04 : Method sbumpc() and operator <<
> > CPP-05 : Method rdbuf() and operator <<
> > CPP-06 : Methods read() and write() with const buffer
> > CPP-07 : Methods read() and write() with max buffer
> > CPP-08 : Method getline
> > CPP-09 : Method ifstream getline
> > CPP-10 : Method iterators (istream_iterator, ostream_iterator)
> >
> >
> > See:
------ Raw run log ------
> > http://article.gmane.org/gmane.comp.lang.c++.perfometer/45
------ Source (Version 1.4) ------
> > http://article.gmane.org/gmane.comp.lang.c++.perfometer/44
------ Source (Latest version - 1.6)
http://article.gmane.org/gmane.comp.lang.c++.perfometer/47
> >
>
> So much reading... I need charts and/or graphs man! ;-)
>
>
One should compile a source from http://article.gmane.org/gmane.comp.lang.c++.perfometer/47
$ g++ foo.cpp
$ a
YOUR COMMAND LINE : a
USAGE : a <File size> <No. of tests> <No. of repetitions> [<No. of runs>]
// Sample-1
$ a 1000 5 750
// The program prints raw run log
// Sample-2
$ a 1000 5 750 3
// The program prints raw run log
// Sample-3
$ a 10000 5 750 3
// The program prints raw run log
--
Alex Vinokur
mailto:alexvn@connect.to
http://mathforum.org/library/view/10978.html
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/