Skip to content

Commit 347178c

Browse files
committed
Minor changes
1 parent 77789dc commit 347178c

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

package-lock.json

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"superagent-client": "babel-node src/clients/http/superagent_client.js",
1010
"socketio-client": "babel-node src/clients/ws/socketio_client.js",
1111
"websocket-client": "babel-node src/clients/ws/websocket_client.js",
12-
"ws-client": "babel-node src/clients/ws/ws_client.js"
12+
"ws-client": "babel-node src/clients/ws/ws_client.js",
13+
"stomp-client": "babel-node src/clients/ws/stomp_client.js"
1314
},
1415
"repository": {
1516
"type": "git",
@@ -22,9 +23,8 @@
2223
},
2324
"homepage": "https://github.com/jscriptcoder/HTTP-vs-WebSockets-performance#readme",
2425
"dependencies": {
25-
"@stomp/stompjs": "^5.4.4",
2626
"axios": "^0.20.0",
27-
"chalk": "^4.1.0",
27+
"chalk": "^4.1.0",
2828
"node-fetch": "^2.6.1",
2929
"socket.io-client": "^2.3.0",
3030
"superagent": "^6.1.0",

src/clients/ws/stomp_client.js

Whitespace-only changes.

src/clients/ws/websocket_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import PerformanceTimer from '../PerformanceTimer'
66
import { Deferred, createRequester, randomName } from '../utils'
77

88
async function runTest() {
9-
console.log(`websocket client connecting to ws://${host}:${port}/greeting`)
9+
console.log(`websocket client connecting to ws://${host}:${port}`)
1010

1111
const timer = new PerformanceTimer()
1212
const connect = new Deferred()

src/clients/ws/ws_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import PerformanceTimer from '../PerformanceTimer'
66
import { Deferred, createRequester, randomName } from '../utils'
77

88
async function runTest() {
9-
console.log(`ws client connecting to ws://${host}:${port}/greeting`)
9+
console.log(`ws client connecting to ws://${host}:${port}`)
1010

1111
const timer = new PerformanceTimer()
1212
const connect = new Deferred()

0 commit comments

Comments
 (0)