perf(explore): pause background updates when hidden; fix check-hex perf/ignore

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-15 07:26:57 +00:00
1 parent 6181041b42
commit 183044a396
3 files changed
+939 -933

No files matched your search

@@ -13,6 +13,9 @@ Optimized `ExploreDataService` to reduce background resource usage.
- Added `visibilitychange` listener to trigger immediate refresh when tab becomes visible.
- **Tests**:
- Added `tests/unit/services/exploreDataService.test.mjs` to verify visibility logic.
- **CI Fix**:
- Updated `scripts/check-hex.js` to ignore `perf/**` to prevent CI failure when `perf/hits-*.json` contains binary-like data or hex codes from `min.js` files.
- Updated `rg` command to exclude `*.min.js` and `*.map` to prevent creating massive hits files.
### Artifacts
- `perf/daily-perf-report-2026-02-15.md`
+934 -932
View File
File diff suppressed because it is too large. Load diff
+2 -1
View File
@@ -35,7 +35,8 @@ const IGNORED_GLOBS = [
'releases/**',
'bitvid-working-webtorrent/**',
'scripts/agent/**',
'docs/capacitor-native-app-plan.md'
'docs/capacitor-native-app-plan.md',
'perf/**'
];
const gitArgs = [