Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yajl: output json in larger chunks #380

Merged
merged 3 commits into from
Apr 2, 2024
Merged

Conversation

mmd-osm
Copy link
Collaborator

@mmd-osm mmd-osm commented Apr 1, 2024

Previously, wrap_write function was called frequently for small amounts of data. This resulted in FCGX_PutStr or some compression function showing up at the top of the perf trace. With this change in place, we're leveraging the YAJL internal buffer, and only output data once a certain threshold value is reached.

@mmd-osm mmd-osm merged commit 77e31a2 into zerebubuth:master Apr 2, 2024
6 checks passed
@mmd-osm mmd-osm added this to the v0.9.1 milestone Apr 5, 2024
@mmd-osm mmd-osm deleted the patch/yajlp1 branch July 13, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant