Skip to content

Conversation

@AnInsaneJimJam
Copy link
Contributor

@AnInsaneJimJam AnInsaneJimJam commented Dec 15, 2025

Summary

This PR provides the gas report of the new function being tested: functionFacetPairs()

Changes Made

Added a inspect diamond file and a gas benchmarking file

Benchmarking

Selector Count Gas Used
100 107,073
1,000 1,141,496
5,000 8,380,231
5,600 9,837,993
6,000 10,863,742
10,000 23,493,101
15,200 46,358,456
20,000 73,933,687
24,300 103,909,853
35,000 200,131,676
40,000 255,674,234
45,000 317,955,074
50,000 386,974,195
52,000 416,468,562
60,000 545,227,281

Required findings

These are done using binary search

Selectors Gas Used
5,665 10,001,699
15,902 50,003,627
23,778 100,005,097
43,612 299,990,246
57,315 500,089,396

@netlify
Copy link

netlify bot commented Dec 15, 2025

👷 Deploy request for compose-diamonds pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit c8b96a3

@mudgen
Copy link
Contributor

mudgen commented Dec 16, 2025

@AnInsaneJimJam, this is great, thank you!

@mudgen mudgen merged commit 524ddd8 into Perfect-Abstractions:main Dec 16, 2025
1 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants