hyperlight-dev / hyperlight-dev/hyperlight

Track Performance

オープン
#593 コメント 5 件 リアクション 0 件 担当者 1 名 @ludfjig が担当を希望しています GitHub で見る
area/performance lifecycle/blocked
主要言語
Rust
スター
4.7k
フォーク
208
平均マージ
1日 7時間
マージ済み PR(30日)
47

説明

# Hyperlight Performance Plan

## Core Benchmarks

### Microbenchmarks (Time per Task)
Measure round-trip time (RTT) and lifecycle operations:
- Guest call RTT (empty, no workload)
- Guest call RTT (large param/return, no workload)
- Sandbox create, evolve, and drop

Test across:
- Hypervisors: Windows Server 2025/2022 Hyper-V, Linux KVM (5.x/6.x), MSHV (5.x/6.x)
- CPU vendors: Intel, AMD

### Native vs Hyperlight
Compare native host code vs Hyperlight (`x86_64-unknown-none`) on compute-heavy tasks to evaluate performance overhead due to limited CPU feature use (e.g. SSE/AVX).

## HyperlightJS & HyperlightWASM

### Load Testing
Benchmark lightweight compute workloads (per-request tasks):
- Metrics: HTTP throughput, latency, memory use
- Workloads: header rewrite, JWT validation, TBD CPU-intensive task

### Comparisons
Evaluate:
- `HyperlightJS`
- `HyperlightWASM` (with JS component)
- `Wasmtime` (with JS component, baseline)

Test across:
- Hypervisors: Windows Server 2025/2022 Hyper-V, Linux KVM (5.x/6.x), MSHV (5.x/6.x)
- CPU vendors: Intel, AMD

## Performance Monitoring

Track metrics over time to catch regressions and improvements:
- Run benchmarks on every PR merge and release
- Allow local runs during dev
- Visualize data on public dashboard

## Notes
- Benchmarks run in nested virtualization on CI (`Standard_D4(a)ds_v5` VMs, premium SSD)
- Expect some noise, but useful for trends and comparisons

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。