Skip to content

Commit 3298dc7

Browse files
authored
Merge pull request #3 from htemelski/4.7-exp-clean
Added node-redis benchmark using [email protected]
2 parents c810ca6 + 056395e commit 3298dc7

File tree

17 files changed

+2831
-160
lines changed

17 files changed

+2831
-160
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ pubsub-sub-bench
8383
ehthumbs.db
8484
Thumbs.db
8585

86-
package-lock.json
8786

8887
# Coverage Results #
8988
####################
@@ -92,4 +91,4 @@ coverage.txt
9291
# Profiler Results #
9392
####################
9493
*.pprof
95-
/js/node-redis/node_modules/
94+
/out/*

js/ioredis/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ yarn-error.log*
99
*.out
1010
*.tmp
1111
*.pid
12-
*.json
1312

1413
# OS junk
1514
.DS_Store

js/ioredis/lib/redisManager.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,6 @@ async function runBenchmark(argv) {
211211
console.log(`Reconnect interval for ${subscriberName}: ${reconnectInterval}ms`);
212212
}
213213

214-
if (clientId % 100 === 0 || clientId === argv.clients) {
215-
console.log(`${subscriberName} subscribing to ${channels.length} channels.`);
216-
}
217-
218214
promises.push(
219215
subscriberRoutine(
220216
subscriberName,

js/ioredis/lib/subscriber.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
function safeBigIntUs() {
2-
return Date.now();
3-
}
4-
51
async function subscriberRoutine(
62
clientName,
73
mode,

0 commit comments

Comments
 (0)