Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
Use revm analysed code
  • Loading branch information
rakita committed Aug 29, 2022
commit 758af598dc381669626bea2c91cb7b7091f73ecf
86 changes: 44 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ eyre = "0.6.8"
hex = "0.4.3"
primitive-types = { version = "0.11.1", features = ["scale-info"] }
microbench = "0.5.0"
revm = { git = "https://github.com/bluealloy/revm.git", branch="forks", features = ["serde", "hex", "with-serde"] }
revm = { git = "https://github.com/bluealloy/revm.git", branch="precomp", features = ["serde", "hex", "with-serde"] }
bytes = "1.2.1"


[profile.release]
debug = true
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ execute_contract_method_reverted_from_rust_evm (5.0s) ... 7_720.943 ns/ite
execute_contract_method_success_from_revm (5.0s) ... 8_617.185 ns/iter (1.000 R²)
execute_contract_method_reverted_from_revm (5.0s) ... 8_594.083 ns/iter (0.999 R²)
```

After updating revm branch on XPS (i7-10750H CPU @ 2.60GHz):
```text
execute_contract_method_success_from_rust_evm (1.0s) ... 8_549.149 ns/iter (0.999 R²)
execute_contract_method_reverted_from_rust_evm (1.0s) ... 7_504.395 ns/iter (1.000 R²)
execute_contract_method_success_from_revm (1.0s) ... 2_414.513 ns/iter (1.000 R²)
execute_contract_method_reverted_from_revm (1.0s) ... 2_194.849 ns/iter (1.000 R²)
```
Loading