Adding some basic performance collection.