added nexttick profiling