Hello,
>> Sorry, I sent a wrong version of the patch, contains some spelling
>> errors. This is the right one.
>
> Sigh.. I fixed some more wordings.
I have submitted a patch which reworks how things are computed so that
performance figures make some/more sense, among other things.
Maybe you could have a look at it and tell whether it is an improvement
wrt your issue?
https://commitfest.postgresql.org/29/2557/
--
Fabien.