Skip to content

Commit

Permalink
First pass at benchmarks (#33)
Browse files Browse the repository at this point in the history
* wip

* first pass at benchmarks

* add L2 anvil client, more benchmarks, some test cleanup to prefer local client

* use live client for getProveArgsForWithdrawal

* match iterations

* new bench

* base.contracts
  • Loading branch information
wilsoncusack authored Aug 29, 2023
1 parent 941565b commit c87feb0
Show file tree
Hide file tree
Showing 17 changed files with 69,530 additions and 65 deletions.
68,390 changes: 68,390 additions & 0 deletions bench/report.json

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
"version": "0.1.0",
"private": true,
"devDependencies": {
"@eth-optimism/core-utils": "^0.12.3",
"@eth-optimism/sdk": "^3.1.2",
"ethers": "^5.7.0",
"@testing-library/react": "^13.3.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.3",
"@types/use-sync-external-store": "^0.0.3",
"@viem/anvil": "^0.0.6",
"@vitest/coverage-v8": "^0.34.2",
"@wagmi/cli": "^1.3.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
Expand All @@ -25,12 +29,13 @@
"test:ci": "CI=true vitest --coverage",
"test:typecheck": "SKIP_GLOBAL_SETUP=true vitest typecheck",
"test:ui": "vitest dev --ui",
"typecheck": "tsc --noEmit"
"typecheck": "tsc --noEmit",
"bench": "vitest bench",
"bench:ci": "CI=true vitest bench"
},
"dependencies": {
"@eth-optimism/contracts-ts": "^0.15.0",
"@roninjin10/rollup-chains": "^0.0.3",
"@vitest/coverage-v8": "^0.34.2",
"@wagmi/chains": "^1.7.0",
"viem": "^1.4.2",
"wagmi": "^1.3.9"
Expand Down
Loading

0 comments on commit c87feb0

Please sign in to comment.