You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sdong
5e2db3b434
PlainTableIterator not to store copied key in std::string
...
Summary:
Move PlainTableIterator's copied key from std::string local buffer to avoid paying the extra costs in std::string related to sharing. Reuse the same buffer class in DbIter. Move the class to dbformat.h.
This patch improves iterator performance significantly. Running this benchmark:
./table_reader_bench --num_keys2=17 --iterator --plain_table --time_unit=nanosecond
The average latency is improved to about 750 nanoseconds from 1100 nanoseconds.
Test Plan:
Add a unit test.
make all check
Reviewers: haobo, ljin
Reviewed By: haobo
CC: igor, yhchiang, dhruba, leveldb
Differential Revision: https://reviews.facebook.net/D17547
11 years ago
..
block.cc
Implement a compressed block cache.
11 years ago
block.h
Fix inconsistent code format
11 years ago
block_based_table_builder.cc
Make the block-based table's index pluggable
11 years ago
block_based_table_builder.h
Make the block-based table's index pluggable
11 years ago
block_based_table_factory.cc
Make the block-based table's index pluggable
11 years ago
block_based_table_factory.h
Remove the terrible hack in for flush_block_policy_factory
11 years ago
block_based_table_reader.cc
Remove -Wno-unused-const-variable
11 years ago
block_based_table_reader.h
Make the Create() function comform the convention
11 years ago
block_builder.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
block_builder.h
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
block_hash_index.cc
Add a hash-index component for block
11 years ago
block_hash_index.h
Add a hash-index component for block
11 years ago
block_hash_index_test.cc
Add a hash-index component for block
11 years ago
block_test.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
filter_block.cc
Consolidate SliceTransform object ownership
11 years ago
filter_block.h
[CF] Rethinking ColumnFamilyHandle and fix to dropping column families
11 years ago
filter_block_test.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
flush_block_policy.cc
Remove the terrible hack in for flush_block_policy_factory
11 years ago
format.cc
Merge pull request #74 from alberts/lz4
11 years ago
format.h
Fix two bugs in talbe format
11 years ago
iter_heap.h
Add appropriate LICENSE and Copyright message.
11 years ago
iterator.cc
Add appropriate LICENSE and Copyright message.
11 years ago
iterator_wrapper.h
Add appropriate LICENSE and Copyright message.
11 years ago
merger.cc
Fix issue with iterator operations in this order: Prev(), Seek(), Prev()
11 years ago
merger.h
Merge branch 'master' into performance
11 years ago
meta_blocks.cc
Expose the table properties to application
11 years ago
meta_blocks.h
Expose the table properties to application
11 years ago
plain_table_builder.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
plain_table_builder.h
First phase API clean up
11 years ago
plain_table_factory.cc
Add more black-box tests for PlainTable and explicitly support total order mode
11 years ago
plain_table_factory.h
Add more black-box tests for PlainTable and explicitly support total order mode
11 years ago
plain_table_reader.cc
PlainTableIterator not to store copied key in std::string
11 years ago
plain_table_reader.h
PlainTableIterator::Seek() shouldn't check bloom filter in total order mode
11 years ago
table_builder.h
First phase API clean up
11 years ago
table_properties.cc
Add support for plain table format to sst_dump.
11 years ago
table_reader.h
Make table properties shareable
11 years ago
table_reader_bench.cc
Consolidate SliceTransform object ownership
11 years ago
table_test.cc
[CF] Code cleanup part 1
11 years ago
two_level_iterator.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
two_level_iterator.h
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago