Skip to content

Run benchmarks on raw VM #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 42 commits into
base: performance
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
1cd1b4d
Remove buidler and waffle dependencies
May 26, 2020
2573541
Add typescript, eslint + dependencies used for testing
May 26, 2020
4bdc4da
Add config files used for TypeScript development
May 26, 2020
1e56d4a
Create script for building typescript
May 26, 2020
4001ad3
Add deth files and dependencies
May 26, 2020
0403c04
Update imports to point to @nomiclabs/ethereumjs-vm
May 26, 2020
455c06a
Remove unused @nomiclabs/buidler from verdaccio
May 26, 2020
f65fb51
Install dependencies using verdaccio and update lock file
May 26, 2020
a5fcdb5
Comment out runBlock options unsupported in this version of the vm
May 26, 2020
af89f6e
Add test checking if two transactions can be performed
May 26, 2020
2518fb0
Add script for running tests
May 26, 2020
74068ee
Create test making ETH transfer on raw VM
May 26, 2020
22e1a2a
Simplify code, add test doing multiple ETH transfers
May 27, 2020
2a99c6b
Create tests making ERC20 deploys and transfers on raw VM
May 27, 2020
128ffdd
Create tests making ERC20 balanceOf calls on raw VM
May 28, 2020
ef90dd1
Create tests making ERC20 approve transactions on raw VM
May 28, 2020
025b382
Check block number in 'Many storage' test
May 28, 2020
db0296c
Rename src/benchmarks -> src/chain
May 28, 2020
91124d5
Remove unused deth files and tests
May 28, 2020
60af94a
Remove unused model classes
May 28, 2020
7eeec80
Move Simple*.ts classes
May 28, 2020
6fe570b
Remove unused dependencies
May 28, 2020
8ed0366
Remove profiling results so they are not mistaken with benchmark results
May 28, 2020
903b06e
Remove getReceiptsAndResponses call in putBlock function
May 29, 2020
1afeed6
Combine addPendingTransaction and mineBlock into one function
May 29, 2020
c4d8e8f
Rewrite util functions to typescript
May 29, 2020
24aa1d6
Move benchmarks directory to src
May 29, 2020
c9cba93
Move SimpleChain source files to src/chain subdir
May 29, 2020
d1a941e
Move test/utils -> src/utils
May 29, 2020
4b3d72d
Rewrite benchmarks to TypeScript
May 29, 2020
2ec6574
Update benchmark package.json script
Jun 1, 2020
d857e16
Create NonceCounter and use it for ETH transfer transactions
Jun 1, 2020
22fe685
Use NonceCounter for remaining transactions
Jun 1, 2020
30c8192
Make 01-eth-transfers benchmark run on SimpleChain
Jun 1, 2020
28b456f
Make 02-erc20-transfers benchmark run on SimpleChain
Jun 1, 2020
bf4ae3f
Make 03-erc20-deploys benchmark run on SimpleChain
Jun 1, 2020
aea2b0c
Run calls in the context of the latest block
Jun 1, 2020
40fd6a0
Make 04-erc20-calls benchmark run on SimpleChain
Jun 1, 2020
138b073
Make 05-erc20-storage benchmark run on SimpleChain
Jun 1, 2020
5d6f820
Make 06-many-storage benchmark run on SimpleChain
Jun 1, 2020
00518ef
Update function used to fill blockchain state to work with SimpleChain
Jun 2, 2020
fd4738a
Run build before starting benchmarks
Jun 2, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
514 changes: 514 additions & 0 deletions .eslintrc.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
node_modules
.idea
verdaccio/storage
verdaccio/htpasswd
dist
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10.20.1
24 changes: 0 additions & 24 deletions benchmarks/01-eth-transfers.js

This file was deleted.

33 changes: 0 additions & 33 deletions benchmarks/02-erc20-transfers.js

This file was deleted.

28 changes: 0 additions & 28 deletions benchmarks/03-erc20-deploys.js

This file was deleted.

27 changes: 0 additions & 27 deletions benchmarks/04-erc20-calls.js

This file was deleted.

31 changes: 0 additions & 31 deletions benchmarks/05-erc20-storage.js

This file was deleted.

42 changes: 0 additions & 42 deletions benchmarks/06-many-storage.js

This file was deleted.

40 changes: 0 additions & 40 deletions benchmarks/benchmark.js

This file was deleted.

32 changes: 0 additions & 32 deletions benchmarks/index.js

This file was deleted.

7 changes: 0 additions & 7 deletions benchmarks/provider.js

This file was deleted.

10 changes: 0 additions & 10 deletions benchmarks/utils/getEnv.js

This file was deleted.

73 changes: 0 additions & 73 deletions benchmarks/utils/state.js

This file was deleted.

2 changes: 0 additions & 2 deletions buidler.config.js

This file was deleted.

Loading