Created
March 18, 2015 02:18
-
-
Save yorkie/931cf50a12815e2b5e3d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tls = require('tls'); | |
var start = Date.now(); | |
function connect() { | |
tls.connect({host:'imap.gmail.com', port:993} , function() { | |
console.log('connected', Date.now() - start); | |
}); | |
} | |
var max = 50 | |
for (var i=0; i<max; i++) | |
connect() |
kenhkan
commented
Mar 18, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment