hsbencher-fusion 0.2 → 0.3
raw patch · 3 files changed
+22/−9 lines, 3 files
Files
HSBencher/Backend/Fusion.hs view
@@ -241,11 +241,13 @@ -- | A representaton used for creating tables. Must be isomorphic to--- `BenchmarkResult`. This could perhaps be generated automatically.+-- `BenchmarkResult`. This could perhaps be generated automatically+-- (e.g. from a Generic instance, or even by creating a default+-- benchmarkResult and feeding it to resultToTuple). -- -- Note, order is important here, because this is the preferred order we'd like to -- have it in the Fusion table.- +-- fusionSchema :: [(String, CellType)] fusionSchema = [ ("PROGNAME",STRING)@@ -255,10 +257,11 @@ , ("MINTIME", NUMBER) , ("MEDIANTIME", NUMBER) , ("MAXTIME", NUMBER)+ , ("THREADS",NUMBER)+ , ("RETRIES",NUMBER) -- The run is identified by hostname_secondsSinceEpoch: , ("RUNID",STRING) , ("CI_BUILD_ID",STRING) - , ("THREADS",NUMBER) , ("DATETIME",DATETIME) , ("MINTIME_PRODUCTIVITY", NUMBER) , ("MEDIANTIME_PRODUCTIVITY", NUMBER)@@ -288,6 +291,9 @@ -- New field: [2014.02.19] , ("ALLJITTIMES", STRING) -- In order of trials like ALLTIMES. ]++-- FIMXE: at least test that resultToTuple returns lits the same+-- length as fusionSchema. benchmarkResultToSchema bm = fusionSchema ++ map custom (_CUSTOM bm)
HSBencher/Internal/Fusion.hs view
@@ -181,6 +181,7 @@ retryIORequest action retryHook $ [1,2,4,4,4,4,4,4,8,16] --- 32,64, ++ replicate 30 5+ ++ replicate 10 10 -- Adding this. Still failing a few on Google API's [2014.10.15] retryIORequest :: IO a -> (Int -> HttpException -> IO ()) -> [Double] -> IO (Maybe a)
hsbencher-fusion.cabal view
@@ -2,13 +2,19 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: hsbencher-fusion-version: 0.2+version: 0.3 synopsis: Backend for uploading benchmark data to Google Fusion Tables.-description: Google Fusion tables are a type of Google Doc that resembles a- SQL database more than a spreadsheet. They have a web - interface and permissions model similar to toher google docs.- More information can be found at:- https://support.google.com/fusiontables/answer/2571232?hl=en+description:+ Google Fusion tables are a type of Google Doc that resembles a+ SQL database more than a spreadsheet. They have a web + interface and permissions model similar to toher google docs.+ More information can be found at:+ <https://support.google.com/fusiontables/answer/2571232?hl=en>+ . + ChangeLog:+ .+ * (0.3) Added RETRIES field to the core schema.+ license: BSD3 license-file: LICENSE