State cache and other performance optimizations (#1345)

* State caching

* Better code caching

* Execution optimizaton

* More optimizations

* Updated wasmi

* Caching test

* Style

* Style

* Reverted some minor changes

* Style and typos

* Style and typos

* Removed panics on missing memory
This commit is contained in:
Arkadiy Paronyan authored and Gav Wood committed 2019-01-08 13:13:13 +01:00
1 parent e0639c435b
commit b104c02eb6
26 files changed
+796 -266

No files matched your search

-1
View File
@@ -37,7 +37,6 @@ extern crate error_chain;
extern crate jsonrpc_macros;
#[macro_use]
extern crate log;
#[macro_use]
extern crate serde_derive;
#[cfg(test)]
+1 -2
View File
@@ -144,8 +144,7 @@ impl<B, E, Block, RA> StateApi<Block::Hash> for State<B, E, Block, RA> where
.call(
&BlockId::Hash(block),
&method, &data.0
)?
.return_data;
)?;
Ok(Bytes(return_data))
}