Igor Canadi 4e91f27c3a Fix performance regression in statistics
Summary:
For some reason, D15099 caused a big performance regression: https://fburl.com/16059000

After digging a bit, I figured out that the reason was that std::atomic_uint_fast64_t was allocated in an array. When I switched from an array to vector, the QPS returned to the previous level. I'm not sure why this is happening, but this diff seems to fix the performance regression.

Test Plan: I ran the regression script, observed the performance going back to normal

Reviewers: tnovak, kailiu, haobo

Reviewed By: kailiu

CC: leveldb

Differential Revision: https://reviews.facebook.net/D15375
2014-01-23 16:11:55 -08:00
..
2014-01-10 17:56:35 +08:00
2014-01-06 11:11:19 -08:00
2013-10-23 14:38:52 -07:00
2013-11-16 11:21:34 +00:00
2013-12-11 08:33:29 -08:00
2013-12-09 14:06:52 -08:00
2013-12-09 14:06:52 -08:00
2013-12-11 11:18:00 -08:00
2013-11-07 11:31:56 -08:00
2014-01-17 12:46:06 -08:00
2014-01-17 12:46:06 -08:00
2013-12-03 12:42:15 -08:00
2014-01-17 12:46:06 -08:00