Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move protocol code generators to liberty | Přemysl Eric Janouch | 2022-09-30 | 1 | -225/+0 |
| | | | | This part of the project is now more or less stable. | ||||
* | Clean up protocol code generators | Přemysl Eric Janouch | 2022-09-30 | 1 | -0/+2 |
| | |||||
* | xP: use the binary protocol for incoming events | Přemysl Eric Janouch | 2022-09-16 | 1 | -0/+223 |
And batch event messages together as much as possible. JSON has proven itself to be really slow (for example, encoding/json.Marshaler is a slow interface), and browsers have significant overhead per WS message. Commands are still sent as JSON, sending them in binary would be a laborious rewrite without measurable merits. The xP server now only prints debug output when requested, because that was another source of major slowdowns. |