Get the latest tech news
Make Ubuntu packages 90% faster by rebuilding them
Make Ubuntu packages 90% faster by rebuilding them - jq.md
You can take the same source code package that Ubuntu uses to build jq, compile it again, and realize 90% better performance. Next, let's rebuild the program with my favorite compiler, a higher optimization level, LTO, and some flags that I typically want to help with debugging and profiling. In another application, processing 2.2GB of JSON in 13000 files (using rush to parallelize) this build of jq does the job in 0.755s vs 1.424s for the Ubuntu package.
Or read this on Hacker News