Skip to content

Commit

Permalink
Added more detailed VS Code installation and usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger authored Sep 21, 2023
1 parent 60111bc commit e49743d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,23 @@ conda install -c conda-forge scalene

#### Using Scalene:

After installing Scalene, you can use Scalene at the command line, or as a Visual Studio Code extension <a href="https://marketplace.visualstudio.com/items?itemName=EmeryBerger.scalene">by installing it from the VS Code Marketplace</a> or by searching for the extension within VS Code by typing Command-Shift-X (Mac, Linux) or Ctrl-Shift-X (Windows).
After installing Scalene, you can use Scalene at the command line, or as a Visual Studio Code extension.

<details>
<summary>
Using the Scalene VS Code Extension:
</summary>


First, install <a href="https://marketplace.visualstudio.com/items?itemName=EmeryBerger.scalene">the Scalene extension from the VS Code Marketplace</a> or by searching for it within VS Code by typing Command-Shift-X (Mac) or Ctrl-Shift-X (Windows). Once that's installed, click Command-Shift-P or Ctrl-Shift-P to open the <a href="https://code.visualstudio.com/docs/getstarted/userinterface">Command Palette</a>. Then select <b>"Scalene: AI-powered profiling..."</b> (you can start typing Scalene and it will pop up if it's installed). Run that and, assuming your code runs for at least a second, a Scalene profile will appear in a webview.

<img width="734" alt="Screenshot 2023-09-20 at 7 09 06 PM" src="https://github.com/plasma-umass/scalene/assets/1612723/7e78e3d2-e649-4f02-86fd-0da2a259a1a4">

</details>

<details>
<summary>
Commonly used options:
Commonly used command-line options:
</summary>

```console
Expand Down

0 comments on commit e49743d

Please sign in to comment.