tweaks to measure ims performance