Closed tootedom closed 10 years ago
Yes, allowing for a sizeHint
is definitely a good idea.
Thanks!
Increasing the default value would probably also make sense.
Increasing the default value would probably also make sense.
Yes, indeed. Maybe 256 or 512?
Hi there,
Is it possible to allow for the specification of the size of the buffer used by the CompactPrinter and the PrettyPrinter. I noticed that the default size of 16chars is used, which causes a larger number of expansions to occur, increasing the amount memory allocations and TLAB pressure:
Here is an screen shot for a load test run of the default 16 chars
Here's the same execution, but being allowed to specify the size of the internal buffer:
Maybe there's another way to address the sizing of the internal buffer. But I thought I'd highlight the expandCapacity impact.
thanks /dom