Skip to content

Commit

Permalink
feat: support performance profiling via pprof
Browse files Browse the repository at this point in the history
This adds support for performance profiling that allows for finding the bottlenecks and performance optimizations.

It can be enabled via `profiler` feature and the `bench` build profile.

```shell
cargo build --profile=bench --features=profiler
```
  • Loading branch information
aminya committed Jul 28, 2024
1 parent c791418 commit 24814ad
Show file tree
Hide file tree
Showing 6 changed files with 357 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@

# Backup files generated by rustfmt
**/*.rs.bk

*.flamegraph.svg
Loading

0 comments on commit 24814ad

Please sign in to comment.