This patch adds initial support for ittapi which is an open
source profiling api for instrumentation and tracing and profiling
of jitted code. Result files can be read by VTune for analysis
Build:
cargo build --features=vtune
Profile: // Using amplxe-cl from VTune
amplxe-cl -v -collect hostpost target/debug/wasmtime --vtune test.wasm
43 lines
1.6 KiB
TOML
43 lines
1.6 KiB
TOML
[package]
|
|
name = "wasmtime-jit"
|
|
version = "0.14.0"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
description = "JIT-style execution for WebAsssembly code in Cranelift"
|
|
documentation = "https://docs.rs/wasmtime-jit"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
categories = ["wasm"]
|
|
keywords = ["webassembly", "wasm"]
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
readme = "README.md"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.61.0", features = ["enable-serde"] }
|
|
cranelift-entity = { path = "../../cranelift/entity", version = "0.61.0", features = ["enable-serde"] }
|
|
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.61.0", features = ["enable-serde"] }
|
|
cranelift-native = { path = "../../cranelift/native", version = "0.61.0" }
|
|
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.61.0" }
|
|
wasmtime-environ = { path = "../environ", version = "0.14.0" }
|
|
wasmtime-runtime = { path = "../runtime", version = "0.14.0" }
|
|
wasmtime-debug = { path = "../debug", version = "0.14.0" }
|
|
wasmtime-profiling = { path = "../profiling", version = "0.14.0" }
|
|
region = "2.0.0"
|
|
thiserror = "1.0.4"
|
|
target-lexicon = { version = "0.10.0", default-features = false }
|
|
wasmparser = "0.51.2"
|
|
more-asserts = "0.2.1"
|
|
anyhow = "1.0"
|
|
cfg-if = "0.1.9"
|
|
log = "0.4"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
winapi = { version = "0.3.8", features = ["winnt", "impl-default"] }
|
|
|
|
[features]
|
|
lightbeam = ["wasmtime-environ/lightbeam"]
|
|
jitdump = ["wasmtime-profiling/jitdump"]
|
|
vtune = ["wasmtime-profiling/vtune"]
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|