measure effect time