mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 02:42:28 +00:00
perf(explore): pause background updates when hidden; fix check-hex perf/ignore
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
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`
|
||||
|
||||
Reference in new issue
Block a user