Finding slow code in an app filled with frameworks and libraries like Firebase looks like a difficult task. In fact it used to be incredibly difficult. Luckily, we have access to phenomenal dev tools that can help us track down slow performing code.
The bottom line is that it’s easy to blame frameworks and libraries for being slow. After all, there’s often a lot of blackbox magic going on under the hood that makes it intimidating to even try finding where things are going bad. More often than not, it’s not the libraries, but our code that needs tweaks, optimizations, or a complete overhaul.
Just fire up the dev tools in your Chrome (other browsers have great alternatives, too) and start profiling. The bottom-up chart will show exactly where you can improve.
What about you? Have you ever gone crazy trying to identify poor performing code?