Skip to content

Commit 834b505

Browse files
committed
document how I run scalene to generate a file
1 parent 4fe98fc commit 834b505

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/profiling.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ Please try to go through the exercise in the following steps:
7272
```console
7373
$ scalene example.py
7474
```
75+
Alternatively you can do this (and then open the generated file in a browser):
76+
```console
77+
$ scalene example.py --html > profile.html
78+
```
7579
You can find an example of the generated HTML report in the solution below.
7680
1. Does the result match your prediction? Can you explain the results?
7781

0 commit comments

Comments
 (0)