Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Profiler #9541

Merged
merged 5 commits into from
Oct 30, 2020
Merged

Profiler #9541

merged 5 commits into from
Oct 30, 2020

Conversation

swatanabe-b1
Copy link
Contributor

Change Description

This PR adds support for profiling contract execution.

nodeos --profile-account eosio.token <other args>

will create a pair of files eosio.token.<code sequence>.wasm and eosio.token.<code sequence>.profile for each version of code set on the eosio.token account.

The output format matches gperftools. See EOSIO/eos-vm#195 for details on how to interpret it.

Change Type

Select ONE

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

- To profile a contract use --profile-account <code account>
- For rodeos filters use the --profile-filter option
Copy link
Contributor

@heifner heifner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have not reviewed eos-vm changes.

@swatanabe-b1 swatanabe-b1 merged commit bca909c into develop-boxed Oct 30, 2020
@kj4ezj kj4ezj deleted the profiler branch July 19, 2021 17:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants