Hero Background

Next-Gen App & Browser Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud

How to handle performance issues with the simulator?

The iOS Simulator runs slowly mainly because it competes with everything else on your Mac for CPU, RAM, GPU, and disk, and because newer simulator runtimes (iOS 18 on Xcode 16) and hardware-accelerated content stress software rendering. Fix it by closing extra simulators with xcrun simctl shutdown all, erasing simulator data with xcrun simctl erase all, turning off slow animations, choosing a smaller or older device, freeing disk and RAM, and keeping Xcode and macOS updated. For genuinely accurate performance numbers, test on real devices instead.

Why the iOS Simulator Gets Slow (Root Causes)

Before you start applying fixes, it helps to understand what actually makes the simulator crawl. The simulator is not a virtual machine; it runs the iOS user space directly on top of macOS and leans heavily on your Mac's hardware. That design is fast to boot but it also means anything that starves the host of resources shows up as simulator lag. The most common causes are below.

  • Host resource contention: The simulator shares the Mac's CPU, RAM, and disk with every other process. A single iOS simulator can consume roughly 6 GB of RAM, and each additional booted simulator multiplies the pressure until the system starts swapping.
  • Software rendering of hardware-accelerated content: 3D graphics, MapKit map views, SpriteKit, and WKWebView or Safari content are expensive to render through the simulator's GPU path, which has historically been buggy. A large device such as iPad Pro renders far more pixels than an iPhone SE, so it is slower by design.
  • Runtime regressions on iOS 18 / Xcode 16: App launches have been observed flooding the system with logs, spiking the diagnosticd process, with RAM peaking near 10 GB and WebView freezes. The iOS 17.5 runtime is a known-good fallback.
  • Debug builds with the debugger attached: Unoptimized debug builds plus LLDB attaching at launch slow startup considerably; detaching the debugger makes launches close to instant.
  • Apple Silicon vs Intel and Rosetta overhead: Intel and Hackintosh hosts with weak integrated GPUs (for example UHD 630) struggle, and on Apple Silicon any tooling forced through Rosetta 2 adds overhead. Native arm64 is always preferable.
  • Low disk space and bloated DerivedData: A near-full disk and a stale ~/Library/Developer/Xcode/DerivedData folder degrade both build and launch performance.
  • Security and endpoint software: Antivirus and endpoint agents amplify CPU and RAM use by inspecting the heavy log output the simulator produces, compounding the iOS 18 logging problem.

How to Fix a Slow iOS Simulator (Step by Step)

Work through these in order. The early steps are quick and resolve the majority of everyday slowdowns; the later ones address version regressions and host configuration.

  • Boot only one device: Run xcrun simctl shutdown all and then boot a single simulator. Multiple booted simulators thrash RAM and the GPU.
  • Erase all content and settings: With the simulator shut down, run xcrun simctl erase all to clear corrupt state and caches. You can also do this from the Simulator menu under Device → Erase All Content and Settings.
  • Disable Slow Animations: In the Simulator menu open Debug → Slow Animations (or press Cmd + T) and make sure it is switched off.
  • Pick a smaller or older device: Test on an iPhone SE or iPhone 8 rather than an iPad Pro or the newest Pro Max. Fewer pixels mean lighter software rendering.
  • Free RAM and CPU: Quit Chrome, Slack, and other heavy apps. A single simulator alone can need around 6 GB, so headroom matters.
  • Free disk space and clear DerivedData: Delete ~/Library/Developer/Xcode/DerivedData and keep ample free disk space available.
  • Detach the debugger when you are not debugging: In the scheme's Run action, turn off "Debug executable" so the app launches without LLDB attached for near-instant starts.
  • Isolate hardware-accelerated content: Move heavy 3D, MapKit, and WebView screens to real-device testing; the simulator renders those in software and stutters.
  • Use a stable runtime on a regressed version: If iOS 18 on Xcode 16 is unusably slow, install and run the iOS 17.5 simulator runtime as a workaround.
  • Update Xcode and macOS: Many simulator slowdowns are version-specific regressions fixed in point releases, so keep both current.
  • Restart Xcode or the Mac: After erasing data or on first launch, let the shared cache finish scanning; a restart clears diagnosticd and accumulated log buildup.
  • Collect diagnostics if it persists: Run xcrun simctl diagnose to gather logs, which is also Apple's recommended step before filing a Feedback report.

