Performance Upgrades #102
Replies: 2 comments
-
|
Unfortunately the latest release does have some performance issues, particularly when scrolling. As we've increased the complexity of the TUI it's introduced some latency in the scroll. Usually I'd hold back a release with this performance, but there's been a considerable number of bug fixes for core issues like compaction, upgrades and limits which I felt were important to release quickly. We're addressing the performance problems with a fundamental refactor on the core TUI to make it more deterministic and seperate state from rendering - this will also resolve issues with resume, undo and other TUI reconstruction. However, as it's such a major refactor, we don't want to get too far behind upstream so are building it "in-place" keeping existing components working as we replace them with improved version. Once that transition is complete, we'll be able to address the other issues, including performance. |
Beta Was this translation helpful? Give feedback.
-
|
Turns out there was no real issue! No wonder none of the tests could pick it up!!!! This solved it! There must be something about how macOS Tahoe 26.0 handles key presses. Something to do with the new command pallet? Or maybe it was an issue with iTerm2 and upgrading resolved it? Anyone else seeing a lot of 'lag' when pressing keys or scrolling? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Over the past few days we have shipped several changes aimed at making Code feel snappier and lighter on your system. After noticing CPU and memory creeping up last week, we focused on hot paths in core execution, rendering, and I/O. The latest builds reduce overhead without sacrificing functionality or UX, and should smooth out long-running sessions and large outputs.
Every environment is different, though. If Code still feels slower than you’d like on your machine, we’d love your help. Please capture a short CPU profile (and optional memory profile) using the steps below and attach it to a new Discussion with your system details. This helps us zero in on real-world bottlenecks quickly.
How to profile Code on your machine
macOS (Time Profiler)
Linux (perf + flamegraph)
Windows (PerfView)
What to include with your profile
Privacy notes
If you're not comfortable sharing your trace publicly you can also email it to code@justevery.com
Thanks for helping us make Code faster on every setup. Real-world profiles are the quickest way for us to confirm and fix performance issues you’re seeing!
Beta Was this translation helpful? Give feedback.
All reactions