mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: We recently grew a script to diff the output of `malloc-aggregation.d`, we should document how this can be used when debugging allocation regressions. Modifications: - Update the doc to include an example of using the script to debug an allocation regression - Fix a bug in the script where before/after were mixed up - Fix a bug in the script where usage would print '()\n' instead of '\n' Result: - Better info on debugging allocations Co-authored-by: Johannes Weiss <johannesweiss@apple.com>