Skip to content

Commit

Permalink
gas report
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Sep 25, 2023
1 parent 7abacad commit dc9fa1d
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 53 deletions.
68 changes: 34 additions & 34 deletions packages/world-modules/gas-report.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,73 +3,73 @@
"file": "test/KeysInTableModule.t.sol",
"test": "testInstallComposite",
"name": "install keys in table module",
"gasUsed": 1408533
"gasUsed": 1407532
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testInstallGas",
"name": "install keys in table module",
"gasUsed": 1408533
"gasUsed": 1407532
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testInstallGas",
"name": "set a record on a table with keysInTableModule installed",
"gasUsed": 159030
"gasUsed": 158799
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testInstallSingleton",
"name": "install keys in table module",
"gasUsed": 1408533
"gasUsed": 1407532
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookCompositeGas",
"name": "install keys in table module",
"gasUsed": 1408533
"gasUsed": 1407532
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookCompositeGas",
"name": "change a composite record on a table with keysInTableModule installed",
"gasUsed": 22571
"gasUsed": 22494
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookCompositeGas",
"name": "delete a composite record on a table with keysInTableModule installed",
"gasUsed": 156371
"gasUsed": 155678
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookGas",
"name": "install keys in table module",
"gasUsed": 1408533
"gasUsed": 1407532
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookGas",
"name": "change a record on a table with keysInTableModule installed",
"gasUsed": 21293
"gasUsed": 21216
},
{
"file": "test/KeysInTableModule.t.sol",
"test": "testSetAndDeleteRecordHookGas",
"name": "delete a record on a table with keysInTableModule installed",
"gasUsed": 85329
"gasUsed": 84944
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testGetKeysWithValueGas",
"name": "install keys with value module",
"gasUsed": 649692
"gasUsed": 648845
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testGetKeysWithValueGas",
"name": "Get list of keys with a given value",
"gasUsed": 5712
"gasUsed": 5635
},
{
"file": "test/KeysWithValueModule.t.sol",
Expand All @@ -81,61 +81,61 @@
"file": "test/KeysWithValueModule.t.sol",
"test": "testInstall",
"name": "install keys with value module",
"gasUsed": 649692
"gasUsed": 648845
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testInstall",
"name": "set a record on a table with KeysWithValueModule installed",
"gasUsed": 135698
"gasUsed": 135390
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetAndDeleteRecordHook",
"name": "install keys with value module",
"gasUsed": 649692
"gasUsed": 648845
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetAndDeleteRecordHook",
"name": "change a record on a table with KeysWithValueModule installed",
"gasUsed": 104082
"gasUsed": 103774
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetAndDeleteRecordHook",
"name": "delete a record on a table with KeysWithValueModule installed",
"gasUsed": 36693
"gasUsed": 36462
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetField",
"name": "install keys with value module",
"gasUsed": 649692
"gasUsed": 648845
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetField",
"name": "set a field on a table with KeysWithValueModule installed",
"gasUsed": 146907
"gasUsed": 146599
},
{
"file": "test/KeysWithValueModule.t.sol",
"test": "testSetField",
"name": "change a field on a table with KeysWithValueModule installed",
"gasUsed": 111666
"gasUsed": 111358
},
{
"file": "test/query.t.sol",
"test": "testCombinedHasHasValueNotQuery",
"name": "CombinedHasHasValueNotQuery",
"gasUsed": 105109
"gasUsed": 104878
},
{
"file": "test/query.t.sol",
"test": "testCombinedHasHasValueQuery",
"name": "CombinedHasHasValueQuery",
"gasUsed": 53579
"gasUsed": 53348
},
{
"file": "test/query.t.sol",
Expand All @@ -153,13 +153,13 @@
"file": "test/query.t.sol",
"test": "testCombinedHasValueNotQuery",
"name": "CombinedHasValueNotQuery",
"gasUsed": 85116
"gasUsed": 85039
},
{
"file": "test/query.t.sol",
"test": "testCombinedHasValueQuery",
"name": "CombinedHasValueQuery",
"gasUsed": 15705
"gasUsed": 15551
},
{
"file": "test/query.t.sol",
Expand All @@ -183,60 +183,60 @@
"file": "test/query.t.sol",
"test": "testHasValueQuery",
"name": "HasValueQuery",
"gasUsed": 7521
"gasUsed": 7444
},
{
"file": "test/query.t.sol",
"test": "testNotValueQuery",
"name": "NotValueQuery",
"gasUsed": 47175
"gasUsed": 46944
},
{
"file": "test/StandardDelegationsModule.t.sol",
"test": "testCallFromCallboundDelegation",
"name": "register a callbound delegation",
"gasUsed": 117623
"gasUsed": 117315
},
{
"file": "test/StandardDelegationsModule.t.sol",
"test": "testCallFromCallboundDelegation",
"name": "call a system via a callbound delegation",
"gasUsed": 36737
"gasUsed": 36583
},
{
"file": "test/StandardDelegationsModule.t.sol",
"test": "testCallFromTimeboundDelegation",
"name": "register a timebound delegation",
"gasUsed": 112117
"gasUsed": 111809
},
{
"file": "test/StandardDelegationsModule.t.sol",
"test": "testCallFromTimeboundDelegation",
"name": "call a system via a timebound delegation",
"gasUsed": 26822
"gasUsed": 26745
},
{
"file": "test/UniqueEntityModule.t.sol",
"test": "testInstall",
"name": "install unique entity module",
"gasUsed": 676231
"gasUsed": 675076
},
{
"file": "test/UniqueEntityModule.t.sol",
"test": "testInstall",
"name": "get a unique entity nonce (non-root module)",
"gasUsed": 51180
"gasUsed": 51026
},
{
"file": "test/UniqueEntityModule.t.sol",
"test": "testInstallRoot",
"name": "installRoot unique entity module",
"gasUsed": 643428
"gasUsed": 642427
},
{
"file": "test/UniqueEntityModule.t.sol",
"test": "testInstallRoot",
"name": "get a unique entity nonce (root module)",
"gasUsed": 51180
"gasUsed": 51026
}
]
38 changes: 19 additions & 19 deletions packages/world/gas-report.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,115 +45,115 @@
"file": "test/BatchCall.t.sol",
"test": "testBatchCallFromReturnData",
"name": "call systems with batchCallFrom",
"gasUsed": 46608
"gasUsed": 46377
},
{
"file": "test/BatchCall.t.sol",
"test": "testBatchCallReturnData",
"name": "call systems with batchCall",
"gasUsed": 45405
"gasUsed": 45174
},
{
"file": "test/World.t.sol",
"test": "testCall",
"name": "call a system via the World",
"gasUsed": 12409
"gasUsed": 12332
},
{
"file": "test/World.t.sol",
"test": "testCallFromNamespaceDelegation",
"name": "call a system via a namespace fallback delegation",
"gasUsed": 26144
"gasUsed": 26067
},
{
"file": "test/World.t.sol",
"test": "testCallFromUnlimitedDelegation",
"name": "register an unlimited delegation",
"gasUsed": 47739
"gasUsed": 47585
},
{
"file": "test/World.t.sol",
"test": "testCallFromUnlimitedDelegation",
"name": "call a system via an unlimited delegation",
"gasUsed": 12845
"gasUsed": 12768
},
{
"file": "test/World.t.sol",
"test": "testDeleteRecord",
"name": "Delete record",
"gasUsed": 9911
"gasUsed": 9834
},
{
"file": "test/World.t.sol",
"test": "testPushToDynamicField",
"name": "Push data to the table",
"gasUsed": 85885
"gasUsed": 85808
},
{
"file": "test/World.t.sol",
"test": "testRegisterFunctionSelector",
"name": "Register a function selector",
"gasUsed": 83265
"gasUsed": 83111
},
{
"file": "test/World.t.sol",
"test": "testRegisterNamespace",
"name": "Register a new namespace",
"gasUsed": 121116
"gasUsed": 120808
},
{
"file": "test/World.t.sol",
"test": "testRegisterRootFunctionSelector",
"name": "Register a root function selector",
"gasUsed": 80549
"gasUsed": 80395
},
{
"file": "test/World.t.sol",
"test": "testRegisterSystem",
"name": "register a system",
"gasUsed": 162932
"gasUsed": 162547
},
{
"file": "test/World.t.sol",
"test": "testRegisterTable",
"name": "Register a new table in the namespace",
"gasUsed": 637753
"gasUsed": 637323
},
{
"file": "test/World.t.sol",
"test": "testSetField",
"name": "Write data to a table field",
"gasUsed": 36955
"gasUsed": 36878
},
{
"file": "test/World.t.sol",
"test": "testSetRecord",
"name": "Write data to the table",
"gasUsed": 36970
"gasUsed": 36893
},
{
"file": "test/WorldDynamicUpdate.t.sol",
"test": "testPopFromDynamicField",
"name": "pop 1 address (cold)",
"gasUsed": 23676
"gasUsed": 23599
},
{
"file": "test/WorldDynamicUpdate.t.sol",
"test": "testPopFromDynamicField",
"name": "pop 1 address (warm)",
"gasUsed": 12822
"gasUsed": 12745
},
{
"file": "test/WorldDynamicUpdate.t.sol",
"test": "testSpliceDynamicData",
"name": "update in field 1 item (cold)",
"gasUsed": 24027
"gasUsed": 23950
},
{
"file": "test/WorldDynamicUpdate.t.sol",
"test": "testSpliceDynamicData",
"name": "update in field 1 item (warm)",
"gasUsed": 13228
"gasUsed": 13151
},
{
"file": "test/WorldResourceId.t.sol",
Expand Down

0 comments on commit dc9fa1d

Please sign in to comment.