Runtime performance optimization