Skip to content

Releases: software-mansion/cairo-profiler

0.7.0

27 Nov 13:06
379edca
Compare
Choose a tag to compare

Compatible with Starknet Foundry 0.25.0 - 0.34.0.

  • show syscalls as nodes in trace tree rather than samples
  • add --versioned-constants-path flag to allow passing custom resource cost map
  • remove trace-data crate in favour of cairo-annotations

0.6.0

22 Aug 14:19
f55e359
Compare
Choose a tag to compare

Compatible with Starknet Foundry 0.25.0 - 0.32.0.

  • support for sha256_process_block_syscall

0.5.0

01 Aug 09:27
1e077ae
Compare
Choose a tag to compare

First full release with profiling of inlined functions 🔥 🚀
Make sure no function hides from you! 🦎🙈

Compatible with Starknet Foundry 0.25.0 - 0.27.0.

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.
  • support for Sierra 1.6.0

0.5.0-rc.0

03 Jul 15:33
8969b83
Compare
Choose a tag to compare
0.5.0-rc.0 Pre-release
Pre-release

New release with profiling of inlined functions 🔥 🚀
Make sure no function hides from you! 🦎🙈

Compatible with Starknet Foundry 0.25.0 - 0.27.0.

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

12 Jun 17:12
3742e24
Compare
Choose a tag to compare

Compatible with Starknet Foundry 0.25.0 - 0.27.0.

Added

  • --max-function-stack-trace-depth flag 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

0.3.0

20 May 11:54
9ca9596
Compare
Choose a tag to compare

Function level profiling MVP is out! 🔥 🚀
Compatible with Starknet Foundry 0.23.0 - 0.24.0.

Added

  • function level profiling for steps

0.3.0-dev.0

17 Apr 12:59
d97fbd4
Compare
Choose a tag to compare
0.3.0-dev.0 Pre-release
Pre-release

Release made for compability with Starknet Foundry 0.22.0 - the input format changed in preparation for function level profiling 🔥

Added

  • optional fields CallTrace.vm_trace and CallEntryPoint.class_hash to input structs
  • CallTrace.nested_calls type changed from Vec<CallTrace> to Vec<CallTraceNode>

0.2.0

08 Mar 12:54
0752d84
Compare
Choose a tag to compare

Compatible with Starknet Foundry 0.19.0 - 0.21.0.

Added

  • trace_data library (other tools can use it to integrate with cairo-profiler)
  • L2 -> L1 messages
  • show_details flag to show contract_address and function_selector

Changed

  • contract_address and function_selector are not displayed by default (use show_details flag to see them)

0.1.0

21 Feb 13:46
f45014f
Compare
Choose a tag to compare

The first release of cairo-profiler! 🔥🚀

Try it now to get more insight into how your code is executed. 🧐

Compatible with Starknet Foundry 0.18.0

Added

  • Starknet calls profiling:
    • L2 resources: steps, memory holes, builtins, syscalls
    • support for human-readable contract and function names
  • custom output path support