Lei Jin
4824014e3b
speed up db_bench filluniquerandom mode
...
Summary:
filluniquerandom is painfully slow due to the naive bitmap check to find
out if a key has been seen before. Majority of time is spent on searching
the last few keys. Split a giant BitSet to smaller ones so that we can
quickly check if a BitSet is full and thus can skip quickly.
It used to take over one hour to filluniquerandom for 100M keys, now it
takes about 10 mins.
Test Plan:
unit test
also verified correctness in db_bench and make sure all keys are
generated
Reviewers: igor, haobo, yhchiang
Reviewed By: igor
CC: leveldb, dhruba
Differential Revision: https://reviews.facebook.net/D17607
2014-04-09 11:25:21 -07:00
..
2014-03-24 17:57:13 -07:00
2014-02-03 12:19:30 -08:00
2014-04-03 10:47:37 +02:00
2014-04-03 10:47:37 +02:00
2014-04-09 09:56:17 -07:00
2014-04-07 14:31:02 -07:00
2014-04-07 14:31:02 -07:00
2014-04-07 11:31:11 -07:00
2014-03-12 09:56:53 -07:00
2014-03-19 17:22:20 -07:00
2014-02-12 14:01:30 -08:00
2014-03-26 18:11:41 -07:00
2014-04-09 11:25:21 -07:00
2014-04-07 14:31:02 -07:00
2014-04-09 09:56:17 -07:00
2014-02-12 13:47:09 -08:00
2014-04-09 09:56:17 -07:00
2014-04-07 15:03:15 -07:00
2014-04-08 10:58:07 -07:00
2013-10-16 17:48:41 -07:00
2014-02-12 13:47:09 -08:00
2014-04-09 09:56:17 -07:00
2013-10-16 17:48:41 -07:00
2014-04-08 10:58:07 -07:00
2014-04-07 19:06:09 -07: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-03-31 13:39:24 -07:00
2014-03-31 13:39:24 -07:00
2014-01-02 16:32:31 -08:00
2014-02-28 13:19:47 -08:00
2014-01-27 14:49:10 -08:00
2014-03-14 22:44:35 +00:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-04-07 11:31:11 -07:00
2014-04-07 11:31:11 -07:00
2014-04-08 10:58:07 -07:00
2014-03-13 13:21:20 -07:00
2014-03-24 17:57:13 -07:00
2014-03-27 16:15:25 -07:00
2014-03-24 20:47:53 -07:00
2014-03-26 18:11:41 -07:00
2014-03-24 17:57:13 -07:00
2014-03-14 13:02:20 -07:00
2014-04-07 19:06:09 -07:00
2014-01-24 17:16:22 -08:00
2014-03-14 10:02:04 -07:00
2014-03-18 13:24:27 -07:00
2014-02-07 19:26:49 -08:00
2014-01-30 22:10:10 -08:00
2014-03-10 12:56:46 -07:00
2013-10-16 17:48:41 -07:00
2014-03-31 13:39:24 -07:00
2014-04-07 11:31:11 -07:00
2014-02-11 17:52:18 -08:00
2013-12-05 16:34:16 -08:00
2013-12-05 16:34:16 -08:00
2014-03-10 17:26:09 -07:00
2014-02-03 17:44:40 -08:00
2014-03-12 09:37:43 -07:00
2014-03-12 09:37:43 -07:00
2014-03-05 12:13:44 -08:00
2014-03-31 13:39:24 -07:00
2014-03-31 13:39:24 -07:00
2013-10-16 17:48:41 -07:00
2014-04-09 10:38:05 -07:00
2014-04-09 09:56:17 -07:00
2014-03-12 09:56:53 -07:00
2014-03-14 13:40:06 -07:00
2014-03-14 11:30:14 -07:00