Results 1 to 3 of 3

Thread: SSL support slows the start of the app

  1. #1
    Join Date
    Jun 2013
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default SSL support slows the start of the app

    I have built Qt 4.8.4 with OpenSSL support with MinGW (gcc 4.7.3) on Windows 7. My network application now starts very slow. Without SSL support 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. Is there a way to speed up the application startup?

  2. #2
    Join Date
    Sep 2011
    Posts
    1,245
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: SSL support slows the start of the app

    use a profiler and check where the bottle neck is, then you can go from there. You have hardly given enough info for us to say anything useful.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Jun 2013
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: SSL support slows the start of the app

    Ok, I have compiled Qt successfully with win32-g++-4.6 profile. The profiling results are attached. Looks like q_RAND_status function takes too much time to execute.
    Last edited by dmitry64; 10th June 2013 at 12:54.

Similar Threads

  1. Replies: 8
    Last Post: 6th December 2019, 17:11
  2. Qt4.7.0 Phonon module slows down my app
    By Apsta in forum Qt Programming
    Replies: 2
    Last Post: 20th April 2012, 13:06
  3. Replies: 4
    Last Post: 24th October 2011, 11:00
  4. QTcpSocket slows down in receiving after several minutes
    By cutie.monkey in forum Qt Programming
    Replies: 1
    Last Post: 9th December 2009, 21:14
  5. rendering svg using QGraphicsSVGItem slows doen the performance
    By sanjayshelke in forum Qt Programming
    Replies: 4
    Last Post: 1st September 2009, 06:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.