X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Alex Vinokur" Newsgroups: comp.os.msdos.djgpp Subject: [C++ : Comparative performance] Copying files: input to output Date: Mon, 14 Feb 2005 15:37:54 +0200 Lines: 65 Message-ID: <37bnu9F5bsvuaU1@individual.net> X-Trace: individual.net ZpAqiMMOA1ORJaceIflpOgEqF9/8fRCs+4WTfNzUlZWAgib4w= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com // ======================================================= // C/C++ Program Performance Measurement // ------------------------------------------------------- // Simple C/C++ Perfometer: Copying files (Version CF-3.0) // ======================================================= Tests have been performed for GNU g++/gpp compiler in * Cygwin, * Mingw32 interface, * DJGPP Links: ------ http://thread.gmane.org/gmane.comp.lang.c++.perfometer/89 http://permalink.gmane.org/gmane.comp.lang.c++.perfometer/93 http://permalink.gmane.org/gmane.comp.lang.c++.perfometer/89 http://groups-beta.google.com/group/perfo/browse_frm/thread/380ffe8e8143bb6c/e08f36ebdf45b4f3 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // // Testsuites // ---------- // C-01 : C-Functions getc() and putc() // C-02 : C-Functions fgetc() and fputc() // C-03 : C-Functions fread() and fwrite() - with const size buffer // C-04 : C-Functions fread() and fwrite() - with max size buffer // unix_C_05 : UNIX system call mmap // For Cygwin only // CPP-01 : istream::operator>> and ostream::operator<< // CPP-02 : streambuf::sbumpc() and streambuf::sputc() // CPP-03 : streambuf::sbumpc() and ostream::operator<< // CPP-04 : ifstream::rdbuf(), ofstream::rdbuf() and ostream::operator<< // CPP-05 : istream::read() and ostream::write() - with const size buffer // CPP-06 : istream::read() and ostream::write(), std::ostringstream, ostream::operator<< - with const buffer // CPP-07 : istream::readsome() and ostream::write() - with const size buffer // CPP-08 : istream::read() and ostream::write() - with max size buffer // CPP-09 : std::getline, std::ostringstream, ostream::operator<< // CPP-10 : istream::getline, std::ostringstream, ostream::operator<< // CPP-11 : istream::get(char) and ostream::put // CPP-12 : istream::get(char*, streamsize) , ostream::operator<< - with const size buffer // CPP-13 : istream::get(streambuf&) and std::streambuf, ostream::operator<< // CPP-14 : std::istream_iterator, std::ostream_iterator and std::copy // CPP-15 : std::istreambuf_iterator, std::ostreambuf_iterator and std::copy // CPP-16 : std::istreambuf_iterator, std::ostreambuf_iterator and std::transform // CPP-17 : std::vector and std::copy // // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- Alex Vinokur email: alex DOT vinokur AT gmail DOT com http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn