Haxl/tests
Dylan Yudaken 14ebbe2c85 Add tracking of Fetch Stats for the same batch (#111)
Summary:
Pull Request resolved: https://github.com/facebook/Haxl/pull/111

Right now BackgroundFetches produce multiple FetchStats for the same batch, but it is not possible to link these together to get an idea of how big the batch was.
This introduces a field to FetchStats that can be used to link batches together as well as a utility method to do this in a default manner

Reviewed By: watashi

Differential Revision: D19469048

fbshipit-source-id: fce687c49ac4cbdc7cbd6804f37b6f120d7efad3
2020-01-22 04:25:34 -08:00
..
AdoTests.hs get rid of num_rounds 2018-07-25 09:21:34 -07:00
AllTests.hs Add tracking of Fetch Stats for the same batch (#111) 2020-01-22 04:25:34 -08:00
BadDataSource.hs add backgroundFetchAcquireRelease (#107) 2020-01-15 08:13:16 -08:00
BatchTests.hs get rid of num_rounds 2018-07-25 09:21:34 -07:00
Bench.hs Switch to use BasicHashTable for Haxl DataCache 2020-01-10 14:37:38 -08:00
CoreTests.hs Add writes to IORef in Env 2019-04-10 09:48:57 -07:00
DataCacheTest.hs Switch to use BasicHashTable for Haxl DataCache 2020-01-10 14:37:38 -08:00
ExampleDataSource.hs Add writes to IORef in Env 2019-04-10 09:48:57 -07:00
FBMain.hs Haxl 2 2017-10-03 00:28:54 -07:00
FullyAsyncTest.hs Expose andThen to perform computations sequentially 2019-07-26 13:56:05 -07:00
LoadCache.hs Change license to plain BSD3 2017-12-08 04:33:35 -08:00
LoadCache.txt Add writes to IORef in Env 2019-04-10 09:48:57 -07:00
MemoizationTests.hs move minimum supported version to GHC 8.2 2020-01-10 01:32:54 -08:00
MockTAO.hs Remove FutureFetch from Haxl (#109) 2020-01-16 08:40:22 -08:00
MonadBench.hs Expose andThen to perform computations sequentially 2019-07-26 13:56:05 -07:00
OutgoneFetchesTests.hs Improve outgoneFetchesTest 2019-07-26 13:56:05 -07:00
ParallelTests.hs Make ParallelTests work with MonadFailProposal (#105) 2019-11-29 09:28:32 -08:00
ProfileTests.hs Correctly account for allocation done in child threads 2018-01-10 08:51:53 -08:00
SleepDataSource.hs Add correctness tests for outgone-fetches logging (#99) 2019-05-09 06:46:56 -07:00
StatsTests.hs Add tracking of Fetch Stats for the same batch (#111) 2020-01-22 04:25:34 -08:00
TestBadDataSource.hs Fix flaky datasource test (#110) 2020-01-17 14:46:59 -08:00
TestExampleDataSource.hs Change license to plain BSD3 2017-12-08 04:33:35 -08:00
TestMain.hs Change license to plain BSD3 2017-12-08 04:33:35 -08:00
TestTypes.hs Fix haxl core tests 2019-04-10 09:48:57 -07:00
TestUtils.hs Fix haxl core tests 2019-04-10 09:48:57 -07:00
WorkDataSource.hs Add writes to IORef in Env 2019-04-10 09:48:57 -07:00
WriteTests.hs move minimum supported version to GHC 8.2 2020-01-10 01:32:54 -08:00