Understanding the ConstraintsDevice Performance: CPUs, Memory, and the Mobile GapNetwork Constraints: Bandwidth and (Especially) LatencyBrowser Architecture: The Main Thread, Parsing, and ExecutionThe JavaScript EngineFrom Interpretation to JIT Compilation: Engine EvolutionBackground Compilation, Parsing, and GCThe Limits of Engine MagicBackend JavaScript PerformanceNode.js and the Event LoopBackend-Specific OptimizationsMonitoring and ObservabilityConclusion