neo-go/pkg/core
Roman Khimov 4758de71ec storage: optimize (*MemCachedStore).Persist for memory-backed ps
Most of the time it's persisted into the MemoryStore or MemCachedStore, when
that's the case there is no real need to go through the Batch mechanism as it
incurs multiple copies of the data.

Importing 1.5M mainnet blocks with verification turned off, before:
real    12m39,484s
user    20m48,300s
sys     2m25,022s

After:
real    11m15,053s
user    18m2,755s
sys     2m4,162s

So it's around 10% improvement which looks good enough.
2020-03-28 17:21:50 +03:00
..
block *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
mempool mempool: gofmt -s 2020-03-17 16:47:51 +03:00
state core: marshal AppExecResult.Stack as an array 2020-03-23 16:27:47 +03:00
storage storage: optimize (*MemCachedStore).Persist for memory-backed ps 2020-03-28 17:21:50 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction transaction: implement AddVerificationHash() method 2020-03-16 14:11:19 +03:00
blockchain.go core: marshal AppExecResult.Stack as an array 2020-03-23 16:27:47 +03:00
blockchain_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
blockchainer.go core: store NEP5 balances separately 2020-03-12 12:58:28 +03:00
cacheddao.go core: reuse buffer in (*cacheddao).Persist() 2020-03-25 13:13:54 +03:00
cacheddao_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
dao.go core: reuse buffer in (*cacheddao).Persist() 2020-03-25 13:13:54 +03:00
dao_test.go core: marshal AppExecResult.Stack as an array 2020-03-23 16:27:47 +03:00
gas_price.go cli: make gas parameter to deployment add gas to the base price 2020-03-11 20:34:36 +03:00
gas_price_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
header_hash_list.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
helper_test.go rpc: implement submitblock RPC 2020-03-06 12:03:08 +03:00
interop_neo.go core: fix contract's state migration and don't swallow errors 2020-03-16 11:52:09 +03:00
interop_neo_test.go core: fix wrong endian used in interop functions 2020-03-05 19:44:09 +03:00
interop_system.go core: fix wrong endian used in interop functions 2020-03-05 19:44:09 +03:00
interops.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
interops_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
prometheus.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00
spent_coin.go core: move (un)SpentCoin structs into the state package 2020-03-11 12:22:52 +03:00
uint32.go *: goimports 2019-12-17 14:51:28 +03:00
util.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
util_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00