Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save AmethystLiang/e88ec824eb6136442ca6adbeffd9ad0b to your computer and use it in GitHub Desktop.

Select an option

Save AmethystLiang/e88ec824eb6136442ca6adbeffd9ad0b to your computer and use it in GitHub Desktop.
/goal Orca is an agent IDE. On Windows, for some reason the startup time is very long. If i close the app then reopen it, it takes around 1 minute for it to launch. Many people are complaining about the same thing. We have already done some optimizations to improve the startup time, but it still takes quite a while. I want you to create a benchmark harness to measure the startup time, then investigate how we can improve our start up significantly, using the benchmark as proof. As you work, provide updates in a md file so you dont repeat or forget anything. Note: Startup time on MacOS seems fine for the most part, so this is largely a windows exclusive issue it seems. Additionally windows just seems to have worse performance overall, even though my current windows machine is relatively powerful. Users are even complaining of it freezing when using opencode (another issue we have worked on, but apparently it may still exist?) The user report is this: I open Orca, select the project, and open OpenCode.
I type the prompt and send it to the agent; a few seconds later—about five—everything freezes.
The OpenCode loader freezes; I can't close Orca normally—I have to use the task manager. I literally can't move anything in Orca; the only thing moving in the left panel is the OpenCode agent indicator while it's loading.
It's worth noting that when I open OpenCode in a terminal other than Orca and open the session I just created in Orca, the session appears with everything the agent responded.
OpenCode is opensource, you can inspect its source code for clues on how to improve this as well/ set up another benchmark harness
In short, there are 3 goals
- Improve startup time
- Improve OpenCode performance/ fix any causes for freezing
- Improve overall Windows performance if possible
All should be verifiable with benchmark metrics of before/after
Feel free to delegate easier tasks to other models like Opus (or Sonnet if really simple tasks).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment