aws-performance-tests-0.1.1: Performance Tests for the Haskell bindings for Amazon Web Services (AWS)

Stabilityexperimental
MaintainerLars Kuhtz <lars@alephcloud.com>
Safe HaskellNone

Aws.Test.DynamoDb.Utils

Contents

Description

Utils for testing the Haskell bindings for Amazon DynamoDb

Synopsis

Static Parameters

Static Configuration

DynamoDb Utils

withTableSource

Arguments

:: Text

table Name

-> Int

read capacity (#(non-consistent) reads * itemsize/4KB)

-> Int

write capacity (#writes * itemsize/1KB)

-> (Text -> IO a)

test action

-> IO a 

withTable_Source

Arguments

:: Bool

whether to prefix te table name

-> Text

table Name

-> Int

read capacity (#(non-consistent) reads * itemsize/4KB)

-> Int

write capacity (#writes * itemsize/1KB)

-> (Text -> IO a)

test action

-> IO a 

createTestTableSource

Arguments

:: Text

table Name

-> Int

read capacity (#(non-consistent) reads * itemsize/4KB)

-> Int

write capacity (#writes * itemsize/1KB)

-> IO ()