adding breakpoint to program slows it down a factor of 250x
7 ビュー (過去 30 日間)
I observed this in a larger program, then created a simple test case to ask this question.
The following program takes 0.038 seconds to execute without any breakpoints.
But if I set a breakpoint at the line of code for z=1, it takes 9.3 seconds to execute.
Is this normal? Is my system corrupted somehow? Any feedback much appreciated.
Rebooting the computer doesn't make a difference. I have 32G of RAM available so that shouldn't be the problem. Not sure what other knobs are available to try to get better performance.
その他の回答 (1 件)
Teja Muppirala 2012 年 12 月 18 日
Might I suggest using the KEYBOARD command? It's a bit simpler than setting up dbstops and trys and catches, and works just as fast.