sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.11k stars 1.29k forks source link

Extensibility: optimize getContributions #24681

Open tjkandala opened 3 years ago

tjkandala commented 3 years ago

getContributions runs on hover events, editor changes, and settings changes. On each event, it evaluates context key expressions against the given context. We should look for ways to optimize this process so we can fearlessly deduplicate menu items as described in #24641.

Low-medium priority since the performance impact isn't currently perceptible.

github-actions[bot] commented 3 years ago

Heads up @joelkw @muratsu - the "team/extensibility" label was applied to this issue.