Skip to content

copilot: remove unused execution timing decorator - #342030

Merged
Dmitriy Vasyura (dmitrivMS) merged 1 commit into
mainfrom
dmitriv/dead-code-measure-exec-decorator
Oct 16, 2026
Merged

Dmitriy Vasyura (dmitrivMS) merged 1 commit into
mainfrom
dmitriv/dead-code-measure-exec-decorator

Conversation

@dmitrivMS

@dmitrivMS Dmitriy Vasyura (dmitrivMS) commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Refs https://github.com/microsoft/vscode-internalbacklog/issues/9678

Remove the unused MeasureExecTime decorator. Keep measureExecTime, logExecTime, and LogExecTime unchanged; those are separate live APIs.

Copilot AI balanced review requested due to automatic review settings October 16, 2026 10:58
@dmitrivMS Dmitriy Vasyura (dmitrivMS) added debt Code quality issues network Network related issues copilot labels Oct 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The narrowly scoped deletion has no remaining references and preserves the live timing APIs.

0 open findings

What changed in this PR

Removes the unused MeasureExecTime decorator from Copilot’s logging utilities.

Changes:

  • Deletes MeasureExecTime.
  • Leaves measureExecTime, logExecTime, and LogExecTime unchanged.
File Description
extensions/​copilot/​src/​platform/​log/​common/​logExecTime.ts Removes the unused timing decorator.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@dmitrivMS
Dmitriy Vasyura (dmitrivMS) marked this pull request as ready for review October 16, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copilot debt Code quality issues network Network related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants