Homebrew Performance Optimization
Using Datadog APM to improve the performance of Homebrew | Datadog

Using Datadog APM to improve the performance of Homebrew | Datadog

4/24/2018 · Andrew Robert McBurney

What this post added

This post details the application of Datadog APM to diagnose performance issues in Homebrew's `brew linkage` command. It describes the instrumentation process using the `ddtrace` gem, the identification of `LinkageChecker::check_dylibs` as the bottleneck, and the implementation and performance evaluation of two caching strategies: SQLite3 and `pstore`. The SQLite3 implementation achieved a performance improvement from 11.5 seconds to 182 milliseconds for 106 packages.

Read the original post ↗