The speed of price rises in the UK has stayed the same, according to data which was collected before the US-Israel war with Iran began.