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.

@maurolacy maurolacy requested a review from webmaster128 January 8, 2021 10:52
@maurolacy maurolacy force-pushed the pinned-memory-cache branch 3 times, most recently from 678273b to 9ba9509 Compare January 8, 2021 15:26
@maurolacy maurolacy self-assigned this Jan 8, 2021
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
@maurolacy maurolacy force-pushed the pinned-memory-cache branch from fc74ff2 to 0d71757 Compare January 12, 2021 13:37
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