Query to ETS and compare a data in a map

So I misunderstood what was said in this post from the beginning. He meant the use of the state has problem, not Genserver callback directly.

How you test and benchmark something like this?