The Android Emulator Analog (Why It's Slow and How to Speed It Up)

The Android emulator behaves very differently from the iOS Simulator. It virtualizes a complete hardware stack, so without hardware acceleration and a matching system image it falls back to slow CPU emulation. If your Android Virtual Device (AVD) feels sluggish, work through these settings.

  • Enable hardware acceleration: Use a hypervisor: AEHD on Windows (it replaced the deprecated Intel HAXM from emulator 33.x), Windows Hypervisor Platform (WHPX) or Hyper-V, KVM on Linux, or Hypervisor.framework on macOS.
  • Match the system image to the host: Use an x86/x86_64 image on Intel hosts or an arm64 image on Apple Silicon. ARM images on x86 hosts are not accelerated and crawl.
  • Avoid hypervisor conflicts on Windows: Disable conflicting hypervisors under "Turn Windows features on or off" so HAXM/AEHD and Hyper-V do not fight over virtualization.
  • Allocate adequate RAM and VM heap: In the AVD settings, and avoid running multiple virtual machines at the same time.
  • Use Quick Boot instead of Cold Boot: Quick Boot restores a snapshot for far faster startup; only cold boot when the saved state is corrupt.
  • Set graphics to Hardware - GLES 2.0: When the host GPU supports it, rather than software rendering.

Simulator / Emulator vs Real Device: When to Switch

Simulators and emulators are excellent for fast UI, layout, and animation iteration, but they do not reproduce real performance. They share the host's hardware and lack a real GPU, a true thermal and battery profile, real memory constraints, real network radios, and the OEM skins (Samsung One UI, Xiaomi MIUI, OPPO ColorOS) that ship on physical devices.

Some metrics only real devices reveal accurately: CPU and memory under genuine load, battery drain, heat and thermal throttling, frame rate and jank, cold app-start time, and behaviour on cellular networks. As a rule of thumb, switch to real devices when you are profiling performance, validating a build before release, debugging a device-specific bug, or testing hardware features such as the camera, sensors, GPS, or biometrics.

A persistently slow local simulator is often a symptom of hitting the simulator's inherent ceiling. TestMu AI's Real Device Cloud lets you run the same app on thousands of real iPhones, iPads, and Android devices to get accurate, real-world performance with no local hardware contention, no Rosetta overhead, and none of the "6 GB per simulator" RAM tax. If you would rather keep working with a simulator but stop taxing your Mac, you can also run an iPhone 17 Simulator Online in the browser and capture CPU, memory, battery, frame rate, and app-start metrics on real hardware when you are ready.

Frequently Asked Questions

Why is my iOS Simulator so slow all of a sudden?

It is usually a runtime regression, such as the iOS 18 / Xcode 16 logging flood that spikes the diagnosticd process, a near-full disk, too many open simulators competing for RAM, or a heavy WebView or 3D screen being rendered in software. Erase the simulator data with xcrun simctl erase all, shut down extra simulators, and free disk space.

Does erasing the simulator fix performance?

Often, yes, for slowdowns caused by corrupt state. Shut the simulator down and run xcrun simctl erase all to clear cached data and settings and return the device to a clean state. It will not help if the slowness is caused by host resource contention or a version-specific regression.

Is the iOS Simulator slower on Intel Macs than on Apple Silicon?

Generally yes. Apple Silicon runs the simulator natively as arm64 and is noticeably faster, while Intel and Hackintosh hosts with weak integrated GPUs struggle with hardware-accelerated content. Even on M-series chips, forcing tooling through Rosetta 2 adds overhead, so run Xcode and dependencies natively.

How much RAM does the iOS Simulator need?

A single iOS simulator typically needs around 6 GB of RAM, and running several multiplies that. iOS 18 cases have been observed peaking near 10 GB because of the logging and diagnosticd load. A Mac with 16 GB or more is comfortable for simulator work.

Why is the Android emulator so slow compared to the iOS Simulator?

The Android emulator virtualizes a full hardware stack, so without hardware acceleration (AEHD, WHPX or Hyper-V on Windows, KVM on Linux, Hypervisor.framework on macOS) and a matching x86/x86_64 system image it runs in slow CPU emulation. The iOS Simulator only simulates the OS on top of the Mac, so it starts faster by design.

When should I stop using the simulator and test on real devices?

Switch to real devices for any performance, battery, thermal, frame-rate, or release-readiness validation. Simulators and emulators cannot reproduce a real GPU, thermal throttling, cellular radios, OEM skins, or true memory pressure, so the numbers you measure on them are not representative of production behaviour.

Related Questions

Test Your Website on 3000+ Browsers

Get 100 minutes of automation test minutes FREE!!

Test Now...

KaneAI - Testing Assistant

World’s first AI-Native E2E testing agent.

...

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests