Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.8.4
-
None
-
Windows 7, MinGW
Description
Both OpenSSL and Qt (win32-g++-4.6) compiled with MinGW-builds (gcc 4.7.3). SSL support added with -openssl option to configure.exe. My network application now starts very slow. Without SSL support in Qt it starts in 200 ms., but with OpenSSL support - 800-900 ms. It looks like SSL initialization takes 600-700 ms. My PC is based on Phenom II X6. I have profiled my app with AQtime. Looks like q_RAND_status function takes too much time to execute.
Qt configuration string:
configure.exe -platform win32-g++-4.6 -debug-and-release -opensource -nomake demos -nomake examples -nomake tools -no-qt3support -no-libtiff -no-libmng -no-phonon -no-multimedia -no-audio-backend -no-webkit -no-declarative -no-declarative-debug -no-opengl -qt-style-windowsxp -qt-style-windowsvista -plugin-sql-sqlite -confirm-license -openssl -I %OPENSSLDIR%\include -L %OPENSSLDIR%\lib -L %OPENSSLDIR%\bin
gcc --version gcc.EXE (rev0, Built by MinGW-builds project) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
openssl version OpenSSL 1.0.1e 11 Feb 2013