leveldb/util
costan 4de9594f6f Add move constructor to Status.
This will result in smaller code generation when Status instances are
passed around.

Benchmarks don't indicate a significant change either way.
CPU:        48 * Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz
CPUCache:   30720 KB
Keys:       16 bytes each
Values:     100 bytes each (50 bytes after compression)
Entries:    1000000
RawSize:    110.6 MB (estimated)
FileSize:   62.9 MB (estimated)

Baseline:
fillseq      :       3.589 micros/op;   30.8 MB/s
fillsync     :    4165.299 micros/op;    0.0 MB/s (1000 ops)
fillrandom   :       5.864 micros/op;   18.9 MB/s
overwrite    :       7.830 micros/op;   14.1 MB/s
readrandom   :       5.534 micros/op; (1000000 of 1000000 found)
readrandom   :       4.292 micros/op; (1000000 of 1000000 found)
readseq      :       0.312 micros/op;  354.1 MB/s
readreverse  :       0.501 micros/op;  220.8 MB/s
compact      :  886211.000 micros/op;
readrandom   :       3.518 micros/op; (1000000 of 1000000 found)
readseq      :       0.251 micros/op;  441.2 MB/s
readreverse  :       0.456 micros/op;  242.4 MB/s
fill100K     :    1329.723 micros/op;   71.7 MB/s (1000 ops)
crc32c       :       1.976 micros/op; 1976.7 MB/s (4K per op)
snappycomp   :       4.705 micros/op;  830.2 MB/s (output: 55.1%)
snappyuncomp :       0.958 micros/op; 4079.1 MB/s
acquireload  :       0.727 micros/op; (each op is 1000 loads)

New:
fillseq      :       3.129 micros/op;   35.4 MB/s
fillsync     :    2748.099 micros/op;    0.0 MB/s (1000 ops)
fillrandom   :       5.394 micros/op;   20.5 MB/s
overwrite    :       7.253 micros/op;   15.3 MB/s
readrandom   :       5.655 micros/op; (1000000 of 1000000 found)
readrandom   :       4.425 micros/op; (1000000 of 1000000 found)
readseq      :       0.298 micros/op;  371.3 MB/s
readreverse  :       0.508 micros/op;  217.9 MB/s
compact      :  885842.000 micros/op;
readrandom   :       3.545 micros/op; (1000000 of 1000000 found)
readseq      :       0.252 micros/op;  438.2 MB/s
readreverse  :       0.425 micros/op;  260.2 MB/s
fill100K     :    1418.347 micros/op;   67.2 MB/s (1000 ops)
crc32c       :       1.987 micros/op; 1966.0 MB/s (4K per op)
snappycomp   :       4.767 micros/op;  819.4 MB/s (output: 55.1%)
snappyuncomp :       0.916 micros/op; 4264.9 MB/s
acquireload  :       0.665 micros/op; (each op is 1000 loads)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=194002392
2018-04-23 16:22:30 -07:00
..
arena_test.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
arena.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
arena.h Resolve race when getting approximate-memory-usage property 2015-12-09 11:27:50 -08:00
bloom_test.cc Fix size_t/int comparison/conversion issues in leveldb. 2015-12-09 10:34:58 -08:00
bloom.cc Fix size_t/int comparison/conversion issues in leveldb. 2015-12-09 10:34:58 -08:00
cache_test.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
cache.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
coding_test.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
coding.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
coding.h Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
comparator.cc Remove static initializer; fix endian-ness detection; fix build on 2012-05-30 09:45:46 -07:00
crc32c_test.cc A number of fixes: 2011-10-31 17:22:06 +00:00
crc32c.cc Use portable CRC32C from google/crc32c. 2017-09-26 18:50:41 -07:00
crc32c.h Remove extern from function declarations. 2018-03-12 09:24:48 -07:00
env_posix_test_helper.h Limit the number of read-only files the POSIX Env will have open. 2017-01-04 09:13:20 -08:00
env_posix_test.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
env_posix.cc Replace port_posix with port_stdcxx. 2018-04-17 13:26:47 -07:00
env_test.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
env.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
filter_policy.cc Added bloom filter support. 2012-04-17 08:36:46 -07:00
hash_test.cc Release 1.18 2014-09-16 14:19:52 -07:00
hash.cc Release 1.18 2014-09-16 14:19:52 -07:00
hash.h Remove extern from function declarations. 2018-03-12 09:24:48 -07:00
histogram.cc A number of fixes: 2011-10-31 17:22:06 +00:00
histogram.h A number of fixes: 2011-10-31 17:22:06 +00:00
logging_test.cc Add tests for ConsumeDecimalNumber. 2018-04-13 15:36:55 -07:00
logging.cc Add forgotten <limits> header to util/logging.cc. 2018-04-13 16:21:07 -07:00
logging.h Remove extern from function declarations. 2018-03-12 09:24:48 -07:00
mutexlock.h Update to leveldb 1.6 2012-10-12 11:53:12 -07:00
options.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
posix_logger.h Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
random.h LevelDB 1.13 2013-08-21 11:12:47 -07:00
status_test.cc Add move constructor to Status. 2018-04-23 16:22:30 -07:00
status.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
testharness.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
testharness.h Fix includes in util/testharness.h. 2018-03-16 10:31:48 -07:00
testutil.cc Remove extern from function declarations. 2018-03-12 09:24:48 -07:00
testutil.h Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00