Skip to content

Significant slowdown with large payloads #45

@saviorand

Description

@saviorand

Issue raised by the author of https://github.com/alainrollejr/mocodes

Currently, the performance rapidly deteriorates with the increase in packet size and request/response payloads. Compared to Python frameworks like Flask, Lightbug seems to become slower the larger the size of content that's being sent over the network.

Describe the solution you'd like
Optimize performance by removing unnecessary allocations and string to byte conversions. Benchmark to make sure we can see the improvements

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions