This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def scanSizeTest(client: AmazonDynamoDBClient, tableName: String) = { | |
val recordCount = 100 | |
var recordSize = 10 | |
populateTable(client, tableName, recordCount, recordSize) | |
print(s"For batchGet of $recordCount count of $recordSize byte records (${recordCount * recordSize} bytes), used ${batchGetTable(client, tableName, recordCount)} units\n") | |
print(s"For scan of $recordCount count of $recordSize byte records (${recordCount * recordSize} bytes), used ${scanTable(client, tableName)} units\n") |