{"repo":"ggwpez/substrate-weight-compare","free":true,"listed":false,"github":"https://github.com/ggwpez/substrate-weight-compare","clone":"git clone https://github.com/ggwpez/substrate-weight-compare.git","description":"Compares Substrate Weight Files","language":"Rust","stars":30,"topics":["blockchain","polkadot","rust","substrate"],"license":"GPL-3.0","category":"blockchain-web3","readme_excerpt":"Subweight Compares Weight files that where generated by Substrate . This project parses and compares Substrate Weight files. It helps tremendously with the review process of large Weight diffs. The results can be displayed conveniently in the CLI or browser. Abstract Manually comparing Substrate Weight files is a task where humans falter and computers excel. When you want to know what I am talking about; take a look at this diff. Now tell me which lines are problematic and which are fine 😈? Does not look appealing, does it? This is where Subweight comes to the rescue: It takes the old and the new version and compares all extrinsics. The human-friendly output looks like this: This automatically sorts the worst offenders to the top and allows humans to see at a glance what is going on – without loosing details! Links to the diff are all there, and sharing results is as easy as copying a link to the line. Compatible with most Substrate chains. Enjoy! You can play around with the following public endpoints that are exposed by subweight-web : - Compare Merge Requests - Compare Commits The dev branch is deployed at . Install Install both binaries: Compilation The rust-toolchain.toml defines the exact Rust version that the code was tested with. The formatting rules are defined in rustfmt.toml. Example: Web Interface Assuming you have a Substrate compatible repository checked out in the parent directory: then open your browser and try the following: - http://localhost:8080/ Example:","default_branch":null,"files":null,"tree":[],"storefront":"/r/ggwpez","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ggwpez/substrate-weight-compare/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}