stupid little example for cpu overhead caused by events