Trying to add some sort of performance logging