Hi,
I spent some time today testing both 1.19 and 1.20-SNAPSHOT (09b3c58) versions and
I can confirm that the performance are worse in our use case than with version 1.17.
We use snakeyaml through the Jackson library to parse large base64 encoded text in our
tests. The test that helps us to spot the performance issue in 1.18 is [1].
It's a REST API test that is parsed using jackson+snakeyaml in order to test HTTP requests.
It's possible that a simple unit test that parses a large text value would spot the performance
regression too. I'm a bit concerned as all our REST tests (and there are a lot!) are based on
YAML, and this regression could potentially affect all the performance of the execution of the
test suite.
It seems that the modified portion of the code is used whenever a string value is parsed, am
I right?
Thanks,
-- Tanguy
[1]
https://raw.githubusercontent.com/elastic/elasticsearch/master/plugins/ingest-attachment/src/test/resources/rest-api-spec/test/ingest_attachment/30_files_supported.yml