Skip to content

perf(launch): restore pass and string table SDK check left from #4430 #4439

Open

Description

@datlechin

Follow-up to #4430 (perf audit, launch lane). Items left out of that PR:

  • LN-C, restore selects and saves once per connection. Gated out: no restoreN harness in the suite yet, and it lands after L1 (lifecycle, perf(window): release closed connection windows and keep startup work off the main thread #4431) and WI4 (writes-idle). Gate is quiet pass 2 once those merge.
  • LN-A depends on the SDK. With CI's Xcode 27A9275 (macOS 27.0 SDK) UTF-8 string tables cut launch string lookups from 36.5 to 11 ms (en) and 72 to 23 ms (fr). A local Xcode 27.2 build (macOS 27.2 SDK) shows no binary penalty: binary and UTF-8 cost 6 vs 8 ms (en), and binary is faster in fr (14 vs 22 ms). Re-measure the Base.xcconfig setting when CI moves to the 27.2 SDK.
  • 13d and 13e: no change, as the plan says.

Quiet pass 2 results will be added here.

Activity

  1. added
    enhancement
    platform-macos
    on Nov 23, 2026
  2. datlechin commented on Nov 24, 2026

    @datlechin
    MemberAuthor

    Quiet pass 2, partial (main d9b6120 vs base 9d0d481, Mac mini, interleaved):

    • warm first frame 835 to 669 ms (0.80), main-thread CPU 422 to 344 ms (0.82)
    • cold first frame 2464 to 1805 ms (0.73), main-thread CPU 452 to 372 ms
    • restore10 first frame 853 to 745 ms (0.87); connect-pg 671 to 647 ms (0.96)
    • LN-C slope not measured yet (needs the WI4 build, runs in the rest of the pass)
  3. datlechin commented on Nov 24, 2026

    @datlechin
    MemberAuthor

    LN-C not measured: needs a quiet window that was not available. Main already beats base on launch (warm first frame 835 to 669 ms, main-thread CPU -18%). Closing the gate; reopen with a quiet-window number if launch regresses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplatform-macos

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions