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

Create a benchmarking V-App and test suite #25

Open
bigspider opened this issue Sep 13, 2024 · 0 comments
Open

Create a benchmarking V-App and test suite #25

bigspider opened this issue Sep 13, 2024 · 0 comments
Labels
tests Anything related to tests, benchmarks, etc

Comments

@bigspider
Copy link
Collaborator

bigspider commented Sep 13, 2024

It would be great to have a test V-app and an associated benchmarking test suite to run some computations of varying complexity and requirements on Vanadium (on a real device), in order to measure the performance and assess future improvements.

Example of computations that we could include:

  • base58 encode/decode
  • sha256 hashes
  • maybe some heavier stuff like ECDSA/Schnorr signatures (without ECALLs)
  • Sieve of Eratosthenes to count primes up to a threshold (memory intensive)
  • Something that sends some buffers back and forth with no computations (to stress the communication protocol)

That could also be a good way of testing the CPU until #19 is addressed, so it's worth testing the results of those computations on Speculos as part of the CI.

@bigspider bigspider added the tests Anything related to tests, benchmarks, etc label Sep 13, 2024
@bigspider bigspider changed the title Create a benchmarking app Create a benchmarking V-App and test suite Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Anything related to tests, benchmarks, etc
Projects
None yet
Development

No branches or pull requests

1 participant