Skip to content

Commit 5135eb0

Browse files
committed
Increase consistency of Kotlin impl
1 parent ab70bfe commit 5135eb0

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

serverless-compare-langs/kotlin/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ gradle shadowJar
3636
Deploy the demo to your AWS account using [AWS CDK](https://aws.amazon.com/cdk/).
3737

3838
```bash
39+
cd infrastructure
3940
cdk deploy
4041
```
4142

serverless-compare-langs/kotlin/load-test/load-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ config:
22
target: "{{ $processEnvironment.API_URL }}"
33
processor: "generator.js"
44
phases:
5-
- duration: 600
6-
arrivalRate: 300
5+
- duration: 30
6+
rampTo: 50
7+
- duration: 300
8+
arrivalRate: 100
79

810
scenarios:
911
- name: "Generate products"

serverless-compare-langs/kotlin/load-test/run-load-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
STACK_NAME=ServerlessKotlinDemo
1+
STACK_NAME=serverless-kotlin-demo
22

33
API_URL=$(aws cloudformation describe-stacks --stack-name $STACK_NAME \
44
--query 'Stacks[0].Outputs[?OutputKey==`KotlinApiUrl`].OutputValue' \

0 commit comments

Comments
 (0)