Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Performance Now WrapperNew to Visual Studio Code? Get it now.
Performance Now Wrapper

Performance Now Wrapper

nikhil-dev

|
14 installs
| (0) | Free
Wraps selected JavaScript code with performance.now to measure execution time
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Performance Wrapper Extension for VSCode This extension allows you to easily measure the performance of selected JavaScript code in Visual Studio Code by wrapping the selected code with performance.now() to log its execution time.

Features Wrap with Performance Measurement: Select any block of JavaScript code and use the command to wrap it with performance.now(). It adds performance.now() before and after the selected code to measure the execution time, followed by a console.log to display the time taken in milliseconds. Automatic Line Expansion: If a single word is selected, the extension automatically expands the selection to the entire line and wraps that line with the performance measurement code.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft