Skip to content

Commit

Permalink
Update profiling.md (#2659)
Browse files Browse the repository at this point in the history
<!-- Reference any GitHub issues resolved by this PR -->

Closes #

## Introduced changes

<!-- A brief description of the changes -->

- Update the directory name where profiling files are saved

## Checklist

<!-- Make sure all of these are complete -->

- [ ] Linked relevant issue
- [ ] Updated relevant documentation
- [ ] Added relevant tests
- [ ] Performed self-review of the code
- [ ] Added changes to `CHANGELOG.md`
  • Loading branch information
amanusk authored Nov 12, 2024
1 parent ccfa306 commit ae2bffc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/snforge-advanced-features/profiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ If you want `snforge` to call `cairo-profiler` on generated files automatically,
```shell
$ snforge test --build-profile
```
The files with profiling data will be saved to `profile` directory.

## Passing arguments to `cairo-profiler`

Expand All @@ -32,4 +33,4 @@ $ snforge test --build-profile -- --show-inlined-functions

> 📝 **Note**
>
> Running `snforge test --help` won't show info about `cairo-profiler` flags. To see them, run `snforge test --build-profile -- --help`.
> Running `snforge test --help` won't show info about `cairo-profiler` flags. To see them, run `snforge test --build-profile -- --help`.

0 comments on commit ae2bffc

Please sign in to comment.