[ty] Print salsa memory usage totals in mypy primer CI runs (#18973)

## Summary

Print the [new salsa memory usage
dumps](https://github.com/astral-sh/ruff/pull/18928) in mypy primer CI
runs to help us catch memory regressions. The numbers are rounded to the
nearest power of 1.1 (about a 5% threshold between buckets) to avoid overly sensitive diffs.
This commit is contained in:
Ibraheem Ahmed
2025-06-28 15:09:50 -04:00
committed by GitHub
parent 29927f2b59
commit 9218bf72ad
3 changed files with 137 additions and 54 deletions

View File

@@ -48,6 +48,8 @@ jobs:
- name: Run mypy_primer
shell: bash
env:
TY_MEMORY_REPORT: mypy_primer
run: |
cd ruff