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

SOLR-15561: Write escaped strings in JsonTextWriter to a StringBuilder before the writer. #387

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

markrmiller
Copy link
Member

@markrmiller markrmiller commented Nov 3, 2021

@markrmiller markrmiller marked this pull request as ready for review November 9, 2021 08:40
@risdenk
Copy link
Contributor

risdenk commented Oct 15, 2022

This seems like a reasonable change. I merged main to this branch and PR is ready to review.

@dsmiley
Copy link
Contributor

dsmiley commented Oct 15, 2022

I dunno... if a benchmark shows its faster then cool but I think it's dubious -- probably a needless level of buffering on something that likely already has a buffer.

Copy link
Contributor

@epugh epugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does feel like an example where some benchmarks would be nice... As @dsmiley suggested, maybe good, maybe not....

Copy link
Member Author

@markrmiller markrmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the very few performance performance improvements I could find in Yonik's code. Of course he had already left a comment about the possibility, which I didn't notice until after working through it.

@HoustonPutman
Copy link
Contributor

@markrmiller did you find this when profiling something?

@markrmiller
Copy link
Member Author

Yeah, Yonik has some really heavy json faceting tests that are easy to look at. Some rare honest tests - far from quick, doing a lot of legitimate work, not bogarting the hardware. One of a small set of tests that really demand a useable @nightly test run. No fat, thorough and comprehensive. An example of tests that should legitimately kick off work to sensible @nightly vs the ones that do so as a workaround.

@risdenk risdenk removed their assignment Mar 24, 2023
Copy link

This PR had no visible activity in the past 60 days, labeling it as stale. Any new activity will remove the stale label. To attract more reviewers, please tag someone or notify the dev@solr.apache.org mailing list. Thank you for your contribution!

@github-actions github-actions bot added the stale PR not updated in 60 days label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR not updated in 60 days
Projects
None yet
5 participants