Siying Dong
33042669f6
Reduce malloc of iterators in Get() code paths
...
Summary:
This patch optimized Get() code paths by avoiding malloc of iterators. Iterator creation is moved to mem table rep implementations, where a callback is called when any key is found. This is the same practice as what we do in (SST) table readers.
db_bench result for readrandom following a writeseq, with no compression, single thread and tmpfs, we see throughput improved to 144958 from 139027, about 3%.
Test Plan: make all check
Reviewers: dhruba, haobo, igor
Reviewed By: haobo
CC: leveldb, yhchiang
Differential Revision: https://reviews.facebook.net/D14685
2014-02-11 10:32:51 -08:00
..
2014-02-03 19:51:20 -08:00
2014-02-03 12:19:30 -08:00
2013-12-10 10:48:35 +02:00
2013-12-31 15:14:18 -08:00
2014-02-03 10:25:37 -08:00
2014-01-24 14:57:04 -08:00
2014-01-22 10:55:16 -08:00
2014-01-22 10:55:16 -08:00
2014-01-31 17:16:38 -08:00
2014-02-08 14:15:51 -08:00
2014-01-15 16:18:04 -08:00
2014-02-03 13:13:36 -08:00
2014-01-23 16:41:46 -08:00
2014-02-10 20:15:09 -08:00
2014-02-05 21:21:00 -08:00
2014-02-03 12:19:30 -08:00
2013-10-16 17:48:41 -07:00
2014-01-15 16:18:04 -08:00
2014-02-08 14:15:51 -08:00
2013-10-16 17:48:41 -07:00
2014-02-03 12:19:30 -08:00
2014-02-03 12:19:30 -08:00
2013-11-15 16:30:23 -08:00
2013-10-16 17:48:41 -07:00
2013-10-25 08:32:14 -07:00
2013-10-25 08:32:14 -07:00
2014-01-29 20:40:41 -08:00
2014-01-29 20:40:41 -08:00
2014-01-02 16:32:31 -08:00
2014-01-27 14:49:10 -08:00
2014-01-27 14:49:10 -08:00
2014-01-27 14:49:10 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-01-28 10:35:55 -08:00
2014-01-28 10:35:55 -08:00
2014-02-11 10:32:51 -08:00
2014-02-11 10:32:51 -08:00
2013-12-11 11:37:28 -08:00
2014-01-17 12:46:06 -08:00
2013-11-25 10:38:15 -08:00
2013-10-16 17:48:41 -07:00
2014-01-11 09:25:47 -08:00
2013-12-06 14:15:42 -08:00
2014-02-03 00:30:43 -08:00
2014-01-24 17:16:22 -08:00
2014-01-10 12:12:28 -08:00
2014-02-03 12:19:30 -08:00
2014-02-07 19:26:49 -08:00
2014-01-30 22:10:10 -08:00
2014-02-11 10:32:51 -08:00
2013-10-16 17:48:41 -07:00
2014-02-03 12:19:30 -08:00
2014-02-03 19:51:20 -08:00
2014-02-07 19:26:49 -08:00
2013-12-05 16:34:16 -08:00
2013-12-05 16:34:16 -08:00
2014-01-24 17:16:22 -08:00
2014-01-23 16:26:08 -08:00
2013-11-12 21:05:39 -08:00
2013-11-04 20:49:03 -08:00
2014-01-16 14:06:53 -08:00
2014-01-16 14:31:18 -08:00
2014-01-16 14:31:18 -08:00
2013-10-16 17:48:41 -07:00
2014-02-05 21:21:00 -08:00
2014-02-11 10:32:51 -08:00
2013-10-31 11:27:12 -07:00
2014-02-03 12:19:30 -08:00
2014-01-23 16:32:49 -08:00