Skip to content

Commit

Permalink
Optimize host calls in the wasmi interpreter (#291)
Browse files Browse the repository at this point in the history
* optimize host calls in the wasmi interpreter

This commit does two things to speed-up host calls:
- Reuse heap allocations for consecutive host calls to hold arguments.
- More efficient copying of stack values to host argument buffer.

* add host_call benchmark
  • Loading branch information
Robbepop authored Jan 3, 2022
1 parent 9556783 commit f3bb8d6
Show file tree
Hide file tree
Showing 2 changed files with 361 additions and 180 deletions.
Loading

0 comments on commit f3bb8d6

Please sign in to comment.