snarkVM icon indicating copy to clipboard operation
snarkVM copied to clipboard

[Bug] Possible performance regression

Open vicsn opened this issue 1 month ago • 1 comments

🐛 Bug Report

Possible performance regression was detected for benchmark 'snarkVM Benchmarks'. Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: c980e97220f4f7ae74bbf7e85908e2b041121d68 Previous: d8e736636dd11e1cf11717977802c61184da1cb2 Ratio
Block::to_bytes_le 491241 ns/iter (± 159) 116517 ns/iter (± 98) 4.22
Block::serialize (bincode) 984700 ns/iter (± 1839) 232995 ns/iter (± 316) 4.23
Block::to_string (serde_json) 721806 ns/iter (± 744) 168540 ns/iter (± 142) 4.28
Block::from_bytes_le 59144323 ns/iter (± 376909) 15953424 ns/iter (± 81537) 3.71
Block::from_bytes_le_unchecked 28331435 ns/iter (± 610271) 6733773 ns/iter (± 187484) 4.21
Block::deserialize (bincode) 59817727 ns/iter (± 565453) 15934293 ns/iter (± 191542) 3.75
Block::from_str (serde_json) 70600323 ns/iter (± 477281) 18508013 ns/iter (± 202662) 3.81

vicsn avatar Dec 08 '25 10:12 vicsn

It doesn't seem to be related to this PR, but there was a regression after merging #2789. I will investigate...

Image

kaimast avatar Dec 08 '25 18:12 kaimast