Add create-move-invoke benchmark for folly::Function
authorAndrii Grynenko <andrii@fb.com>
Thu, 31 Mar 2016 17:31:15 +0000 (10:31 -0700)
committerFacebook Github Bot 9 <facebook-github-bot-9-bot@fb.com>
Thu, 31 Mar 2016 17:35:19 +0000 (10:35 -0700)
commit7f38b123246acccf552a8150992883cbcc21ba29
tree490e291e69806d9f731eddfb3c30f52ea4d8d4e3
parente3774034e9e2e77d1f92a4b8ea00776b0daeb899
Add create-move-invoke benchmark for folly::Function

Summary: Adding a benchmark for one the most common scenarios (used in Futures, EventBase, fibers etc).

Reviewed By: yfeldblum

Differential Revision: D3106365

fb-gh-sync-id: 8cb55959b3803e8836ab5a5bdf43fdfc1db02d4c
fbshipit-source-id: 8cb55959b3803e8836ab5a5bdf43fdfc1db02d4c
folly/test/function_benchmark/main.cpp
folly/test/function_benchmark/test_functions.cpp
folly/test/function_benchmark/test_functions.h