Stylus vs Solidity Performance Comparison

Performance Summary

Best Stylus Performance
-89.5%
ERC20::totalSupply() - WASM Opt & Cached
Worst Stylus Performance
+532.7%
ERC20::approve() - Not Cached
Best ERC721 Performance
-30.0%
ERC721::ownerOf() - WASM Opt & Cached
Best ERC1155 Performance
-4.6%
ERC1155::mint() - WASM Opt & Cached
ERC20 Functions Performance Comparison (Solidity Implementation: 7927)
ERC721 Functions Performance Comparison (OpenZeppelin Implementation)
ERC1155 Functions Performance Comparison (OpenZeppelin Implementation)
Caching Impact on Performance
Solidity (Baseline)
Stylus WASM Opt & Cached
Stylus Cached
Stylus Not Cached