Batch function overlap performance comparison.

Signed-off-by: Daniel Josefsson <dannejosefsson@gmail.com>