How does oxygen production relate to the rate of photosynthesis?

How does oxygen production relate to the rate of photosynthesis?