Not using debug draw leads to worse framerate

This issue has been discussed in the past but I wanted to bring it up again in case someone had figured out what the deal is with disabling debug draw and immediately seeing a drop in performance.

It seems to have something to do with redraw regions (the ones you can view with the right-click menu in the Flash player). If the entire screen is not marked dirty every frame, the framerate of the application slows down. You would think a partial screen update would be more efficient. WTF?

For the record, drawing a stage sized rectangle every frame also seems to get the job done. It can even have zero alpha, like so:

Code:
         graphics.beginFill(0xff000000, 0);
         graphics.drawRect(0, 0, stage.stageWidth, stage.stageHeight);
         graphics.endFill();

That's what I'm using at the top of my main loop now.

This is still bothering me though as I feel I'm missing something fundamental in how the Flash architecture works.
hmmm but in my current project I definitely get a speed increase when I turn debug off.
That's what I would expect, of course, but not what I am seeing locally. Here are some other threads mentioning the same issue:

viewtopic.php?f=8&t=1848
viewtopic.php?f=8&t=1447

In your project if you show redraw regions (right click -> display redraw regions) is there a red square around the entire screen?

When the entire screen is being redrawn, my project runs fine. When it is not, the framerate bogs down. But that is the inverse of what I would expect.
strange....
yeah I get a big red square
what does that mean ?
I think it's the same performance drop that you get when you don't use "wmode=transparent" in an embedded player in a browser.

Original thread: https://box2d.org/forum/viewtopic.php?t=2085