Commit 00a12c8
committed
perf(cortex-gui): optimize Tauri app with async patterns and reduced dependencies
- Remove blocking reqwest feature in favor of async-only HTTP client
- Remove unused direct dependencies: wry and plist (provided by tauri)
- Remove blocking HttpTransport in favor of AsyncHttpTransport
- Update Cargo.lock with reduced dependencies
Key optimizations:
- Prevents sync blocking in async Tauri command context
- Smaller binary size due to fewer dependencies
- Cleaner async/await patterns for HTTP communication
The frontend already uses VirtualList for large lists (FileExplorer,
SearchSidebar, MessageList) which is optimal for SolidJS.1 parent 53f158b commit 00a12c8
4 files changed
Lines changed: 3151 additions & 72 deletions
File tree
- cortex-gui/src-tauri
- gen/schemas
- src/context_server
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 106 | + | |
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
| |||
0 commit comments