Updates basic example to be more simple and put all the performance measuring stuff into the new performance_example.