Not all gamma rays emitted by the source that pass through the detector will produce a count in the system. The probability that an emitted gamma ray will interact with the detector and produce a count is the efficiency of the detector. High-efficiency detectors produce spectra in less time than low-efficiency detectors. In general, larger detectors have higher efficiency than smaller detectors, although the shielding properties of the detector material are also important factors. Detector efficiency is measured by comparing a spectrum from a source of known activity to the count rates in each peak to the count rates expected from the known intensities of each gamma ray.