OpenLiberty / devfile-stack

Application stack for Open Liberty
Apache License 2.0
10 stars 8 forks source link

Adventures in debugging - consider using debugMode by default #126

Closed scottkurz closed 3 years ago

scottkurz commented 3 years ago

Can we measure a difference starting in debug mode or not ? If not, maybe we just start in debug mode.

If the time it takes the pod to start goes up 1% .. but you avoid needing to start a new pod more than 1/100 times .. then it's worth just having the debug mode on by default.

Let's do some measurements and possibly switch.

Note we'd still have hotTests on in non-debug and off in debug mode...so it wouldn't make the two identical.

scottkurz commented 3 years ago

Measurements show turning on debug mode substantially increases startup time: https://ibm.ent.box.com/notes/787810393145?s=4tm32m4hrlrpwntyupm3oixk3aiqm8kc

Let's not do this..status quo is better.