-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contract profiler #93
Comments
@ProgramCrafter Are you sure it will be really useful to just show how many times each TVM instruction had been called? |
Both of these have VM implemented as WASM blob, so it's not obvious how to patch them: |
Features set can be extended and balanced with the reward, for sure 😀 |
Indeed, the idea is quite commendable. @ProgramCrafter, the discussion is still pending. If the topic remains relevant, let's push to fine-tune it, or we will be compelled to close the discussion after two weeks. @ProgramCrafter, what do you think? |
@delovoyhomie It turns out that there is already such a tool for Fift! https://github.com/tact-lang/ton-coverage It would be nice, then, to add support of higher-level languages! |
This issue has been automatically closed due to 14 days of inactivity and lack of the additional information requested. |
Summary
Contract emulator that can show number of times each instruction is ran and how much gas does it cost.
Context
Such tool would be useful for optimizing gas usage and therefore would cut down on contract fees.
Goals
Create crossplatform profiler for TON contracts.
Deliverables
preferably without Docker, as Docker claims not to work in nested virtualization, and sometimes TON-related programs have to be ran in a VM
Definition of Done
Reward
The text was updated successfully, but these errors were encountered: