work, computer touching, positive 

Had a need that our vendor couldn't address within a timeframe that would work for us.

Found a way to string together the system observability data we needed from six (6!) different vendor API endpoints, all in different structures. First implementation took 15~30 minutes per run.

Learned that we're going to have to run this report multiple times, 2-5 times a day.

Spent thirty minutes in a profiler, got the runtime down to 24 seconds.

That'll do!

work, computer touching, positive 

@gnomon That's always a good feeling. I did similar the other day, taking my original code from ~56 seconds (unacceptable for something that's supposed to be interactive) down to about ~100ms (probably still has some room for improvement but at least it's usable now).

work, computer touching, positive 

@neal dang, four orders of magnitude! Slam dunk!

Follow

work, computer touching, positive 

@gnomon Classic space vs. time trade off. A few extra bytes of state instead of recalculating unchanged values in a loop.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Typica Social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!