Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zslucky/ws-pb-benchmark

websocket benchmark with json,pb,unconpressed-json
https://github.com/zslucky/ws-pb-benchmark

Last synced: 5 days ago
JSON representation

websocket benchmark with json,pb,unconpressed-json

Awesome Lists containing this project

README

        

# WS-PB
Websocket with PB demo and benchmark

## Demo
`Get Msg` button will trigger a 2 seconds interval stream from websocket. (Need wait 10s for data settled). [Demo Address](https://zslucky.github.io/ws-pb-benchmark/dist/index.html)

Run `node zlib-test` to compare compressed size.

## Tech
- Heroku
- Parcel
- Websocket
- protobufjs

## Develop
- `yarn server`: to start ws server
- path: `/pb` is for protobuf
- path: `/json` is for json
- `yarn dev`: to start browser