JavaScript speed comparison: Serverside vs Clientside

A5e1688390feaaa879805a8b39c32194
0
Schoening 101 Oct 29, 2012 at 22:17

Hey, I made a quick test to compare Clientside JavaScript against nodeJS server JavaScript.

All it does is Loop a Variable X amount of times defined by you before it send it back.

I have to have the server online to test the second demo. So once the topic is no longer front page, Ill close it down.
(Green Sprite = Online, Red Spite = Offline)

Clientside:

http://dl.dropbox.co…3/LoopTest.html

Serverside:

http://dl.dropbox.co…ket1/index.html

Sorry that the server has no Timer. But I am very tired \^\^ server is located in Denmark at my house. With 2mb upload speed. Should be enough to send a string :D.

Enjoy

1 Reply

Please log in or register to post a reply.

A5e1688390feaaa879805a8b39c32194
0
Schoening 101 Oct 29, 2012 at 22:28

Since it is a For Loop. Several people sending large numbers could affect the process drastically I suppose.