improve ThreadLocalBenchmark
authorDave Watson <davejwatson@fb.com>
Tue, 21 Nov 2017 15:34:15 +0000 (07:34 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 21 Nov 2017 15:37:24 +0000 (07:37 -0800)
commit65d63573f08eef7b847ebf38ec74d52a61d3b936
tree79831eb7a92f64fab85d22473c84083212ec7fe0
parent29b40639ed7b6b3c47f8c5bafe15265f8c484ef8
improve ThreadLocalBenchmark

Summary:
Benchmark appears to be memory bound, and is affected by different cpus.
Add a new benchmark that does more work.

Reviewed By: yfeldblum

Differential Revision: D6380904

fbshipit-source-id: 5cfbaab70379aa4a2923d957e1147d8486deeff7
folly/test/ThreadLocalBenchmark.cpp