Skip to content
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

Testing Environment #134

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Testing Environment #134

wants to merge 1 commit into from

Conversation

larryk85
Copy link

Small design document to discuss the testing framework extensions to CDT and antler-run.

@heifner heifner mentioned this pull request Mar 2, 2023
2 tasks
@nathanielhourt
Copy link

It was mentioned in a discussion on #88 that perhaps it would be worth adding benchmarking capabilities to the VM as part of this initiative. I would love to see that, as I was not able to find, in an admittedly cursory search, any ability to get high resolution time within the VM.

Having the ability to do this would be highly beneficial for contract authors as well as blockchain implementors, as code optimization becomes critical in order to complete actions within the execution deadlines as contract usage scales. It would also be ideal if this high resolution time could be acquired without needing to make an intrinsic call, as the overhead of intrinsic calls is one of the things that needs to be measured, so an ideal approach may be, for instance, a WASM equivalent of x86's rdtsc instruction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants