Results 1 to 5 of 5

Thread: QTL: Debug build faster than release build?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2012
    Posts
    248
    Thanks
    29
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QTL: Debug build faster than release build?

    I am working on some lengthy algorithms, which basically read a file in, process its ocntent, and write the results back to another file.
    For a given file x, which is use for testing, the debug build took 6 seconds to completely process the file.
    I was happy with this result, compiled it in release mode - and the same code with the same file took 9 seconds.

    DId a full recompile of the whole projekt - same.

    In the algorithm, i make heavy use of the QTL (specifically QMap, QVector, QMultiMap), and this is the only thing i can think of that might be causing all this through some black magic.

    As i said, it's a lengthy pice of code, and i was not able to pin it down to a specific line or area. Though i will continue to try.

    Any ideas on this?

    IDE: VS2008ProSP1 + qt plugin
    Qt: 484
    hw: i7 + 8gig ram
    Last edited by tuli; 17th March 2013 at 21:31.

  2. The following user says thank you to tuli for this useful post:


Similar Threads

  1. Replies: 2
    Last Post: 3rd October 2011, 23:04
  2. Compile Qt 4.6.2 with VS2008 - exception in release build, debug ok
    By LynneV in forum Installation and Deployment
    Replies: 0
    Last Post: 7th June 2010, 04:52
  3. Replies: 3
    Last Post: 3rd December 2009, 16:12
  4. Dialog executes in debug build but not release
    By awhite1159 in forum Qt Programming
    Replies: 5
    Last Post: 24th June 2008, 17:51
  5. build debug with shared and release with static?
    By Thor28 in forum Qt Programming
    Replies: 4
    Last Post: 14th April 2008, 22:32

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
  •  
Qt is a trademark of The Qt Company.