neoneo-go/pkg/core
Roman Khimov 9bfb3357f2 storage: add "private" mode to MemCachedStore
Most of the time we don't need locking on the higher-level stores and we drop
them after Persist, so that's what private MemCachedStore is for.

It doesn't improve things in any noticeable way, some ~1% can be observed in
neo-bench under various loads and even less than that in chain processing. But
it seems to be a bit better anyway (less allocations, less locks).
2022-02-17 22:27:39 +03:00
..
block *: store application long along with tx/block 2021-12-09 15:39:26 +03:00
blockchainer core: drop GetStandBy* methods 2022-01-31 23:14:38 +03:00
chaindump services/consensus: drop blockchainer.Blockchainer use 2022-01-14 19:57:16 +03:00
dao storage: add "private" mode to MemCachedStore 2022-02-17 22:27:39 +03:00
fee vm: add PACKMAP/PACKSTRUCT, extend UNPACK 2021-11-12 17:19:59 +03:00
interop storage: add "private" mode to MemCachedStore 2022-02-17 22:27:39 +03:00
mempool mempool: use capacity parameter to avoid map reallocations 2021-12-01 21:36:25 +03:00
mempoolevent core: move mempool.Event to a separate package 2021-06-01 12:24:28 +03:00
mpt storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00
native dao: drop DAO interface 2022-02-16 18:24:20 +03:00
state core, rpc: use Seek to iterate over NEP* transfers 2022-01-19 20:55:08 +03:00
stateroot storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00
statesync storage: add "private" mode to MemCachedStore 2022-02-17 22:27:39 +03:00
storage storage: add "private" mode to MemCachedStore 2022-02-17 22:27:39 +03:00
test_data nativetest: migrate Oracle contract tests to neotest 2022-01-14 17:56:10 +03:00
transaction transaction: microoptimize Hash() 2021-12-02 14:48:35 +03:00
bench_test.go core, rpc: use Seek to iterate over NEP* transfers 2022-01-19 20:55:08 +03:00
blockchain.go storage: add "private" mode to MemCachedStore 2022-02-17 22:27:39 +03:00
blockchain_test.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
helper_test.go rpc: add NEP11-D tests to server and client 2022-02-09 11:57:16 +03:00
interop_system.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00
interop_system_test.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00
interops.go interop: implement System.Runtime.GetRandom 2021-07-15 16:00:01 +03:00
interops_test.go core: remove conflicting transactions wrt MaxTraceableBlocks 2021-08-18 13:31:47 +03:00
native_contract_test.go nativetest: migrate Management contract tests to neotest 2022-01-14 17:56:04 +03:00
native_designate_test.go nativetest: migrate Designation contract tests to neotest 2022-01-14 16:47:31 +03:00
native_management_test.go nativetest: migrate Management contract tests to neotest 2022-01-14 17:56:04 +03:00
native_neo_test.go nativetest: migrate NEO contract tests to neotest 2022-01-14 17:56:10 +03:00
native_policy_test.go nativetest: migrate Policy contract tests to neotest 2022-01-14 16:34:33 +03:00
notary_test.go network: decouple it from blockchainer.Blockchainer 2022-01-14 19:57:16 +03:00
oracle_test.go Merge pull request #2323 from nspcc-dev/drop-blockchainer 2022-01-14 20:47:26 +03:00
prometheus.go stateroot: move state-root related logic to core/stateroot 2021-03-09 13:48:29 +03:00
stateroot_test.go core: shrink blockchainer.StateRoot further, leave simple RO methods 2022-01-14 19:57:16 +03:00
statesync_test.go rpc: add NEP11-D tests to server and client 2022-02-09 11:57:16 +03:00
util.go core: drop GetStandBy* methods 2022-01-31 23:14:38 +03:00
util_test.go core/block: add Nonce field to header 2021-07-15 15:58:49 +03:00