-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
33 lines (33 loc) · 1.07 KB
/
package.json
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
{
"name": "websocket-vs-http",
"version": "1.0.0",
"description": "REST HTTP vs Websockets: A performance comparison",
"main": "index.js",
"scripts": {
"benchmark": "npm run autocannon && npm run websocket-bench",
"autocannon": "time autocannon -l -H \"Content-Type=application/json\" -a 10000 -c 100 http://localhost:3030/messages/test",
"websocket-bench": "time websocket-bench -a 100 -m 100 -c 100 -g lib/websocket-bench.js http://localhost:3030",
"start": "node lib/app",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/daffl/websocket-vs-http.git"
},
"keywords": [],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/daffl/websocket-vs-http/issues"
},
"homepage": "https://github.com/daffl/websocket-vs-http#readme",
"dependencies": {
"@feathersjs/express": "^1.1.2",
"@feathersjs/feathers": "^3.0.5",
"@feathersjs/socketio": "^3.0.2"
},
"devDependencies": {
"autocannon": "^0.16.5",
"websocket-bench": "^0.2.0"
}
}