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

Refactor and clean up benchmark code #299

Merged
merged 15 commits into from
Jan 4, 2022
Merged

Conversation

Robbepop
Copy link
Member

@Robbepop Robbepop commented Jan 3, 2022

  • Moves benchmark .wat files into their own files.
    • This is useful in cases where they are used by multiple files.
    • Also this separates data from operations.
  • Cleans up some benchmark specific code.
  • This PR is a good precursor to moving to Criterion.

@Robbepop Robbepop marked this pull request as draft January 3, 2022 20:17
@Robbepop Robbepop changed the title Move benches into workspace + improve code Refactor and clean up benchmark code Jan 3, 2022
@Robbepop Robbepop marked this pull request as ready for review January 3, 2022 20:28
@codecov-commenter
Copy link

Codecov Report

Merging #299 (781af59) into master (759bd19) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #299   +/-   ##
=======================================
  Coverage   79.56%   79.56%           
=======================================
  Files          31       31           
  Lines        4738     4738           
=======================================
  Hits         3770     3770           
  Misses        968      968           
Impacted Files Coverage Δ
benches/src/lib.rs 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 759bd19...781af59. Read the comment docs.

@Robbepop Robbepop requested review from pepyakin and athei January 4, 2022 12:50
Comment on lines 33 to 37
// Parses the Wasm binary at the given file name into a `wasmi` module.
//
// # Note
//
// This includes validation and compilation to `wasmi` bytecode.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be worth converting to rust doc while you at it.

@Robbepop Robbepop merged commit 26bb799 into master Jan 4, 2022
@athei athei deleted the rf-move-benches-into-workspace branch July 26, 2022 10:44
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.

3 participants