Fibers allocation/deallocation benchmarks
authorJon Maltiel Swenson <jmswen@fb.com>
Fri, 23 Oct 2015 21:44:22 +0000 (14:44 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Fri, 23 Oct 2015 22:20:19 +0000 (15:20 -0700)
commitbc857f03fc85a34e84ae8fcdf2d910259940f711
treea502a5ebd258d0da296a0ffec51944a7756712be
parenta3bfe5b0fb2be9b21acd75c7d9fe825d248b105f
Fibers allocation/deallocation benchmarks

Summary: Add a couple benchmarks measuring allocation/deallocation latency.  One benchmark measures an allocate-deallocate repeated pattern, the other measures the allocation of a large chunk of fibers.

We'll use these benchmarks later on after we modify the allocation/deallocation behavior of fibers.

Reviewed By: pavlo-fb

Differential Revision: D2573064

fb-gh-sync-id: 414eb93d6223e42c187c03214a47dfb533491bab
folly/experimental/fibers/test/FibersTest.cpp