Skip to content

Testing Environment#134

Open
larryk85 wants to merge 1 commit intomainfrom
larryk85/test_env
Open

Testing Environment#134
larryk85 wants to merge 1 commit intomainfrom
larryk85/test_env

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