Haxl/tests
Simon Marlow b67f7f6370 Haxl 2
Summary:
This is a complete reworking of the way that Haxl schedules I/O.  The
main benefits are:

* Data fetches are no longer organised into rounds, but can be
  arbitrarily overlapped with each other and with computation.  The
  scheduler supports an arbitrary queue of work items which it can
  evaluate while data-fetching is taking place in the background.  To
  take advantage of this, data sources must implement a new form of
  `PerformFetch`, namely `BackgroundFetch`.  The old forms of
  `PerformFetch` are still supported, but won't benefit from any
  additional concurrency.

* It is now possible to specify on a per-data-source basis whether
  fetching should be optimised for batching or for latency.  A request
  to a data source that doesn't benefit from batching can be submitted
  immediately.  This is done with the new `schedulerHint` method of
  `DataSource`.

Reviewed By: niteria

Differential Revision: D4938005

fbshipit-source-id: 96f12ad05ee62d62474ee4cc1215f19d0a6fcdf3
2017-10-03 00:28:54 -07:00
..
AdoTests.hs Haxl 2 2017-10-03 00:28:54 -07:00
AllTests.hs Haxl 2 2017-10-03 00:28:54 -07:00
BadDataSource.hs Handle exceptions correctly in async datasources 2017-04-19 12:27:42 -07:00
BatchTests.hs Haxl 2 2017-10-03 00:28:54 -07:00
Bench.hs Haxl 2 2017-10-03 00:28:54 -07:00
CoreTests.hs Haxl 2 2017-10-03 00:28:54 -07:00
DataCacheTest.hs Haxl 2 2017-10-03 00:28:54 -07:00
ExampleDataSource.hs Haxl 2 2017-10-03 00:28:54 -07:00
FBMain.hs Haxl 2 2017-10-03 00:28:54 -07:00
FullyAsyncTest.hs Haxl 2 2017-10-03 00:28:54 -07:00
LoadCache.hs Initial open source import 2014-06-10 02:47:59 -07:00
LoadCache.txt Initial open source import 2014-06-10 02:47:59 -07:00
MemoizationTests.hs Import Control.Applicative in MemoizationTests for GHC < 7.10 2016-08-02 20:16:33 -07:00
MockTAO.hs Haxl 2 2017-10-03 00:28:54 -07:00
MonadBench.hs Haxl 2 2017-10-03 00:28:54 -07:00
ProfileTests.hs Haxl 2 2017-10-03 00:28:54 -07:00
SleepDataSource.hs Haxl 2 2017-10-03 00:28:54 -07:00
TestBadDataSource.hs Handle exceptions correctly in async datasources 2017-04-19 12:27:42 -07:00
TestExampleDataSource.hs Haxl 2 2017-10-03 00:28:54 -07:00
TestMain.hs Unbreak cabal test 2016-06-04 15:31:43 -07:00
TestTypes.hs Add (de)serialization functions to most datasources 2016-05-31 01:20:38 -07:00
TestUtils.hs Haxl 2 2017-10-03 00:28:54 -07:00