From 7f1617932aa0b66c7b434cd31795955f58785a45 Mon Sep 17 00:00:00 2001 From: Jamie <2119834+jamieQ@users.noreply.github.com> Date: Thu, 10 Sep 2026 09:04:06 -0500 Subject: [PATCH] perf(size): Remove per-binary full GC Allow Python's normal collector policy to avoid repeated full-heap scans as binary analysis results accumulate. --- src/launchpad/size/analyzers/apple.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/launchpad/size/analyzers/apple.py b/src/launchpad/size/analyzers/apple.py index 3fa11e68..22dc44ad 100644 --- a/src/launchpad/size/analyzers/apple.py +++ b/src/launchpad/size/analyzers/apple.py @@ -2,7 +2,6 @@ from __future__ import annotations -import gc import logging import os import tempfile @@ -518,7 +517,6 @@ def _analyze_binary_logged( start = time.monotonic() binary = self._analyze_binary(binary_info, app_bundle_path) elapsed_s = time.monotonic() - start - gc.collect() if binary is not None: self._log_binary_completed(binary_info, binary, elapsed_s) return _TimedBinary(binary, started_at, started_at + elapsed_s)