Skip to content

Commit

Permalink
Research (#6841)
Browse files Browse the repository at this point in the history
* add nopp

* fix

* custom fix

* add space

* fix

* fix
  • Loading branch information
avkos committed Mar 5, 2024
1 parent bd6cc71 commit 8ed041c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/web3-utils/src/index.ts
Expand Up @@ -33,4 +33,4 @@ export * from './web3_eip1193_provider.js';
export * from './socket_provider.js';
export * from './uint8array.js';
// for backwards compatibility with v1
export {AbiItem} from 'web3-types';
export { AbiItem } from 'web3-types';
2 changes: 1 addition & 1 deletion packages/web3-utils/src/objects.ts
Expand Up @@ -36,7 +36,7 @@ export const mergeDeep = (
destination: Record<string, unknown>,
...sources: Record<string, unknown>[]
): Record<string, unknown> => {
const result = destination; // clone deep here
const result = { ...destination }; // clone deep here
if (!isIterable(result)) {
return result;
}
Expand Down

1 comment on commit 8ed041c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 8ed041c Previous: 6c075db Ratio
processingTx 9632 ops/sec (±3.71%) 9301 ops/sec (±4.81%) 0.97
processingContractDeploy 39577 ops/sec (±7.32%) 39129 ops/sec (±7.62%) 0.99
processingContractMethodSend 19786 ops/sec (±7.07%) 19443 ops/sec (±5.19%) 0.98
processingContractMethodCall 39888 ops/sec (±5.92%) 38971 ops/sec (±6.34%) 0.98
abiEncode 43706 ops/sec (±6.90%) 44252 ops/sec (±6.92%) 1.01
abiDecode 31188 ops/sec (±7.81%) 30419 ops/sec (±8.89%) 0.98
sign 1642 ops/sec (±3.02%) 1656 ops/sec (±4.08%) 1.01
verify 377 ops/sec (±0.65%) 373 ops/sec (±0.78%) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.