What kind of a sensor are you using? Photodiodes should work up to the MHz range I think?