From 83b2b7077fd0f27dcaaa8cb6afbfd7fb76e9bc14 Mon Sep 17 00:00:00 2001 From: Green Baneling Date: Sat, 15 Jun 2024 23:53:11 +0200 Subject: [PATCH] Updated VM initialization benchmark to include many inputs and outputs (#1973) Covers new behavior from https://github.com/FuelLabs/fuel-vm/pull/770 ### Before requesting review - [x] I have reviewed the code myself --- CHANGELOG.md | 3 +++ benches/benches/vm_initialization.rs | 34 +++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bbd687934..a21a24f43e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Changed +- [#1973](https://github.com/FuelLabs/fuel-core/pull/1973): Updated VM initialization benchmark to include many inputs and outputs. + ## [Version 0.29.0] ### Added diff --git a/benches/benches/vm_initialization.rs b/benches/benches/vm_initialization.rs index 93644a762d..a2a5347363 100644 --- a/benches/benches/vm_initialization.rs +++ b/benches/benches/vm_initialization.rs @@ -16,6 +16,7 @@ use fuel_core_types::{ Output, Script, Transaction, + TxParameters, }, fuel_types::canonical::Serialize, fuel_vm::{ @@ -39,7 +40,7 @@ fn transaction( script_data: Vec, consensus_params: &ConsensusParameters, ) -> Checked