Profile calls inside a block