netty5/microbench/src/main
Nikolay Fedorovskikh aa38b6a769 Prevent unnecessary allocations in the StringUtil#escapeCsv
Motivation:

A `StringUtil#escapeCsv` creates new `StringBuilder` on each value even if the same string is returned in the end.

Modifications:

Create new `StringBuilder` only if it really needed. Otherwise, return the original string (or just trimmed substring).

Result:

Less GC load. Up to 4x faster work for not changed strings.
2017-06-13 14:57:38 -07:00
..
java/io/netty Prevent unnecessary allocations in the StringUtil#escapeCsv 2017-06-13 14:57:38 -07:00
resources Add benchmarks for SSLEngine implementations 2017-02-24 08:02:10 +01:00