Skip to content

Plannotator adds ~245ms to OpenCode startup #410

Closed

Description

@DRBragg

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

Environment

  • macOS (M5)
  • OpenCode 1.3.3
  • Plannotator 0.15.5

Activity

  1. self-assigned this
    on Mar 27, 2026
  2. added a commit that references this issue on Mar 27, 2026
    d097d91
  3. backnotprop commented on Mar 27, 2026

    @backnotprop
    Owner

    I have a PR that should make this better, the only exception will be when the plugin autoupdates

  4. added a commit that references this issue on Mar 28, 2026
    8280cc0
  5. DRBragg commented on Mar 29, 2026

    @DRBragg
    Author

    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!

  6. backnotprop commented on Mar 30, 2026

    @backnotprop
    Owner

    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.

  7. added a commit that references this issue on Mar 31, 2026
    eed214c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions