sapling/eden/mononoke/common
Mark Juggurnauth-Thomas 33ec4db653 bounded_traversal: require futures to be boxed
Summary:
Bounded traversal's internal book-keeping moves the futures returned from fold and unfold callbacks around while they are being queued to be scheduled.  If these futures are large, then this can result in a significant portion of bounded traversal's CPU time being spent on `memcpy`ing these futures around.

This can be prevented by always boxing the futures that are returned to bounded traversal.  Make this a requirement by changing the type from `impl Future<...>` to `BoxFuture<...>`.

Reviewed By: mitrandir77

Differential Revision: D26997706

fbshipit-source-id: 23a3583adc23c4e7d3607a78e82fc9d1056691c3
2021-03-12 08:12:57 -08:00
..
allocation_tracing third-party/rust: update futures 2021-03-04 06:42:55 -08:00
async_limiter mononoke: update async_limiter to tokio_shim 2021-03-10 11:01:28 -08:00
bounded_traversal bounded_traversal: require futures to be boxed 2021-03-12 08:12:57 -08:00
copy_utils mononoke_types: use SortedVectorMap for BonsaiChangeset 2021-03-11 04:28:43 -08:00
dedupmap autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
futures_watchdog third-party/rust: update futures 2021-03-04 06:42:55 -08:00
iterhelpers autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
rust vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
scribe_ext autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
scuba_ext autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
sql_construct vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
topo_sort autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
type_map autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
uniqueheap autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00