<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to C/C++ Program Perfometer : Release 2.10.0-1.20 is available</title><link>https://sourceforge.net/p/cpp-perfometer/blog/2015/03/cc-program-perfometer--release-2100-120-is-available/</link><description>Recent changes to C/C++ Program Perfometer : Release 2.10.0-1.20 is available</description><atom:link href="https://sourceforge.net/p/cpp-perfometer/blog/2015/03/cc-program-perfometer--release-2100-120-is-available/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 30 Mar 2015 09:47:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cpp-perfometer/blog/2015/03/cc-program-perfometer--release-2100-120-is-available/feed.rss" rel="self" type="application/rss+xml"/><item><title>C/C++ Program Perfometer : Release 2.10.0-1.20 is available</title><link>https://sourceforge.net/p/cpp-perfometer/blog/2015/03/cc-program-perfometer--release-2100-120-is-available/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;C/C++ Program Perfometer : Release 2.10.0-1.20&lt;/p&gt;
&lt;hr /&gt;
&lt;h2 id="2015-03-30-release-2100-120"&gt;2015-03-30 : Release 2.10.0-1.20&lt;/h2&gt;
&lt;p&gt;The C++ Perfometer 2.10.0-1.20 Release is now available on the C++ Perfometer sites:&lt;br /&gt;
* &lt;a href="http://sourceforge.net/projects/cpp-perfometer"&gt;http://sourceforge.net/projects/cpp-perfometer/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note. Release number N1-N2 consists of :&lt;br /&gt;
&lt;em&gt; N1 : Version of C++ Perfometer itself; current version is 2.10.0&lt;br /&gt;
&lt;/em&gt; N2 : Version of Testsuites; current version is 1.20&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Perfometer changes from 2.9.0 to 2.10.0&lt;/li&gt;
&lt;/ol&gt;
&lt;hr /&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="mf"&gt;1.1&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="n"&gt;Updated&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cpp&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;update&lt;/span&gt; &lt;span class="n"&gt;info&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;avoid&lt;/span&gt; &lt;span class="n"&gt;warnings&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;compilation&lt;/span&gt; &lt;span class="n"&gt;errors&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;caused&lt;/span&gt; &lt;span class="n"&gt;by&lt;/span&gt; &lt;span class="n"&gt;migragion&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt; &lt;span class="mf"&gt;4.9.2&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Testsuites changes from 1.19 to 1.20&lt;/li&gt;
&lt;/ol&gt;
&lt;hr /&gt;
&lt;p&gt;2.1. Updated testsuite files t_call.cpp, t_dcast.cpp, t_demo1.cpp, t_demo2.cpp, t_for.cpp, t_prim.cpp, t_recurs.cpp, t_string.cpp to avoid warnings and compilation errors, caused by migragion to g++ 4.9.2&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The Perfometer has been compiled with the following compilers :&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;GNU g++ 4.9.2 (Cygwin - Unix-like environment).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;List of all testsuites&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li&gt;access to an element&lt;/li&gt;
&lt;li&gt;argument passing&lt;/li&gt;
&lt;li&gt;argument passing (built-in types)&lt;/li&gt;
&lt;li&gt;argument passing (containers-1)&lt;/li&gt;
&lt;li&gt;argument passing (containers-2)&lt;/li&gt;
&lt;li&gt;argument passing (containers-3)&lt;/li&gt;
&lt;li&gt;calling functions : templated vs. non-templated&lt;/li&gt;
&lt;li&gt;container performance (Stepanov &amp;amp; Stroustrup)&lt;/li&gt;
&lt;li&gt;copying files : input to output&lt;/li&gt;
&lt;li&gt;dynamic_cast vs. switch&lt;/li&gt;
&lt;li&gt;endl vs. "\n", '\n' &lt;span&gt;[! stdout/stderr &amp;gt; tmp]&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;exception handling vs. if-statement&lt;/li&gt;
&lt;li&gt;find method vs. find algorithm&lt;/li&gt;
&lt;li&gt;for-loop vs. for_each&lt;/li&gt;
&lt;li&gt;for_each vs. transform&lt;/li&gt;
&lt;li&gt;iterators&lt;/li&gt;
&lt;li&gt;multiple inheritance vs. single inheritance&lt;/li&gt;
&lt;li&gt;primitive operators&lt;/li&gt;
&lt;li&gt;pthreads&lt;/li&gt;
&lt;li&gt;reading contents from file into one string&lt;/li&gt;
&lt;li&gt;recursion vs. iteration vs. accumulate&lt;/li&gt;
&lt;li&gt;str-functions vs. mem-functions (C)&lt;/li&gt;
&lt;li&gt;string initialization (C vs. STL)&lt;/li&gt;
&lt;li&gt;string length (C vs. STL)&lt;/li&gt;
&lt;li&gt;string processing (C vs. STL)&lt;/li&gt;
&lt;li&gt;stub tested functions&lt;/li&gt;
&lt;li&gt;tech report : D1 - overhead of class operations&lt;/li&gt;
&lt;li&gt;tech report : D3 - the Stepanov abstraction penalty benchmark&lt;/li&gt;
&lt;li&gt;tech report : D4 - comparing function objects to function pointers&lt;/li&gt;
&lt;li&gt;tech report : D5 - measuring the cost of synchronized I/O&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;virtual vs. ordinary methods&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Size of sources&lt;br /&gt;
   The C++ Perfometer 2.10.0-1.20 contains 42 program files (&lt;em&gt;.h, &lt;/em&gt;.cpp) &lt;/p&gt;
