Usually we prefer to use convenient batch-size from 8 to 32 and sometimes even more, but it can affect training.
In case of GPU usage with large batch size you can run into VRAM limitations.
This is because for each training sample we have to store some tensors, which will be used during backpropogation, and hence amount of memory often depends linearly on the batch size (if you are working on Linux, for example Ubuntu, you can test VRAM consumption during training by calling watch nvidia-smi in terminal).
To the question of time : you can test both perfomances using simple %%timeit function, in case you are working in Jupyter Notebook (as I do), otherwise, just use time() function and log the results.
Now you can try to research a little, and please, report back when you’re done 
My predictions is that case with batch size = 9 will be slightly faster than the other one.