mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 01:50:35 +00:00
"This series deals with copies and moves of mutation. The former are dealt with by adding std::move() and missing 'mutable' (in case of lambdas). The latter are improved by storing mutation_partition externally thus removing the need for moving mutation_partition each time mutation is moved. Storing mutation_partition externally is obviously trading the cost of move constructor for the cost of allocation which shows in perf_mutation results since mutations aren't moved in that test. perf_mutation (-c 1): before: 3289520.06 tps after: 3183023.37 tps diff: -3.24% perf_simple_query (read): before: 526954.05 tps after: 577225.16 tps diff +9.54% perf_simple_query (write): before: 731832.70 tps after: 734923.60 tps diff: +0.42% Fixes #150 (well, not completely)."