Skip to content

Conversation

JulianGCalderon
Copy link

@JulianGCalderon JulianGCalderon commented Jun 11, 2025

This PR adds logic for measuring the execution time of both:

  • A whole transaction execution.
  • An individual entrypoint call.

The measured time is then stored as a field of the execution result.

As both TransactionExecutionInfo and CallInfo implement the trait Default, I'm using Option<Duration> to differentiate between zero time, and the default value (no measurement).

@reviewable-StarkWare
Copy link

This change is Reviewable

@JulianGCalderon
Copy link
Author

I'll rebase this branch onto avi/cairo-native/update-to-0.3.6.

@JulianGCalderon JulianGCalderon changed the base branch from main to avi/cairo-native/update-to-0.3.6 June 12, 2025 13:46
Copy link

There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale.
This PR will be closed and locked in 7 days if no further activity occurs.
Thank you for your contributions!

@github-actions github-actions bot added the stale label Jul 13, 2025
@github-actions github-actions bot closed this Jul 21, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants