diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-08-21 10:00:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 10:00:05 +0800 |
commit | 1ebe7b8729a166745d56203685232cb2e7d41cab (patch) | |
tree | ee5546328ab67c49a8a61de607b783f1102ade58 /core/test/scheduler_test.go | |
parent | 1e71e263e063adbe7e44d48818f9c74924a2945d (diff) | |
download | tangerine-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar tangerine-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar.gz tangerine-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar.bz2 tangerine-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar.lz tangerine-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar.xz tangerine-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar.zst tangerine-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.zip |
core: tune performance total ordering (#66)
- the checking of `internal stability` is more expensive than checking `len(ANS) == validatorCount`. So only check it when `len(ANS) != validatorCount`.
- cache the result of `grade` between candidates.
- cache the `acking height vector` of each candidate.
- add test on total ordering with different acking frequency between blocks.
Diffstat (limited to 'core/test/scheduler_test.go')
0 files changed, 0 insertions, 0 deletions