test the time that creates and destories a number of process