Releases: software-mansion/cairo-profiler
Releases · software-mansion/cairo-profiler
0.15.0
0.14.0
Compatible with:
- Starknet Foundry 0.25.0+
- Scarb execute 2.13.1+
Added
- support for scarb execute
0.13.0
Compatible with Starknet Foundry 0.25.0 - 0.49.0.
Fixed
- sierra gas estimations for syscalls were inaccurate, because of a bug in builtins counting logic
0.12.0
Compatible with Starknet Foundry 0.25.0 - 0.49.0.
Added
- l2 gas profiling
0.11.0
Compatible with Starknet Foundry 0.25.0 - 0.48.1.
Fixed
- profiler now correctly removes
::separators from function names which were monomorphised with different types - calldata factor for deploy syscall is now correctly factored in
Changed
- upgraded cost map (versioned constants) to starknet 0.14.1
- contract entrypoints are now shown in the tree as called from functions
0.10.0
Compatible with Starknet Foundry 0.25.0 - 0.47.0.
Changed
- addresses and selectors are now displayed in fixed hex format (66 chars) instead of decimal format
Fixed
- profiler now accounts for steps when pc is outside the function area
- profiler now accounts for syscalls in nodes without
CairoExecutionInfo
0.9.0
Compatible with Starknet Foundry 0.25.0 - 0.43.1.
Added
- sierra gas profiling; in order to profile sierra gas please make sure to run snforge test with
--tracked-resourceflag set to "sierra-gas" - builtins usage is now included in sierra gas estimations
- new flag
--show-libfuncs, allowing to show all libfuncs usage per function (along with its resource consumption) - new sample "casm size" to show casm sizes of functions
- new sample "syscall usage" to show functions' syscall usage count
0.8.2
Added
Compatible with Starknet Foundry 0.25.0 - 0.42.0.
- new
--hideoption, that allows to filter out nodes from the profile based on passed regex. Resources of the filtered
node are added to a parent node (function).
0.8.1
Compatible with Starknet Foundry 0.25.0 - 0.41.0.
Chore
- Bumped dependencies to ensure compatibility with scarb 2.10 and newest snfoundry
0.8.0
Compatible with Starknet Foundry 0.25.0 - 0.37.0.
Fixed
l2_l1_message_sizessample no longer is displayed when its value is zero
Added
- new
build-profilesubcommand, it behaves the same ascairo-profiler <trace_file> - new flag
--viewthat allows to view the built profile
(egcairo-profiler <trace_file> --vieworcairo-profiler build-profile <trace_file> --view) - new
viewsubcommand that allows to view previously built profile