latency_results.txt 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. This data is raw copy from the latency tester set to send a frame with
  2. a little over 2000 KB of data every 10ms.
  3. The number of packets sent and received is just a visual counter and
  4. is just the total when I chose to stop the test (around 3000 or so
  5. packets).
  6. The latency measure are from the point the packet was sent to when it
  7. was received back again in milliseconds. One notable data point
  8. missing from this is how long it actually took for the client to send
  9. 3000 packets because sending large packets can put load on the browser
  10. and it may be a lot longer than 10ms before the timer event to
  11. send the next packet fires. So even with low latency numbers, the
  12. actual send rate may be fairly low because sending the WebSockets
  13. frames is impacting the performance of the browser in general.
  14. ------------------------------------------------------------
  15. Native WebSockets implementations, 2000 byte payload, 10ms delay
  16. Chrome 8.0.552 - native WebSockets
  17. Packets sent: 2998
  18. Packets Received: 2998
  19. Average Latency: 1.84
  20. 40 Frame Running Average Latency: 1.90
  21. Minimum Latency: 1.00
  22. Maximum Latency: 10.00
  23. firefox 4.0b9 - WebSockets enabled
  24. Packets sent: 3011
  25. Packets Received: 3011
  26. Average Latency: 6.45
  27. 40 Frame Running Average Latency: 6.08
  28. Minimum Latency: 5.00
  29. Maximum Latency: 119.00
  30. Opera 11 - WebSockets enabled
  31. Packets sent: 3065
  32. Packets Received: 3064
  33. Average Latency: 9.56
  34. 40 Frame Running Average Latency: 8.15
  35. Minimum Latency: 4.00
  36. Maximum Latency: 53.00
  37. ------------------------------------------------------------
  38. New web-socket-js (20f837425d4), 2000 byte payload, 10ms delay
  39. firefox 4.0b9 - no WebSockets
  40. Packets sent: 3088
  41. Packets Received: 3087
  42. Average Latency: 16.71
  43. 40 Frame Running Average Latency: 16.80
  44. Minimum Latency: 7.00
  45. Maximum Latency: 75.00
  46. - First 1000 sent in 13 seconds
  47. - Second 1000 sent in 12 seconds
  48. - Third 1000 sent in 12 seconds
  49. firefox 3.6.10 - no WebSockets
  50. Packets sent: 3100
  51. Packets Received: 3099
  52. Average Latency: 17.32
  53. 40 Frame Running Average Latency: 16.73
  54. Minimum Latency: 6.00
  55. Maximum Latency: 72.00
  56. Opera 11 - no WebSockets
  57. Packets sent: 3007
  58. Packets Received: 3007
  59. Average Latency: 465.91
  60. 40 Frame Running Average Latency: 147.95
  61. Minimum Latency: 12.00
  62. Maximum Latency: 9143.00
  63. - average starts at around 28ms
  64. - time for each 500 packets: 13s, 16s, 25s, 37s, 50s, 72s
  65. - also start seeing sent, receive lags around 1200 packets
  66. ---------------------------------------------------------------
  67. Old web-socket-js (9e7663771), 2000 byte payload, 10ms delay
  68. firefox 4.0b9 - no WebSockets
  69. Packets sent: 3024
  70. Packets Received: 3020
  71. Average Latency: 80.59
  72. 40 Frame Running Average Latency: 60.15
  73. Minimum Latency: 10.00
  74. Maximm Latency: 348.00
  75. firefox 3.6.10 - no WebSockets
  76. Packets sent: 2777
  77. Packets Received: 2775
  78. Average Latency: 34.89
  79. 40 Frame Running Average Latency: 24.50
  80. Minimum Latency: 10.00
  81. Maximum Latency: 208.00
  82. Opera 11 - no Websockets
  83. Packets sent: 3012
  84. Packets Received: 3011
  85. Average Latency: 380.87
  86. 40 Frame Running Average Latency: 341.90
  87. Minimum Latency: 28.00
  88. Maximum Latency: 2175.00
  89. - average starts at around 290ms
  90. - time for each 1000 packets: 23s, 38s, 65s