[Tarantool-patches] [PATCH v4 2/2] misc: add C and Lua API for platform metrics

Igor Munkin imun at tarantool.org
Wed Oct 7 08:57:44 MSK 2020


Sorry, I forgot to finish the sentence below.

On 07.10.20, Igor Munkin wrote:
> Sergey,

<snipped>

> 
> > +  size_t strhash_hit;
> > +  /* Strings amount allocated and put into string hash. */
> 
> Well, does it mean this metric has the same value as gc_strnum?
> Not indeed. This is a number of the strings

This is a total number of the strings being allocated: if the string
'qq' is created, collected later and created again, this metric is
incremented twice. At the same time the value below just shows the
amount of allocated strings at the moment.

> 
> > +  size_t strhash_miss;
> > +

<snipped>

> 
> -- 
> Best regards,
> IM

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list