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

Pinned memory cache #700

Merged
merged 21 commits into from
Jan 12, 2021
Merged

Pinned memory cache #700

merged 21 commits into from
Jan 12, 2021

Conversation

maurolacy
Copy link
Contributor

@maurolacy maurolacy commented Jan 8, 2021

Implements #696.

Unit tests of new functionality to follow.

Update: Unit tests done. Will now work on an optimized version of the pinning process. But, this is already ready for review.

Copy link
Member

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

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

Nice work.

Could you also

  • Create a CHANGELOG.md entry (under 0.14.0 (unreleased))

  • Create a new benchmarking case for pinned contract hits

  • Run benchmarks in CI for this PR branch. See

        - benchmarking:
            requires:
              - package_vm
              - package_vm_cranelift
            filters:
              branches:
                only:
                  - master
                  # 👇 Add your branch here if benchmarking matters to your work
                  - benchmarking
                  - update-wasmer
                  - metering-restart
    

packages/vm/src/cache.rs Outdated Show resolved Hide resolved
packages/vm/src/wasm_backend/store.rs Outdated Show resolved Hide resolved
Copy link
Member

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

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

Nice stuff

CHANGELOG.md Outdated Show resolved Hide resolved
packages/vm/src/cache.rs Show resolved Hide resolved
packages/vm/benches/main.rs Outdated Show resolved Hide resolved
packages/vm/src/cache.rs Outdated Show resolved Hide resolved
packages/vm/src/cache.rs Outdated Show resolved Hide resolved
@webmaster128 webmaster128 merged commit 18dfdbf into master Jan 12, 2021
@webmaster128 webmaster128 deleted the pinned-memory-cache branch January 12, 2021 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants