Safe Haskell | None |
---|
Code pertaining to Google Fusion Table upload. Built conditionally based on the -ffusion flag.
- data FusionConfig = FusionConfig {}
- stdRetry :: String -> OAuth2Client -> OAuth2Tokens -> IO a -> BenchM a
- getTableId :: OAuth2Client -> String -> BenchM TableId
- fusionSchema :: [(String, CellType)]
- resultToTuple :: BenchmarkResult -> [(String, String)]
- uploadBenchResult :: BenchmarkResult -> BenchM ()
Documentation
data FusionConfig Source
FusionConfig | |
|
stdRetry :: String -> OAuth2Client -> OAuth2Tokens -> IO a -> BenchM aSource
The standard retry behavior when receiving HTTP network errors.
getTableId :: OAuth2Client -> String -> BenchM TableIdSource
Get the table ID that has been cached on disk, or find the the table in the users Google Drive, or create a new table if needed.
fusionSchema :: [(String, CellType)]Source
A representaton used for creating tables. Must be isomorphic to
BenchmarkResult
. This could perhaps be generated automatically.
resultToTuple :: BenchmarkResult -> [(String, String)]Source
Convert the Haskell representation of a benchmark result into a tuple for Fusion table upload.
uploadBenchResult :: BenchmarkResult -> BenchM ()Source