Skip to content

Commit

Permalink
Release 0.5.0 (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotmag769 authored Jul 3, 2024
1 parent 5d1cdcd commit fe67c4b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.5.0] - 2024-07-03

### Added

- `--show-inlined-functions` flag to show inlined functions in the profile. Requires Scarb >= 2.7.0-rc.0 and setting
`unstable-add-statements-functions-debug-info = true` in `[cairo]` section of Scarb.toml.

## [0.4.0] - 2024-06-12

### Added

- `--max-function-stack-trace-depth` allowing to specify maximum depth of the function tree in function level profiling
- `--split-generics` flag allowing to differentiate between non-inlined generics monomorphised with different types
- `--show-inlined-functions` flag to show inlined functions in the profile. Requires Scarb >= 2.7.0 and setting
`unstable-add-statements-functions-debug-info = true` in `[cairo]` section of Scarb.toml.

## [0.3.0] - 2024-05-20

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ members = [
]

[workspace.package]
version = "0.4.0"
version = "0.5.0"
edition = "2021"


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ You can learn more about pprof usage options [here](https://github.com/google/pp
- [x] Steps profiling
- [ ] Builtins profiling
- [ ] Memory holes profiling
- [ ] Information about inlined functions
- [x] Information about inlined functions
- [ ] Integrating with other tools:
- [x] Exposing `cairo-profiler` library to allow other tools to integrate
- [x] Integrating with [`snforge`](https://github.com/foundry-rs/starknet-foundry)
Expand Down
2 changes: 1 addition & 1 deletion crates/cairo-profiler/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct Cli {
#[arg(long)]
split_generics: bool,

/// Show inlined function in a trace tree. Requires Scarb >= 2.7.0 and setting
/// Show inlined function in a trace tree. Requires Scarb >= 2.7.0-rc.0 and setting
/// `unstable-add-statements-functions-debug-info = true` in `[cairo]` section of Scarb.toml.
#[arg(long)]
show_inlined_functions: bool,
Expand Down

0 comments on commit fe67c4b

Please sign in to comment.