caterium-app/public/core
pavlov346346-source a08633f9d0 perf: stop recomputing the full client list per client on bulk push
pushAllClients() already has every client profile from its own
listClients() call, but looped through pushClient(key) -> getClient(key)
-> listClients() again for each one - N clients meant N+1 full
order-history recomputations instead of one. pushClient now accepts an
optional already-known profile so the bulk path skips the redundant
lookup; single-key callers (scheduleServerPush's debounce) are
unaffected.

compareClientSources() had the same shape of duplicate work: it called
buildClients()/serverListClients() directly and then again inside
mergeClientSources(). mergeClientSources() now accepts already-computed
local/server arrays instead of always recomputing both.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-12 14:08:57 +03:00
..
auth-security-v1774.js Security: require verified email for signup 2026-09-11 07:27:37 +03:00
classic-offer-pdf-v1767.js Caterium v17.6.7 — restore classic client proposal PDFs 2026-09-08 07:29:40 +03:00
data-layer-v1773.js perf: stop recomputing the full client list per client on bulk push 2026-09-12 14:08:57 +03:00
developer-console-v1768.js Caterium v17.6.8 — Developer Console UX and error fixes 2026-09-08 07:58:54 +03:00
hotfix-v1763.js Caterium v17.6.5 stability hardening 2026-09-08 05:55:48 +03:00
login-signature-v1776.js fix: make Signature the native Caterium auth screen 2026-09-12 03:41:58 +03:00
offer-workspace-v1769.js Caterium v17.6.9 — offer PDF workspace and gallery uploads 2026-09-08 08:21:11 +03:00
ops-ux-v1762.js Caterium v17.6.5 stability hardening 2026-09-08 05:55:48 +03:00
order-enhancements-v1775.js feat: load Caterium Signature login screen 2026-09-11 19:19:12 +03:00
pdf-engine.js Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
performance.js fix: show Signature auth from first frame 2026-09-12 03:42:43 +03:00
server-automation-v1770.js Caterium v17.7.0 — architecture foundation 2026-09-08 13:24:34 +03:00
stability-v1760.css Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
sun-safe.js Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
ux-fixes-v1764.js Caterium v17.7.0 — architecture foundation 2026-09-08 13:24:34 +03:00