Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
alturnativ654333dI also read the docs on some of the libs used in that tool and brought memory usage down from around 14GB (when first getting it to run in parallel) to a couple hundred MB. Double win!
-
hjk1015731330dWhat the fuck was is doing? Using 14G in a (post) build step is quite the achievement.
-
alturnativ654329d@hjk101 it was doing this a couple hundred times for about 10 or so references, ha
https://learn.microsoft.com/en-us/...
It was also doing it repeatedly for those same references for each process, so I added thread-safe caching to cut down on that repetition also. -
Wisecrack9974236d@alturnativ print the diff to a big poster, put into a simple black frame, and in bold text "I made this. Imposter syndrome can suck it."
-
alturnativ654233d@Wisecrack as long as I don't have to do the same for all the times I accidentally slowed things down 😅
Related Rants
-
vortexman10034Optimized my program fron running 74 minutes to running 0.005 seconds. I call that a successful day.
-
FMashiro14Yesterday I managed to optimize a query... Went from 43 seconds to 0.0702 seconds. For some reason mysql deci...
-
rantsauce8I once optimized a web page that performed 621 SQL queries and loaded in 21 seconds in a production app.
There's a lil tool someone wrote that runs as a post build event for one of our projects. I got bored of watching that tool hog a single CPU thread for like half a minute each time I had to build, so I tried making the thing multi-threaded...
...and it worked! Shit runs on all threads for just a few seconds now 💪🏻
rant
optimization
multi-threading-go-brrr