Yes - you are right - getReference() requires additional time(theoreticaly, but practicaly - behaviour is different time to time) - but UI Action also takes time to connect to server. I just proposing a solution - let the person who asks to   define what will suite him the best.