public void SetupMixedBenchmark() { _responseContentBytes = UpdateItemResponseFactory.CreateResponse(EntitiesFactory.CreateMixedEntity(1).ToDocument()); _describeTableBytes = DescribeTableResponseFactory.CreateResponse(); }
public async Task EfficientDynamoDbBenchmark() { await _efficientDbContext.SaveAsync(EntitiesFactory.CreateMixedEntity(0)).ConfigureAwait(false); }
public async Task AwsSdkNetBenchmark() { await _awsDbContext.SaveAsync(EntitiesFactory.CreateMixedEntity(0)).ConfigureAwait(false); }
public void Setup() { _documents = Enumerable.Range(0, EntitiesCount).Select(x => EntitiesFactory.CreateMixedEntity(x).ToDocument()).ToArray(); }
protected override Document CreateEntity(int index) => EntitiesFactory.CreateMixedEntity(index).ToDocument();
public void SetupMixedBenchmark() => SetupBenchmark <MixedEntity>(x => EntitiesFactory.CreateMixedEntity(x).ToDocument());