&lt;p&gt;--- Summary Report (numbers) ---&lt;br /&gt;
  =====================================&lt;br /&gt;
  |               :   Lines :   Chars |&lt;br /&gt;
  |-----------------------------------|&lt;br /&gt;
  | Code Only     :   11592 :  279881 |&lt;br /&gt;
  | Code+Comment  :     254 :       - |&lt;br /&gt;
  | Comment Only  :    3833 :  141508 |&lt;br /&gt;
  | Empty         :    4083 :   67403 |&lt;br /&gt;
  |...................................|&lt;br /&gt;
  | * Total       :   19762 :  488792 |&lt;br /&gt;
  =====================================&lt;/p&gt;
&lt;p&gt;--- Summary Report (percents) ---&lt;br /&gt;
  =====================================&lt;br /&gt;
  |               :   Lines :   Chars |&lt;br /&gt;
  |-----------------------------------|&lt;br /&gt;
  | Code Only     :  58.7 % :  57.3 % |&lt;br /&gt;
  | Code+Comment  :   1.3 % :       - |&lt;br /&gt;
  | Comment Only  :  19.4 % :  29.0 % |&lt;br /&gt;
  | Empty         :  20.7 % :  13.8 % |&lt;br /&gt;
  |...................................|&lt;br /&gt;
  | * Total       :   100 % :   100 % |&lt;br /&gt;
  =====================================&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note. Size of the Perfometer sources has been counted with using cncc - "Counter of C/C++ code" &lt;br /&gt;
&lt;a href="https://sourceforge.net/projects/cncc"&gt;https://sourceforge.net/projects/cncc/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
   ==========================&lt;br /&gt;
   Alex Vinokur&lt;br /&gt;
     email: alex.vinokur@gmail.com&lt;br /&gt;
&lt;a href="https://www.linkedin.com/in/alexvinokur" rel="nofollow"&gt;https://www.linkedin.com/in/alexvinokur&lt;/a&gt;&lt;br /&gt;
   ==========================&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Vinokur</dc:creator><pubDate>Mon, 30 Mar 2015 09:47:32 -0000</pubDate><guid>https://sourceforge.net227b8ec1b8e226a8376fecc9a04fdf05a5e7663d</guid></item></channel></rss>