donotmerge: misc performance tentative changes

This commit can be dropped.

Signed-off-by: Italo Nicola <italonicola@collabora.com>