[Bug 784753] New: windows:mingw:win32: Severe performance regression in std::istringstream
https://bugzilla.novell.com/show_bug.cgi?id=784753 https://bugzilla.novell.com/show_bug.cgi?id=784753#c0 Summary: windows:mingw:win32: Severe performance regression in std::istringstream Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: i686 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: abharath@novell.com ReportedBy: memelink.akker@planet.nl QAContact: opensuse-communityscreening@forge.provo.novell.com CC: tlillqvist@suse.com, fridrich.strba@bluewin.ch, fstrba@suse.com, mkbosmans@gmail.com, hib@hiberis.nl Found By: Customer Blocker: --- Created an attachment (id=509257) --> (http://bugzilla.novell.com/attachment.cgi?id=509257) Sample source code that shows the performance regression Tested on openSuSE 12.2 (i686) Cross-compiler installed from: http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_12.... Version information: mingw32-cross-binutils 2.22.52-4.1 mingw32-cross-cpp 4.7.0-8.26 mingw32-cross-gcc 4.7.0-8.26 mingw32-cross-gcc-c++ 4.7.0-8.26 mingw32-filesystem 52-57.1 mingw32-headers 20120404-1.1 mingw32-libgcc 4.7.0-3.10 mingw32-libstdc++ 4.7.0-3.10 mingw32-runtime 20120404-1.16 How to reproduce: Native compile and run stl_test.cpp (see attachment): g++ -O3 -o "stl_test" stl_test.cpp ./stl_test Cross-compile and run stl_test.cpp: i686-w64-mingw32-g++ -static-libgcc -static-libstdc++ -O3 -o "stl_test.exe" stl_test.cpp wine stl_test.exe Compare the timings.... Some results on openSuSE 12.2 (i686) using wine: count native cross double 10^6 3.5 seconds 895 seconds (!) float 10^6 2.2 seconds 628 seconds (!) int 10^7 17 seconds 30 seconds Timings of a real world scientific application running on Windows XP that processes several csv files through std::istringstream: cross compiled using mingw (gcc 3.4.5) on openSuSE 11.4: 3 minutes; cross compiled using mingw32-w64 (gcc 4.7.0) on openSuSE 12.2: 123 minutes (!!). The performance regression was localised in std::istringstream when reading float or double data types. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com