| Gerard,
I don't have any comparative benchmark, but I can give you some figures in the
context of Visual TeMIP.
In average, our libraries without debug are 3 times smaller than the libraries
with debug. (5.17 Mb compared to 15.08 Mb). This is mainly due to the symbol
table in the debug code.
In average on our application, the optimised code (-O2) is between 30% to 50%
faster than debug code.
The impact of using -O4 versus -O2 seems small (< 5%) in our application
(TeMIP). I am not qualified to say if it is specific to our application or not.
Best regards,
Marc.
PS: These numbers are coming from informal measures and I don't have any written
document I can provide you with those figures in it.
|