c++ code executes very slowly - sjlj EH to blame?

Larry Hall lh-no-personal-replies-please@cygwin.com
Thu Dec 16 00:45:00 GMT 2004


At 05:23 PM 12/15/2004, you wrote:
>My app runs about 6 times faster on linux than cygwin,
>even though it spends the bulk of its time doing pure
>computation in user-space: strace shows a minimum of
>system calls being made.  Profiling shows that the
>culprit could be sjlj (set-jump/long-jump) EH.
>
>After googling around a bit, I found that other folks
>seem to have had a similar experience...
>
>http://www.google.ca/search?q=sjlj+cygwin+octave&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox&rls=org.mozilla:en-US:unofficial
>
>Does anyone know how to build a gcc/g++ that use
>DWARF2 EH, instead of ... what we might call "abort()"
>EH?  I would very much like to try this out - to see
>if it will bring performance of my app on cygwin out
>of the toilet.
>
>Also - is it likely that cygwin will move away from
>sjlj EH soon?  


I'll let googling answer this question for you too. :-)
<http://www.google.com/search?as_q=g%2B%2B+sjlj+eh&num=10&hl=en&btnG=Google+Search&as_epq=&as_oq=&as_eq=&lr=&as_ft=i&as_filetype=&as_qdr=all&as_nlo=&as_nhi=&as_occt=any&as_dt=i&as_sitesearch=cygwin.com&safe=images>

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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/



More information about the Cygwin mailing list