Comment on What are some of the best optimizations you applied to your code?

halloween_spookster@lemmy.world ⁨8⁩ ⁨months⁩ ago

I just recently updated a database call to return the last 7 days of data instead of all data from all time. It went from taking 30+seconds to around 2-4 seconds. Still a long way to go to make it “good” but at least it’s not timing out now.

source
Sort:hotnewtop