Find where a cold iOS lease spends its 20–31 s

Open
#2,040 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
ios, typescript

Research direction

Start with ADR 0061, especially the measurements at lines 59 and 245, then compare the cold lease stages through simlock lease on a quiet machine in full and slim modes. Measure the copy, boot, readiness checks, and other waits, and report where time is spent. Done means a timing breakdown and suggestions for approaching the expected duration, with no changes made.

Written by the indexing model from the issue text.

Description

platform:ios request:new
The problem

A cold iOS lease takes 20–31 s (median about 28 s), and the boot of a copy takes 17–27 s of that. ADR 0061 expected a clone and a boot of about 7 s (docs/internal/adr/0061-every-virtual-device-is-a-copy-of-a-source-and-a-baseline-is-a-named-source.md:245); the same ADR measured a cold boot of a copied disk at 15.7 s (:59).

Measured 2026-12-02 at af8054f53 on one busy Mac (12 cores, 36 GB), settled seeds, iPhone 17 on iOS 27.2, full mode; numbers in #2033.

With the warm pool off by default (#2033, ADR 0101), every iOS lease pays this time, so it now matters for every agent.

Asked

Measure where the time of an iOS cold lease goes, on a quiet machine, full and slim, through simlock lease: the copy, the boot, readiness checks, anything simlock waits for. Say what could bring it toward the expected figure, without changing anything yet.

Written by an agent.

Dominant language
TypeScript
Stars
730
Forks
44
Avg merge
15h 28m
Merged PRs (30d)
387

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from callstackincubator/simlock

All issues in callstackincubator/simlock

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.