cleaning and time to measure startup time