Optimise fps parsing.