Skip to content

Commit

Permalink
gas-report
Browse files Browse the repository at this point in the history
  • Loading branch information
dk1a committed Jun 20, 2023
1 parent 6985fc7 commit f6625e4
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions packages/world/gas-report.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,67 +3,67 @@
"file": "test/KeysInTableModule.t.sol",
"test": "testInstallComposite",
"name": "install keys in table module",
"gasUsed": 1286951
"gasUsed": 1303862
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testInstallGas",
"name": "install keys in table module",
"gasUsed": 1286951
"gasUsed": 1303862
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testInstallGas",
"name": "set a record on a table with keysInTableModule installed",
"gasUsed": 193905
"gasUsed": 197985
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testInstallSingleton",
"name": "install keys in table module",
"gasUsed": 1286951
"gasUsed": 1303862
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookCompositeGas",
"name": "install keys in table module",
"gasUsed": 1286951
"gasUsed": 1303862
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookCompositeGas",
"name": "change a composite record on a table with keysInTableModule installed",
"gasUsed": 30072
"gasUsed": 31107
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookCompositeGas",
"name": "delete a composite record on a table with keysInTableModule installed",
"gasUsed": 292113
"gasUsed": 305696
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookGas",
"name": "install keys in table module",
"gasUsed": 1286951
"gasUsed": 1303862
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookGas",
"name": "change a record on a table with keysInTableModule installed",
"gasUsed": 28686
"gasUsed": 29722
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookGas",
"name": "delete a record on a table with keysInTableModule installed",
"gasUsed": 153351
"gasUsed": 160625
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testGetKeysWithValue",
"name": "install keys with value module",
"gasUsed": 626518
"gasUsed": 638683
},
{
"file": "test/KeysWithValueModule.t.sol",
Expand All @@ -81,79 +81,79 @@
"file": "test/KeysWithValueModule.t.sol",
"test": "testInstall",
"name": "install keys with value module",
"gasUsed": 626518
"gasUsed": 638683
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testInstall",
"name": "set a record on a table with KeysWithValueModule installed",
"gasUsed": 165703
"gasUsed": 169568
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetAndDeleteRecordHook",
"name": "install keys with value module",
"gasUsed": 626518
"gasUsed": 638683
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetAndDeleteRecordHook",
"name": "change a record on a table with KeysWithValueModule installed",
"gasUsed": 135356
"gasUsed": 139222
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetAndDeleteRecordHook",
"name": "delete a record on a table with KeysWithValueModule installed",
"gasUsed": 54297
"gasUsed": 56746
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetField",
"name": "install keys with value module",
"gasUsed": 626518
"gasUsed": 638683
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetField",
"name": "set a field on a table with KeysWithValueModule installed",
"gasUsed": 173712
"gasUsed": 177644
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetField",
"name": "change a field on a table with KeysWithValueModule installed",
"gasUsed": 138070
"gasUsed": 142003
},
{
"file": "test/query.t.sol",
"test": "testCombinedHasHasValueNotQuery",
"name": "CombinedHasHasValueNotQuery",
"gasUsed": 169289
"gasUsed": 169220
},
{
"file": "test/query.t.sol",
"test": "testCombinedHasHasValueQuery",
"name": "CombinedHasHasValueQuery",
"gasUsed": 79072
"gasUsed": 79049
},
{
"file": "test/query.t.sol",
"test": "testCombinedHasNotQuery",
"name": "CombinedHasNotQuery",
"gasUsed": 233194
"gasUsed": 233079
},
{
"file": "test/query.t.sol",
"test": "testCombinedHasQuery",
"name": "CombinedHasQuery",
"gasUsed": 146486
"gasUsed": 146394
},
{
"file": "test/query.t.sol",
"test": "testCombinedHasValueNotQuery",
"name": "CombinedHasValueNotQuery",
"gasUsed": 145184
"gasUsed": 145115
},
{
"file": "test/query.t.sol",
Expand All @@ -165,19 +165,19 @@
"file": "test/query.t.sol",
"test": "testHasQuery",
"name": "HasQuery",
"gasUsed": 33097
"gasUsed": 33074
},
{
"file": "test/query.t.sol",
"test": "testHasQuery1000Keys",
"name": "HasQuery with 1000 keys",
"gasUsed": 11312135
"gasUsed": 11312112
},
{
"file": "test/query.t.sol",
"test": "testHasQuery100Keys",
"name": "HasQuery with 100 keys",
"gasUsed": 1060038
"gasUsed": 1060015
},
{
"file": "test/query.t.sol",
Expand All @@ -189,132 +189,132 @@
"file": "test/query.t.sol",
"test": "testNotValueQuery",
"name": "NotValueQuery",
"gasUsed": 72252
"gasUsed": 72229
},
{
"file": "test/SnapSyncModule.t.sol",
"test": "testSnapSyncGas",
"name": "Call snap sync on a table with 1 record",
"gasUsed": 43866
"gasUsed": 45930
},
{
"file": "test/SnapSyncModule.t.sol",
"test": "testSnapSyncGas",
"name": "Call snap sync on a table with 2 records",
"gasUsed": 62553
"gasUsed": 65221
},
{
"file": "test/UniqueEntityModule.t.sol",
"test": "testInstall",
"name": "install unique entity module",
"gasUsed": 824003
"gasUsed": 842466
},
{
"file": "test/UniqueEntityModule.t.sol",
"test": "testInstall",
"name": "get a unique entity nonce (non-root module)",
"gasUsed": 73377
"gasUsed": 75985
},
{
"file": "test/UniqueEntityModule.t.sol",
"test": "testInstallRoot",
"name": "installRoot unique entity module",
"gasUsed": 794078
"gasUsed": 810686
},
{
"file": "test/UniqueEntityModule.t.sol",
"test": "testInstallRoot",
"name": "get a unique entity nonce (root module)",
"gasUsed": 73377
"gasUsed": 75985
},
{
"file": "test/World.t.sol",
"test": "testDeleteRecord",
"name": "Delete record",
"gasUsed": 16152
"gasUsed": 16909
},
{
"file": "test/World.t.sol",
"test": "testPushToField",
"name": "Push data to the table",
"gasUsed": 96511
"gasUsed": 97267
},
{
"file": "test/World.t.sol",
"test": "testRegisterFallbackSystem",
"name": "Register a fallback system",
"gasUsed": 87012
"gasUsed": 90040
},
{
"file": "test/World.t.sol",
"test": "testRegisterFallbackSystem",
"name": "Register a root fallback system",
"gasUsed": 78196
"gasUsed": 81246
},
{
"file": "test/World.t.sol",
"test": "testRegisterFunctionSelector",
"name": "Register a function selector",
"gasUsed": 107607
"gasUsed": 110634
},
{
"file": "test/World.t.sol",
"test": "testRegisterNamespace",
"name": "Register a new namespace",
"gasUsed": 161669
"gasUsed": 165455
},
{
"file": "test/World.t.sol",
"test": "testRegisterRootFunctionSelector",
"name": "Register a root function selector",
"gasUsed": 94099
"gasUsed": 97149
},
{
"file": "test/World.t.sol",
"test": "testRegisterTable",
"name": "Register a new table in the namespace",
"gasUsed": 262388
"gasUsed": 267695
},
{
"file": "test/World.t.sol",
"test": "testSetField",
"name": "Write data to a table field",
"gasUsed": 44813
"gasUsed": 45592
},
{
"file": "test/World.t.sol",
"test": "testSetMetadata",
"name": "Set metadata",
"gasUsed": 283384
"gasUsed": 285656
},
{
"file": "test/World.t.sol",
"test": "testSetRecord",
"name": "Write data to the table",
"gasUsed": 42690
"gasUsed": 43447
},
{
"file": "test/WorldDynamicUpdate.t.sol",
"test": "testPopFromField",
"name": "pop 1 address (cold)",
"gasUsed": 38033
"gasUsed": 38745
},
{
"file": "test/WorldDynamicUpdate.t.sol",
"test": "testPopFromField",
"name": "pop 1 address (warm)",
"gasUsed": 22830
"gasUsed": 23542
},
{
"file": "test/WorldDynamicUpdate.t.sol",
"test": "testUpdateInField",
"name": "updateInField 1 item (cold)",
"gasUsed": 40364
"gasUsed": 41121
},
{
"file": "test/WorldDynamicUpdate.t.sol",
"test": "testUpdateInField",
"name": "updateInField 1 item (warm)",
"gasUsed": 25566
"gasUsed": 26323
}
]

0 comments on commit f6625e4

Please sign in to comment.