Skip to content

Releases: software-mansion/cairo-profiler

0.15.0

05 Feb 11:13
61810b8

Choose a tag to compare

Compatible with:

  • Starknet Foundry 0.25.0+
  • Scarb execute 2.13.1+

Added

  • explicit support for Secp syscalls

0.14.0

30 Oct 17:08
0e031e4

Choose a tag to compare

Compatible with:

  • Starknet Foundry 0.25.0+
  • Scarb execute 2.13.1+

Added

  • support for scarb execute

0.13.0

24 Sep 09:32
eb68a62

Choose a tag to compare

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

08 Sep 07:15
98937c6

Choose a tag to compare

Compatible with Starknet Foundry 0.25.0 - 0.49.0.

Added

  • l2 gas profiling

0.11.0

07 Aug 08:52
d06e32f

Choose a tag to compare

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

16 Jul 09:44
be5a515

Choose a tag to compare

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

20 May 07:31
2e8cbd7

Choose a tag to compare

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-resource flag 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

06 May 11:57

Choose a tag to compare

Added

Compatible with Starknet Foundry 0.25.0 - 0.42.0.

  • new --hide option, 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

25 Feb 12:02
f0351be

Choose a tag to compare

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

13 Jan 12:59
445488e

Choose a tag to compare

Compatible with Starknet Foundry 0.25.0 - 0.37.0.

Fixed

  • l2_l1_message_sizes sample no longer is displayed when its value is zero

Added

  • new build-profile subcommand, it behaves the same as cairo-profiler <trace_file>
  • new flag --view that allows to view the built profile
    (eg cairo-profiler <trace_file> --view or cairo-profiler build-profile <trace_file> --view)
  • new view subcommand that allows to view previously built profile