Analyzer optimization