mirror of
https://github.com/fluencelabs/aquavm
synced 2024-12-14 03:25:39 +00:00
dcfa51c756
Use pooled `avm::server::AVMRunner` instances of air_iterpreter_server.wasm to reduce tests' running time. It avoids repeated WASM loading and compilation. On my hardware, `cargo test --release` execution time (precompiled) decreases from almost 6 minutes to 1.5 minutes.
26 lines
603 B
TOML
26 lines
603 B
TOML
[package]
|
|
name = "air-test-utils"
|
|
version = "0.2.1"
|
|
description = "Test utils for the AIR interpreter"
|
|
authors = ["Fluence Labs"]
|
|
edition = "2018"
|
|
license = "Apache-2.0"
|
|
publish = false
|
|
keywords = ["fluence", "air", "webassembly", "security", "authorization"]
|
|
categories = ["wasm"]
|
|
|
|
[lib]
|
|
name = "air_test_utils"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
air = { path = "../../../air" }
|
|
air-interpreter-interface = { path = "../interpreter-interface" }
|
|
avm-server = { path = "../../../avm/server" }
|
|
marine-rs-sdk = "0.6.15"
|
|
|
|
fstrings = "0.2.3"
|
|
object-pool = "0.5.4"
|
|
once_cell = "1.10.0"
|
|
serde_json = "1.0.61"
|