microsoft / microsoft/vscode-java-pack

update all occurence of `Date.now()` to `performance.now`

Open
#1,169 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged enhancement
Dominant language
TypeScript
Stars
352
Forks
166
Avg merge
17h 47m
Merged PRs (30d)
32

Description

          Sure, we should update it. I suggest that you update all occurence of `Date.now()` in a separate PR. For the moment, I don't want to update it.

Originally posted by @Eskibear in https://github.com/microsoft/vscode-java-pack/pull/1168#discussion_r1138211501

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for every occurrence of Date.now() and inspect each use in context before changing it. Confirm that all intended occurrences use performance.now and run the repository's relevant checks; done means no remaining targeted Date.now() calls and no regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.