Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2818

Optimise encoding of GSON elements into HTTP client buffers

    Details

      Description

      Profiler data shows that we're being overwhelmed by buffer resizing needs of the various StringBuilder instances needed to build the JSON requests.

      In particular the method org.hibernate.search.elasticsearch.util.impl.ElasticsearchClientUtils.toEntity(Gson, ElasticsearchRequest) seems very intensive, but can be optimised.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                sanne Sanne Grinovero
                Reporter:
                sanne Sanne Grinovero
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: