Add timer to print events/s
Make it faster
Use glog for logging