The post discusses the performance optimization process for a Swift app called Check 'em - The Based 2FA App. The biggest performance bottleneck is the processing of TOTP codes and their 'interestingness'. The post suggests replacing regexes with more efficient algorithms and introducing parallelism to the TOTP calculation
Table of contents
Testing On-DeviceProfiling with InstrumentsCode ImprovementsEfficient algorithmsParallelismEarlier code generationConclusionJacob’s Tech TavernSort: