You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plannotator takes around 245ms to initialize during OpenCode startup. My other plugins all take <=100ms, some <10ms. This makes Plannotator the slowest-loading plugin in my setup by a significant margin. 245ms on its own isn't the end of the world but it adds up. With a few plugins and some MCP servers, startup gets noticeably sluggish. Plannotator is a plugin I use every session so disabling it isn't really an option.
Not sure what the plugin is doing at init time but it would be awesome if we could:
Defer work until the first /plannotator command is actually invoked
Cache whatever's being parsed/loaded between sessions so next starts are faster
FWIW I forked the repo and ripped out everything related to the code review feature since I don't use that part and it saved a considerable amount of time. It may be work splitting the features into separate code paths can can be loaded separately for those of use who don't need both features.
Either way thanks for the awesome tool and for the quick reply!
Activity
perf(opencode): lazy-load HTML to cut plugin startup from ~160ms to ~…
backnotprop commentedon Mar 27, 2026
I have a PR that should make this better, the only exception will be when the plugin autoupdates
perf(opencode): lazy-load HTML to fix plugin startup time (backnotpro…
DRBragg commentedon Mar 29, 2026
FWIW I forked the repo and ripped out everything related to the code review feature since I don't use that part and it saved a considerable amount of time. It may be work splitting the features into separate code paths can can be loaded separately for those of use who don't need both features.
Either way thanks for the awesome tool and for the quick reply!
backnotprop commentedon Mar 30, 2026
Fixed in v0.16.0 — lazy-load HTML drops bundle from 21.25 MB to 0.81 MB, cold-start from ~160ms to ~35ms. See PR #411.
perf(opencode): lazy-load HTML to fix plugin startup time (backnotpro…