https://github.com/eugenioclrc/erc20-benchmark
gas benchmark between solmate, oz and huff implementations
https://github.com/eugenioclrc/erc20-benchmark
Last synced: about 2 months ago
JSON representation
gas benchmark between solmate, oz and huff implementations
- Host: GitHub
- URL: https://github.com/eugenioclrc/erc20-benchmark
- Owner: eugenioclrc
- Created: 2023-02-06T14:23:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T17:51:58.000Z (over 2 years ago)
- Last Synced: 2025-02-28T21:02:59.062Z (2 months ago)
- Language: Solidity
- Size: 13.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Experiment to benchmark different implementations of ERC20 implementations
## Results
| | approve | transfer | transferFrom | burn | mint | permit |
|--------------|-----------|-----------|--------------|----------|-----------|-----------|
| Openzeppelin | 30913 | 26845 | 30106 | 4404 | 52782 | 55775 |
| Solmate | 30755 | 26675 | 27876 | 4290 | 52669 | 54958 |
| Yul | 30520 | 26273 | 27077 | 3896 | 52292 | 52922 |
| Huff | **30038** | **25865** | **26668** | **3383** | **51649** | **51647** |