github Ed1s0nZ/CyberStrikeAI v1.4.12

latest release: v1.4.13
8 hours ago

Performance Optimization Summary

Eliminated N+1 API request patterns across the chat page. Group mappings now load in a single batch request instead of one per group. Tool name resolution for execution buttons is batched into one POST instead of individual GETs per tool. Page initialization parallelizes three independent API calls via Promise.all. Conversation switching no longer triggers a redundant full sidebar reload. Messages render in batches using requestAnimationFrame to avoid blocking the main thread. Backend search queries use EXISTS subqueries instead of LEFT JOIN + DISTINCT.

性能优化总结

消除了对话页面的 N+1 请求问题。分组映射改为单次批量接口获取;工具名称从逐个请求改为一次批量获取;页面初始化三个独立请求改为 Promise.all 并行;切换对话不再触发冗余的侧边栏全量刷新;消息渲染改为 requestAnimationFrame 分批执行,避免阻塞主线程;后端搜索从 LEFT JOIN + DISTINCT 改为 EXISTS 子查询。

Don't miss a new CyberStrikeAI release

NewReleases is sending notifications on new releases.