The only way to find what the optimum amount of flex is would be by trail and error. There is never going to be one set amount that is optimum either. It would vary from car to car, set-up to set-up, driver to driver, and track to track.
I would think that all race cars except for those made with carbon fiber uni-bodies have some sort of flex to them.