Skip to content

[perf test for dirty pages] #142

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WA
&& mv /wasi-sdk-${WASI_SDK_VERSION_FULL}-x86_64-linux /opt/wasi-sdk

USER $USER
ARG RUST_TOOLCHAIN=1.85.0
ARG RUST_TOOLCHAIN=1.86.0

# Install rust and component tools
RUN rustup default ${RUST_TOOLCHAIN} \
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/Benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:

- uses: hyperlight-dev/[email protected]
with:
rust-toolchain: "1.85.0"
rust-toolchain: "1.86.0"

- name: Build Wasm Runtime Binary
working-directory: ./src/hyperlight_wasm
run: just build-wasm-runtime ${{ matrix.config }}

- uses: dtolnay/rust-toolchain@1.85.0
- uses: dtolnay/rust-toolchain@1.86.0
with:
components: clippy, rustfmt

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
# the component model benchmark depends on the wasm wit component
just ensure-tools
just compile-wit
just bench-ci dev release ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
just bench-ci dev release ${{ matrix.hypervisor == 'mshv' && 'mshv2' || ''}}
working-directory: ./src/hyperlight_wasm

- name: Upload Benchmarks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CargoAudit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# We are not using the common workflow here because it installs a lot of tools we don't need
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.85.0"
toolchain: "1.86.0"

- uses: extractions/setup-just@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CreateDevcontainerImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
USER: vscode
GROUP: vscode
LLVM_VERSION: 17
RUST_TOOLCHAIN_DEFAULT: 1.85.0
RUST_TOOLCHAIN_DEFAULT: 1.86.0
RUST_TOOLCHAIN_FILE: rust-toolchain.toml
WASI_SDK_VERSION_FULL: "25.0"
GCC_VERSION: "12"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CreateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Hyperlight setup
uses: hyperlight-dev/[email protected]
with:
rust-toolchain: "1.85.0"
rust-toolchain: "1.86.0"
- name: Verify vendor.tar
if: ${{ contains(github.ref, 'refs/heads/release/') }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dep_build_wasm_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Hyperlight setup workflow
uses: hyperlight-dev/[email protected]
with:
rust-toolchain: "1.85.0"
rust-toolchain: "1.86.0"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Registry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dep_cargo_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Hyperlight setup
uses: hyperlight-dev/[email protected]
with:
rust-toolchain: "1.85.0"
rust-toolchain: "1.86.0"

# github actions that run against PRs check out a ref to the PR merge branch
# we need to switch / create a branch for cargo ws to run late
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/dep_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Hyperlight setup
uses: hyperlight-dev/[email protected]
with:
rust-toolchain: "1.85.0"
rust-toolchain: "1.86.0"

- name: Add Nightly Rust
run: |
Expand Down Expand Up @@ -92,15 +92,15 @@ jobs:
run: just clippy ${{ matrix.config }}

- name: Build
run: just build ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
run: just build ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv' && 'mshv2' || ''}}
working-directory: ./src/hyperlight_wasm

- name: Build Rust Wasm examples
run: just build-rust-wasm-examples ${{ matrix.config }}
working-directory: ./src/hyperlight_wasm

- name: Test
run: just test ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
run: just test ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv' && 'mshv2' || ''}}
working-directory: ./src/hyperlight_wasm

- name: Install github-cli (Windows)
Expand All @@ -118,14 +118,14 @@ jobs:
shell: pwsh

- name: Test Examples
run: just examples-ci ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
run: just examples-ci ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv' && 'mshv2' || ''}}
working-directory: ./src/hyperlight_wasm
env:
# required for gh cli when downloading
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Test Component Model Examples
run: just examples-components ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
run: just examples-components ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv' && 'mshv2' || ''}}
working-directory: ./src/hyperlight_wasm

### Benchmarks ###
Expand All @@ -141,6 +141,6 @@ jobs:

- name: Run benchmarks
run: |
just bench-ci dev ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
just bench-ci dev ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv' && 'mshv2' || ''}}
working-directory: ./src/hyperlight_wasm
if: ${{ matrix.config == 'release' }}
Loading