Smart loading time management in f1 function