Siying Dong
edcbb36944
Three code-level optimization to Iterator::Next()
...
Summary:
Three small optimizations:
(1) iter_->IsKeyPinned() shouldn't be called if read_options.pin_data is not true. This may trigger function call all the way down the iterator tree.
(2) reuse the iterator key object in DBIter::FindNextUserEntryInternal(). The constructor of the class has some overheads.
(3) Move the switching direction logic in MergingIterator::Next() to a separate function.
These three in total improves readseq performance by about 3% in my benchmark setting.
Closes https://github.com/facebook/rocksdb/pull/2880
Differential Revision: D5829252
Pulled By: siying
fbshipit-source-id: 991aea10c6d6c3b43769cb4db168db62954ad1e3
2017-09-14 17:57:31 -07:00
..
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-09-14 14:18:59 -07:00
2017-09-14 14:18:59 -07:00
2017-07-21 18:26:26 -07:00
2017-09-07 18:26:18 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-08-19 14:10:08 -07:00
2017-08-16 23:42:00 -07:00
2017-08-19 14:10:08 -07:00
2017-07-21 18:26:26 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-09-07 14:28:06 -07:00
2017-07-15 16:11:23 -07:00
2017-07-26 12:12:26 -07:00
2017-08-16 18:42:33 -07:00
2017-07-15 16:11:23 -07:00
2017-09-13 15:41:38 -07:00
2017-09-13 15:41:38 -07:00
2017-08-15 13:02:19 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-08-09 15:58:13 -07:00
2017-08-11 12:29:14 -07:00
2017-07-15 16:11:23 -07:00
2017-08-23 19:40:47 -07:00
2017-07-21 18:26:26 -07:00
2017-07-21 18:26:26 -07:00
2017-07-21 18:26:26 -07:00
2017-09-13 15:41:38 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-18 11:56:57 -07:00
2017-07-21 18:26:26 -07:00
2017-09-13 15:41:38 -07:00
2017-08-03 15:43:29 -07:00
2017-09-12 17:17:42 -07:00
2017-09-07 14:28:06 -07:00
2017-07-15 16:11:23 -07:00
2017-07-24 10:54:37 -07:00
2017-07-21 18:26:26 -07:00
2017-09-11 11:41:27 -07:00
2017-09-12 17:17:42 -07:00
2017-09-11 09:14:48 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-26 21:11:47 -07:00
2017-07-24 10:54:37 -07:00
2017-09-14 17:57:31 -07:00
2017-07-24 10:54:37 -07:00
2017-08-18 11:43:33 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-08-29 18:41:35 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-09-11 09:14:48 -07:00
2017-08-31 14:16:30 -07:00
2017-07-21 18:26:26 -07:00
2017-09-12 11:26:47 -07:00
2017-08-16 18:42:33 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-09-14 15:41:49 -07:00
2017-09-14 15:41:49 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-28 16:27:16 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-21 18:26:26 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-21 18:26:26 -07:00
2017-09-07 18:26:18 -07:00
2017-09-07 18:26:18 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-09-11 09:14:48 -07:00
2017-09-11 09:14:48 -07:00
2017-09-12 12:02:53 -07:00
2017-09-11 09:14:48 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-08-16 23:42:00 -07:00
2017-08-16 23:42:00 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-09-14 15:41:49 -07:00
2017-09-14 15:41:49 -07:00
2017-09-11 09:14:48 -07:00
2017-08-08 10:47:57 -07:00
2017-08-08 10:47:57 -07:00
2017-07-15 16:11:23 -07:00
2017-08-26 01:00:38 -07:00
2017-07-31 12:12:03 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-21 18:26:26 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-08-24 16:10:54 -07:00
2017-08-24 16:10:54 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-21 18:26:26 -07:00
2017-09-12 17:17:42 -07:00
2017-09-11 09:14:48 -07:00
2017-07-21 18:26:26 -07:00
2017-07-28 16:27:16 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-24 11:31:15 -07:00
2017-08-16 16:57:47 -07:00
2017-09-12 14:58:46 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-08-03 10:43:28 -07:00
2017-08-09 22:57:01 -07:00