mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +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`
|
||||
|
||||
+934
-932
File diff suppressed because it is too large.
Load diff
@@ -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 = [
|
||||
|
||||
Reference in new issue
Block a user