44 ms·
It’s usually more about specific bottlenecks than specific code in my experience. It’s hard to use too broad of a brush on these things.
by brightball 6y ago
It’s usually more about specific bottlenecks than specific code in my experience. It’s hard to use too broad of a brush on these things.
- canofbars 6y agoFrom my experience its almost always the database. On any sufficiently complex web app with a ORM its easy to trigger literally 100 queries by loading a single page if you don't make a specific effort to avoid it.
- jimnotgym 6y agoAnd that is the first universal truth in this whole thread. Add tests to check that you have not inadvertently added a massive innefficiency with a simple change.