Skip to content

Add a flow transactions profile <tx_id> command #2251

@jribbink

Description

@jribbink

Problem

It is currently difficult to profile transactions with real mainnet conditions without extensive setup. This is especially important due to the constraints introduced by scheduled transactions.

Suggested Solution

Add a flow transactions profile <tx_id> --network <network> command. Internally it should:

  1. Fork on the emulator with profiling enabled
  2. Replay txns up to including this one in the block
  3. Output the profiling report for the txn

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions