Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: "Alex Vinokur" Subject: [C++ : Comparative performance] Copying files: input to output Date: Mon, 14 Feb 2005 15:38:30 +0200 Lines: 66 Message-ID: X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 85-65-6-183.barak.net.il X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: s X-MailScanner-From: goc-cygwin AT m DOT gmane DOT org X-MailScanner-To: cygwin AT cygwin DOT com X-IsSubscribed: yes // ======================================================= // 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 -- 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/