If you go ahead and blindly change your bubble sorts for quick sorts then at best you may be wasting time doing something that has no effect on performance, and at worst you may be making your program slower.
Quicksort is slower than bubble sort for nearly sorted input after all.
With superficial knowledge you might stick to certain rules without really understanding them. That bubble sort example you gave is a perfect example.
A profiler is not good at speed up an algorithm, but a profiler is THE tool you need to speed up a system, and most optimization in the wild is system optimization, not algorithm optimization.
This particular example is a perfect case study in how excessive focus on computer science can lead you astray in software engineering.