-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 2.15 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "lambda-throttling",
"version": "1.0.0",
"description": "Tool to test and document AWS Lambda function throttling behavior",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "ts-node src/cdk/build.ts",
"cdk": "cdk",
"deploy": "ts-node src/cdk/deploy.ts",
"test-throttling": "ts-node src/test-throttling.ts",
"test-throttling:128": "ts-node src/test-throttling.ts --memory=128 --duration=5000",
"test-throttling:256": "ts-node src/test-throttling.ts --memory=256 --duration=5000",
"test-throttling:512": "ts-node src/test-throttling.ts --memory=512 --duration=5000",
"test-throttling:1024": "ts-node src/test-throttling.ts --memory=1024 --duration=5000",
"test-throttling:1769": "ts-node src/test-throttling.ts --memory=1769 --duration=5000",
"test-throttling:long": "ts-node src/test-throttling.ts --duration=15000",
"test-throttling:intense": "ts-node src/test-throttling.ts --dataSize=500",
"test-throttling:extreme": "ts-node src/test-throttling.ts --dataSize=1000",
"test-throttling:calibration": "ts-node src/test-throttling.ts --skipCalibration=false",
"test-adaptive": "ts-node src/test-adaptive-throttling.ts",
"visualize": "ts-node --transpile-only src/visualize-results.ts",
"visualize:adaptive": "ts-node --transpile-only src/visualize-adaptive-results.ts",
"update-docs": "mkdir -p docs && cp charts/throttling-analysis-*.html docs/ && cp charts/adaptive-throttling-analysis-*.html docs/",
"run-all": "npm run deploy && npm run test-throttling && npm run visualize && npm run update-docs",
"run-adaptive": "npm run deploy && npm run test-adaptive && npm run visualize:adaptive && npm run update-docs"
},
"keywords": [
"aws",
"lambda",
"throttling"
],
"author": "",
"license": "MIT",
"dependencies": {
"@aws-sdk/client-lambda": "^3.515.0",
"@aws-sdk/client-cloudwatch": "^3.515.0"
},
"devDependencies": {
"typescript": "^5.3.3",
"ts-node": "^10.9.2",
"@types/node": "^20.11.5",
"aws-cdk": "^2.123.0",
"aws-cdk-lib": "^2.123.0",
"constructs": "^10.3.0",
"esbuild": "^0.19.11"
}
}