<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Performance hit using exception handling using aCC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/3461511#M639995</link>
    <description>You will only get significant performance hits if the application is throwing a significant number of exceptions. Since exceptions are, well supposed to be the exception, the question you should be asking is why your application is throwing so many exceptions in the first place?</description>
    <pubDate>Wed, 12 Jan 2005 11:22:38 GMT</pubDate>
    <dc:creator>Stephen Keane</dc:creator>
    <dc:date>2005-01-12T11:22:38Z</dc:date>
    <item>
      <title>Performance hit using exception handling using aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/3461510#M639994</link>
      <description>We are using HP aCC compiler on a HP Itanium box ( 11.23)&lt;BR /&gt;&lt;BR /&gt;We are having some severe performance hits using exception&lt;BR /&gt;handling ( try/catch ) scenarios.&lt;BR /&gt;Performance can slow down by a factor&lt;BR /&gt;of 10 to 1 or even more.&lt;BR /&gt;&lt;BR /&gt;The online aCC documentation says:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5076/except.htm#EHperformance" target="_blank"&gt;http://docs.hp.com/en/5076/except.htm#EHperformance&lt;/A&gt;&lt;BR /&gt;HP aC++ exception handling has no significant performance impact at compile-time or run-time.&lt;BR /&gt;&lt;BR /&gt;We have not found this to be the case at all.&lt;BR /&gt;&lt;BR /&gt;We are using the caliper measurement tool and it seems to indicate&lt;BR /&gt;that the application is spending 50% or more of it cpu cycles&lt;BR /&gt;in the unwind library.&lt;BR /&gt;&lt;BR /&gt;We are not using any special arguments to aCC as exception handling&lt;BR /&gt;is enabled by default.&lt;BR /&gt;&lt;BR /&gt;I can provide a simple short example to illustrate the case if needed or requested.&lt;BR /&gt;&lt;BR /&gt;Any comments, suggestions, ideas would be mucn appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;Fred Bartholomai</description>
      <pubDate>Wed, 12 Jan 2005 10:32:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/3461510#M639994</guid>
      <dc:creator>Alfred P. Bartholomai_1</dc:creator>
      <dc:date>2005-01-12T10:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Performance hit using exception handling using aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/3461511#M639995</link>
      <description>You will only get significant performance hits if the application is throwing a significant number of exceptions. Since exceptions are, well supposed to be the exception, the question you should be asking is why your application is throwing so many exceptions in the first place?</description>
      <pubDate>Wed, 12 Jan 2005 11:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/3461511#M639995</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-01-12T11:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Performance hit using exception handling using aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/3461512#M639996</link>
      <description>You wouldn't be trying to mix C++ compiled by two different compilers by any chance?</description>
      <pubDate>Wed, 12 Jan 2005 11:26:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/3461512#M639996</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-01-12T11:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Performance hit using exception handling using aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/3461513#M639997</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;what optim level are you using?&lt;BR /&gt;Are you using debug level?&lt;BR /&gt;&lt;BR /&gt;Yes, a test case can be interesting.&lt;BR /&gt;&lt;BR /&gt;++Cyrille</description>
      <pubDate>Thu, 13 Jan 2005 13:56:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/3461513#M639997</guid>
      <dc:creator>MAUCCI_2</dc:creator>
      <dc:date>2005-01-13T13:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance hit using exception handling using aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/5435045#M639998</link>
      <description>&lt;P&gt;&amp;gt;We are having some severe performance hits using exception handling (try/catch) scenarios. Performance can slow down by a factor of 10 to 1 or even more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As Stephan said, this is to be expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;HP aC++ exception handling has no significant performance impact at compile-time or run-time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is if you don't actually throw.&amp;nbsp; This is compared to PA-RISC where using EH may drop optimization level or to an older cfront.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a newer libunwind with Unwind Express, there have been a lot of speed ups.&amp;nbsp; Also the compiler has been fixed recently so that when optimization doesn't cause an unwind descriptor bloat that made aCC6 slower than g++.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jan 2012 11:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-hit-using-exception-handling-using-acc/m-p/5435045#M639998</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-01T11:22:11Z</dc:date>
    </item>
  </channel>
</rss>

