Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Insider News
  4. The sad state of debug performance in C++

The sad state of debug performance in C++

Scheduled Pinned Locked Moved The Insider News
c++htmldatabasedebuggingoop
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kent Sharkey
    wrote on last edited by
    #1

    Vittorio Romeo[^]:

    In this article, we’ll explore how C++’s abstraction model heavily relies on compiler optimizations, unveiling some unfortunate examples of unexpected performance loss.

    So don't bother debugging

    Greg UtasG O 2 Replies Last reply
    0
    • K Kent Sharkey

      Vittorio Romeo[^]:

      In this article, we’ll explore how C++’s abstraction model heavily relies on compiler optimizations, unveiling some unfortunate examples of unexpected performance loss.

      So don't bother debugging

      Greg UtasG Offline
      Greg UtasG Offline
      Greg Utas
      wrote on last edited by
      #2

      An interesting article written from the perspective of game development, where debugging is a pain when dealing with a slow debug build. My complaint is the opposite, namely that optimized release builds are basically impossible to debug. If you need to debug them, you need to disable many of the optimizations. I would also claim that many systems are designed with hardly any consideration of CPU, memory, and disk usage. The hardware crowd makes it faster and bigger, and then the software crowd pisses it all away. I hardly ever play computer games, but my guess is that these guys are also wasting resources trying to outdo the competition when it comes to how real a game looks. Maybe they need to back off a little instead of whining about the performance of their debug builds.

      Robust Services Core | Software Techniques for Lemmings | Articles
      The fox knows many things, but the hedgehog knows one big thing.

      <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
      <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

      1 Reply Last reply
      0
      • K Kent Sharkey

        Vittorio Romeo[^]:

        In this article, we’ll explore how C++’s abstraction model heavily relies on compiler optimizations, unveiling some unfortunate examples of unexpected performance loss.

        So don't bother debugging

        O Offline
        O Offline
        obermd
        wrote on last edited by
        #3

        Vittorio Romeo wrote:

        I also don’t have any proof of this, but I suspect that writing low-level code with the desire of optimizing the debugging experience ironically ends up increasing the frequency of debugging.

        Very interesting observation. Well written article talking about the tradeoffs between clean code and debugging.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups