Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zslucky/ws-pb-benchmark
- Owner: zslucky
- Created: 2020-07-06T03:15:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-27T12:34:16.000Z (about 1 year ago)
- Last Synced: 2024-03-02T02:36:59.828Z (9 months ago)
- Language: JavaScript
- Homepage: https://zslucky.github.io/ws-pb-benchmark/dist/index.html
- Size: 1.24 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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