FuelLabs
sway
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Add comprehensive benchmarks for storage access (#7583) ## Description This PR adds comprehensive benchmarks for storage fields access. We want to have the benchmark and historical values collected, in order to be able to compare them with the storage access costs after #7560 is implemented. The `README.md` explains the benchmarks and how to use the benchmarking infrastructure. The `RESULTS.md` contains the benchmarking results for the current `storage` implementation. The storage opcode costs are based on values in the `gas_costs_values.json` and are taken from the [`chain-configuration` repository's Ignition consensus parameter 6](https://github.com/FuelLabs/chain-configuration/blob/master/upgradelog/ignition/consensus_parameters/6.json). The benchmarks for `StorageVec` operations will be added in a follow up PR. ## Checklist - [x] I have linked to any relevant issues. - [x] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [x] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers.
master
6 hours ago
fixing typos
xunilrj/trivial-checks
14 hours ago
link to the final documentation url
xunilrj/trivial-checks
15 hours ago
update tests
xunilrj/trivial-checks
16 hours ago
fix tests
xunilrj/trivial-checks
18 hours ago
update tests
xunilrj/trivial-checks
18 hours ago
Adjust failing snapshot test
ironcev/dynamic-storage-srw
2 days ago
Support attributes and constants in self `impl Contract`s (#7580) ## Description This PR effectively re-implements self `impl Contract` implementation in order to: - properly handle attributes: - fix #7574 by `cfg_eval`ing items before adding them to the contract's interface surface and items. - add missing error-handling of invalid attributes. - take over applicable attributes and adds them to generated declarations. - add missing support for declaring `impl Contract` constants. - fix some of the existing issues: - remove cloning of all `ItemImpl`s just to check if they are self `impl Contract`s. - fix invalid double conversion of the self `impl Contract` in case of errors emitted in `handle_impl_contract`. Remaining known issues are documented in #7581. The PR also adds additional `can_annotate_...` methods to `Attribute`, e.g., `can_annotate_abi_or_trait_interface_fn`. Those methods are special cases of methods like `can_annotate_abi_or_trait_interface_item` and us such provide redundant implementation. Still, this approach is taken for cases where the `item` instance is not available or would require cloning. - Fixes #7574. ## Checklist - [x] I have linked to any relevant issues. - [x] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [x] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers.
master
7 days ago
Latest Branches
CodSpeed Performance Gauge
0%
Attribute for checking of trivial encoding and decoding
#7575
15 hours ago
110f033
xunilrj/trivial-checks
CodSpeed Performance Gauge
-11%
Add `aligned_and_dynamic_storage` feature and imm6 arg to `srw` opcode
#7565
2 days ago
3435acc
ironcev/dynamic-storage-srw
CodSpeed Performance Gauge
-11%
Support attributes and constants in self `impl Contract`s
#7580
10 days ago
a62000f
ironcev/fix-self-impl-contract
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs