Jump to content


JavaScript speed comparison: Serverside vs Clientside


1 reply to this topic

#1 Schoening

    Member

  • Members
  • PipPip
  • 17 posts

Posted 29 October 2012 - 10:17 PM

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

#2 Schoening

    Member

  • Members
  • PipPip
  • 17 posts

Posted 29 October 2012 - 10:28 PM

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users