neo-go/pkg
Roman Khimov 35bdfc5eca storage: use two maps for MemoryStore
Simple and dumb as it is, this allows to separate contract storage from other
things and dramatically improve Seek() time over storage (even though it's
still unordered!) which in turn improves block processing speed.

        LevelDB             LevelDB (KeepOnlyLatest)  BoltDB              BoltDB (KeepOnlyLatest)
Master  real    16m27,936s  real    10m9,440s         real    16m39,369s  real    8m1,227s
        user    20m12,619s  user    26m13,925s        user    18m9,162s   user    18m5,846s
        sys     2m56,377s   sys     1m32,051s         sys     9m52,576s   sys     2m9,455s

2 maps  real    10m49,495s  real    8m53,342s         real    11m46,204s  real    5m56,043s
        user    14m19,922s  user    24m6,225s         user    13m25,691s  user    15m4,694s
        sys     1m53,021s   sys     1m23,006s         sys     4m31,735s   sys     2m8,714s

neo-bench performance is mostly unaffected, ~0.5% for 1-1 test and 4% for
10K-10K test both fall within regular test error range.
2022-02-16 15:55:48 +03:00
..
compiler compiler: use full paths for debug info files if relative can't be constructed 2022-02-10 18:58:44 +03:00
config config: conflict P2PStateExchangeExtensions/KeepOnlyLatestState 2022-02-11 14:19:54 +03:00
consensus config/core: allow to change the number of validators 2022-01-31 23:14:38 +03:00
core storage: use two maps for MemoryStore 2022-02-16 15:55:48 +03:00
crypto core: drop GetStandBy* methods 2022-01-31 23:14:38 +03:00
encoding *: use internal variables for simple big.NewInt() values 2021-12-01 21:36:25 +03:00
interop interop: use All flags for management deploy and update calls 2022-01-31 22:21:08 +03:00
io io: optimize WriteString, avoid allocation 2021-12-01 21:36:25 +03:00
neotest compiler: update x/tools package 2022-01-20 13:21:26 +03:00
network network: tune waiting limits in tests 2022-02-10 18:58:50 +03:00
rpc Merge pull request #2356 from nspcc-dev/rpc-big-numbers 2022-02-11 13:24:35 +03:00
services Merge pull request #2323 from nspcc-dev/drop-blockchainer 2022-01-14 20:47:26 +03:00
smartcontract compiler: check overloaded methods for safeness one more time 2022-01-21 18:03:04 +03:00
util util: reduce allocations in util.Uint256DecodeStringLE 2021-08-17 16:53:39 +03:00
vm Merge pull request #2356 from nspcc-dev/rpc-big-numbers 2022-02-11 13:24:35 +03:00
wallet Merge pull request #2264 from nspcc-dev/fix-win-tests 2021-11-29 11:25:35 +03:00