At tick level resolution, what determines the number of ticks sent to OnData? Does time slices have some minimum size?

It seems I get around 50-100 ticks per OnData in back test, whereas in live it's typically one tick but up to around five for SPY (I presume, in that case the number of ticks received is dependent on how many have queued up until OnData can be called again).

My understanding is this impacts back test results since orders will be more granular intervals than otherwise would be the case. Although today it seems to be working out in my favor with live test doing better than backtest..