Optimise encoding of GSON elements into HTTP client buffers

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

2

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

Created July 11, 2017 at 11:02 PM
Updated September 8, 2017 at 2:20 PM
Resolved August 11, 2017 at 12:58 PM