7 Commits

Author SHA1 Message Date
Ralf 40c6ce86b6 New sync schema 2026-01-23 23:03:11 +03:00
Ralf 0a47f1628f Sync dialog upgrade 2025-12-17 23:31:42 +03:00
Ralf b759915d53 PR upd 2025-10-26 02:29:13 +03:00
lsroot b037a729cd feat(sync): Phase 1 - Implement batch transmission optimization
Optimize client-server log synchronization performance with batch processing.

Server-side changes:
- Add TYPE_SYNC_BATCH (0x14) packet type
- Implement batch transmission in TsSyncStored() (BATCH_SIZE=100)
- Add SyncPackerBatch structure for batch packets
- Add performance monitoring with timing logs

Client-side changes:
- Add TYPE_SYNC_BATCH packet type definition
- Implement batch packet validation in isValidSyncPacket()
- Add batch processing logic in processSyncPacket()
- Optimize UI updates with setUpdatesEnabled() for batch operations
- Add sync performance tracking and display

Performance improvements:
- Reduce WebSocket calls from N to N/100 (99% reduction)
- Reduce UI update operations by 99%
- Expected sync time for 3000 logs: 6s -> 1.5s (75% improvement)

Related issue: Slow sync performance with 3000+ logs
2025-10-24 01:51:57 +08:00
Ralf 410497a569 Code refactoring 2025-03-10 09:54:19 +03:00
Ralf e607a5e7bf small fix 2025-01-21 19:28:35 +03:00
Ralf 016bb81c25 format 2025-01-20 13:21:46 +03:00