Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sshaplygin/go-engine.io-parser
https://github.com/sshaplygin/go-engine.io-parser
engine-io-parser go go-socket-io-parser golang parser socket-io
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sshaplygin/go-engine.io-parser
- Owner: sshaplygin
- Created: 2020-02-06T21:38:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-18T01:47:48.000Z (over 2 years ago)
- Last Synced: 2024-04-22T14:52:50.718Z (9 months ago)
- Topics: engine-io-parser, go, go-socket-io-parser, golang, parser, socket-io
- Language: Go
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go-socket.io-parser
It is copied repository from - [url](https://github.com/googollee/go-engine.io)
## Documentation
Official documentation engine.io protocol - [url](https://github.com/socketio/engine.io-protocol)
## Gratitude
More thanks by [@googolle](https://www.github.com/googolle) for created and migrated engine.io-parser protocol to pure go.
## Benchmarks
### Machine properties:
```
Model Name: MacBook Pro
Model Identifier: MacBookPro14,1
Processor Name: Dual-Core Intel Core i7
Processor Speed: 2,5 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 4 MB
Hyper-Threading Technology: Enabled
Memory: 16 GB
```### Node.js
#### Encode
```
encode packet as string x 96,175 ops/sec ±58.02% (59 runs sampled)
encode packet as binary x 98,193 ops/sec ±9.07% (51 runs sampled)
encode payload as string x 68,634 ops/sec ±9.78% (48 runs sampled)
encode payload as binary x 47,832 ops/sec ±12.54% (47 runs sampled)
```#### Decode
```
decode packet from string x 26,802,947 ops/sec ±5.60% (74 runs sampled)
decode packet from binary x 5,813,963 ops/sec ±2.63% (84 runs sampled)
decode payload from string x 81,404 ops/sec ±11.06% (34 runs sampled)
decode payload from binary x 62,011 ops/sec ±36.14% (40 runs sampled)
```### Golang
#### Encode
```
```#### Decode
```
```