issues
search
morpho-org
/
morpho-utils
Repository gathering useful libraries and contracts.
GNU Affero General Public License v3.0
65
stars
1
forks
source link
perf: opti mul args order
#38
Closed
MathisGD
closed
1 year ago
MathisGD
commented
1 year ago
๐๏ธ
github-actions[bot]
commented
1 year ago
Changes to gas costs
๐งพ Summary
Contract
Method
Avg (+/-)
%
WadRayMathFunctions
wadDiv
rayDiv
-3 โ
-3 โ
+0.01%
+0.01%
PercentageMathFunctions
percentDiv
-3 โ
+0.01%
CompoundMathFunctions
div
-3 โ
+0.01%
Full diff report
๐
| Contract | Deployment Cost (+/-) | Method | Min (+/-) | % | Avg (+/-) | % | Median (+/-) | % | Max (+/-) | % | # Calls (+/-) | |:-|-:|:-|-:|-:|-:|-:|-:|-:|-:|-:|-:| | **WadRayMathFunctions** | 140,583 (-400) | _wadDiv_
_rayDiv_ | 509 (-3)
465 (-3) | **+0.01%**
**+0.01%** | 509 (-3)
465 (-3) | **+0.01%**
**+0.01%** | 509 (-3)
465 (-3) | **+0.01%**
**+0.01%** | 509 (-3)
465 (-3) | **+0.01%**
**+0.01%** | 1 (0)
1 (0) | | **PercentageMathFunctions** | 109,959 (-200) | _percentDiv_ | 421 (-3) | **+0.01%** | 421 (-3) | **+0.01%** | 421 (-3) | **+0.01%** | 421 (-3) | **+0.01%** | 1 (0) | | **CompoundMathFunctions** | 68,117 (-200) | _div_ | 381 (-3) | **+0.01%** | 381 (-3) | **+0.01%** | 381 (-3) | **+0.01%** | 381 (-3) | **+0.01%** | 1 (0) |
๐๏ธ