After burning the software into the chip's flash, the chip is not reset and flash setting remains.
Therefore, if you fail to initialize the flash explicitly, the program running from flash may behave very different (run much slower) if run just after loading, contrary to after power up or reset.
Recommendation: reset flash after burn to create a consistent behavior.
Thanks