Skip to content

PiusNyakoojo/server-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Benchmark tests on different server technologies

protobuff-websockets

A test to determine the performance characteristics of using protobuf.js compared to traditional json transmission over a websocket connection.

For the following message format and value:

{
  text: "hello world!"
}

A barebones node.js server:

  • sends ~23 bytes using plain JSON.stringify() encoding.
  • sends ~14 bytes using protobuf.js' .toBuffer() encoding.

About

Benchmarking server performance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published