Safe Haskell | None |
---|---|
Language | Haskell2010 |
Model
Description
Database models
Since: 0.1.0
Synopsis
- data Benchmark = Benchmark {}
- type BenchmarkId = Key Benchmark
- data Test = Test {
- _testTime :: !UTCTime
- _testCommit :: !Text
- _testRepository :: !Text
- _testOwner :: !Text
- _testPullRequest :: !Text
- _testBenchmarks :: ![BenchmarkId]
- type TestId = Key Test
- migrateAll :: Migration
- benchmarkUnit :: forall f. Functor f => (Text -> f Text) -> Benchmark -> f Benchmark
- benchmarkSamples :: forall f. Functor f => (Int -> f Int) -> Benchmark -> f Benchmark
- benchmarkName :: forall f. Functor f => (Text -> f Text) -> Benchmark -> f Benchmark
- benchmarkDerivation :: forall f. Functor f => (Double -> f Double) -> Benchmark -> f Benchmark
- benchmarkAverage :: forall f. Functor f => (Double -> f Double) -> Benchmark -> f Benchmark
- testBenchmarks :: forall f. Functor f => ([BenchmarkId] -> f [BenchmarkId]) -> Test -> f Test
- testPullRequest :: forall f. Functor f => (Text -> f Text) -> Test -> f Test
- testOwner :: forall f. Functor f => (Text -> f Text) -> Test -> f Test
- testRepository :: forall f. Functor f => (Text -> f Text) -> Test -> f Test
- testCommit :: forall f. Functor f => (Text -> f Text) -> Test -> f Test
- testTime :: forall f. Functor f => (UTCTime -> f UTCTime) -> Test -> f Test
- type Benchmarks = [Benchmark]
- emptyBenchmark :: Benchmark
Documentation
Constructors
Benchmark | |
Fields
|
Instances
type BenchmarkId = Key Benchmark #
Constructors
Test | |
Fields
|
Instances
migrateAll :: Migration #
testBenchmarks :: forall f. Functor f => ([BenchmarkId] -> f [BenchmarkId]) -> Test -> f Test #
type Benchmarks = [Benchmark] #
Multiple Benchmarks
Get a new empty Benchmark instance