You can use two laser pointers and two ldr resistors. When the ball interrupts the first laser, store the time, and when the ball interrupts the second laser, substract the time stored from the last time readed.
laser 1-------------------------LDR
| | |
| | |
O Ball
Laser2------------------------LDR
PD. Sorry for my bad english, it's not my native language