diff --git a/.github/workflows/Benchmarks.yml b/.github/workflows/Benchmarks.yml index 122052f30..2a5f59e7b 100644 --- a/.github/workflows/Benchmarks.yml +++ b/.github/workflows/Benchmarks.yml @@ -21,7 +21,7 @@ jobs: cpu: [amd, intel] config: [release] # don't want to benchmark debug-builds - runs-on: ${{ fromJson(format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]', matrix.hypervisor == 'hyperv' && 'Windows' || 'Linux', matrix.hypervisor == 'hyperv' && 'win2022' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor, matrix.cpu)) }} + runs-on: ${{ fromJson(format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]', matrix.hypervisor == 'hyperv' && 'Windows' || 'Linux', matrix.hypervisor == 'hyperv' && 'win2025' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor, matrix.cpu)) }} steps: ### Setup ### diff --git a/.github/workflows/dep_rust.yml b/.github/workflows/dep_rust.yml index 8721f445e..abedaf8e4 100644 --- a/.github/workflows/dep_rust.yml +++ b/.github/workflows/dep_rust.yml @@ -43,11 +43,25 @@ jobs: runs-on: ${{ fromJson( format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]', matrix.hypervisor == 'hyperv' && 'Windows' || 'Linux', - matrix.hypervisor == 'hyperv' && 'win2022' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor, + matrix.hypervisor == 'hyperv' && 'win2025' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor, matrix.cpu)) }} steps: - uses: actions/checkout@v4 + - name: temp + if: ${{ (runner.os == 'Windows' )}} + shell: powershell + run: | + cmd /c set + + - name: temp + if: ${{ (runner.os == 'Windows' )}} + shell: bash + run: | + env + + + # For rust-fmt - name: Set up nightly rust uses: dtolnay/rust-toolchain@nightly diff --git a/src/hyperlight_host/benches/benchmarks.rs b/src/hyperlight_host/benches/benchmarks.rs index 62624dd5c..d2054a2db 100644 --- a/src/hyperlight_host/benches/benchmarks.rs +++ b/src/hyperlight_host/benches/benchmarks.rs @@ -77,7 +77,7 @@ fn guest_call_benchmark(c: &mut Criterion) { let mut config = SandboxConfiguration::default(); config.set_input_data_size(2 * SIZE + (1024 * 1024)); // 2 * SIZE + 1 MB, to allow 1MB for the rest of the serialized function call config.set_heap_size(SIZE as u64 * 15); - config.set_max_execution_time(Duration::from_secs(10)); + config.set_max_execution_time(Duration::from_secs(30)); let sandbox = UninitializedSandbox::new( GuestBinary::FilePath(simple_guest_as_string().unwrap()),