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

Benchmarking suite #66

Closed
chfast opened this issue Jan 16, 2020 · 1 comment
Closed

Benchmarking suite #66

chfast opened this issue Jan 16, 2020 · 1 comment

Comments

@chfast
Copy link
Collaborator

chfast commented Jan 16, 2020

  1. It will be based on evmone-bench: https://github.com/ethereum/evmone/tree/master/test/bench
  2. It will use Google Benchmark library.
  3. It will load all wasm binary files from a directory (with subdirectories).
  4. Each wasm file can have matching *.inputs file with inputs (see evmone: https://github.com/ethereum/evmone/blob/master/test/benchmarks/sha1_divs.inputs).
    1. Test cases are separated by empty lines.
    2. Each test cases has following lines:
      1. Test case name.
      2. Exported function name to be executed.
      3. Function arguments.
      4. Initial memory, hex encoded.
      5. Expected result.
      6. Expected memory after execution.
@chfast
Copy link
Collaborator Author

chfast commented Jan 29, 2020

Done in #74.

@chfast chfast closed this as completed Jan 29, 2020
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

No branches or pull requests

1 participant