Skip to content

perf: calibrate the IL2CPP measurement system and attribute dispatch cost #500

Description

Part of #497. This issue coordinates the measurement foundation for #414 and #501 through #505. It does not ship runtime optimizations.

Purpose

Create one reproducible measurement, correctness, evidence, and attribution system for the campaign. Detailed implementation belongs to the bounded tasks below.

Foundation tasks

Start #506, #508, and #509 in parallel. #507 consumes the frozen profile and evidence format for timed conclusions. #510 consumes #506 through #508. #511 consumes #506 through #508 and #510. #512 consumes #506, #508 through #510. #513 consumes #506, #508, #510, and #512 and runs after canonical x64 confirmation.

Gates supplied to runtime workstreams

Confirmation gate

Before a production candidate from #501 through #504 enters confirmation:

  • the canonical profile is machine-checked;
  • the evidence bundle is content-addressed, replayable, and independently restored;
  • the differential oracle covers the affected state transitions;
  • the independent sample unit, repetition count, controls, intervals, multiplicity, and stopping rule are fixed by perf lab: calibrate variance, controls, power, and confirmatory inference #510;
  • discovery and sealed holdout traces are frozen.

The existing 3% reducer remains a legacy screen until #510 approves confirmatory inference.

Mechanism gate

A claim that a named IL2CPP operation was removed requires replicated native attribution, a bound on all unresolved samples, profiler observer-effect evidence, and before/after native output from #511. Injected delays show sensitivity and dose response, not a maximum possible speedup.

Comparison gate

A #414 parity claim requires the exact twins and semantic ledger from #507. Unlike mutation or lifecycle semantics must remain explicit.

Latency and platform gates

Campaign housekeeping

Completion

This issue is complete when every foundation task is complete or closed with a retained reason, the decision ledger is current, and the resulting protocols are linked from the relevant workstreams. Failed profiling paths, negative controls, and measurement blockers are completion evidence.

No runtime optimization ships from this issue.

Durable evidence index

The tracked evidence index and restore record is included in PR #571. Repository-wide immutability is enabled with maintainer approval. The first historical Mono/debug observation is published as an immutable prerelease and restored from a fresh remote clone; full archive/manifest hashes and exact replay match. The real-asset denied-access drill returns HTTP 401 without a cached fallback. #521 remains open for index review and landing. This storage result does not satisfy the remaining measurement, IL2CPP, or confirmatory campaign gates.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions