Lesson 04 of 5 / Unreal

Where did the time for this proof go?

Record the elapsed time for every attempt against its ticket and build. Read that ledger alongside the engine report to find the most expensive step.

Build a wall-clock ledger for the story 8 min PickBits working session

Your move

Time every test run against its ticket

You can't cut test time you don't measure. Every run records start, end, the build and the ticket; time that belongs to no ticket is where the hours hide.

Use this rule

Record the elapsed time for every attempt against its ticket and build. Read that ledger alongside the engine report to find the most expensive step.

The situation

Start where the choice gets difficult.

You leave an overnight test list running for your Unreal game. By morning, your agent has a report full of individual durations and a message saying the checkpoint checks passed. The run tied up the machine for much longer than the test durations suggest. You ask which ticket made the machine wait. The report covers several tickets, two attempts share a folder, and the time before the first test started never made it into the notes.

You open the proof row for the checkpoint fix. Its links show the old and new behavior, but there is no record of the setup failure before the BEFORE run. You remember startup and report collection. Your teammate remembers waiting for an idle machine. If you lump all of that into “testing,” the agent can speed up a short assertion and still leave you waiting just as long the next morning. Start with one story and reconstruct what you can verify. Leave unknown periods visible and use the next run to capture the boundaries you missed.

What changes the decision

Read the evidence before you add more work.

Use the same clock boundary each time. For a machine run, take the start when you launch it and the end when the evidence you need is ready. If you care about the wait for a machine, record the queued time separately. Record retries and failed setup attempts where you can see them. They still used machine time.

Read the story total first, then sort the steps by elapsed time. One long launch or a few slow scenarios can outweigh pages of short checks. When a small share of the work accounts for a large share of the total, this is called Pareto concentration. If the ledger shows evenly spread costs, record that. If an unexplained span exceeds every test time, measure inside that span first.

Epic's Unreal Engine 5.9 documentation describes the automation report and Unreal Insights. The JSON report includes duration for each test and totalDuration for the run, together with pass and fail counts. Treat these as measurements with their own boundaries. Your wall clock includes work around the report, such as starting the process and gathering the evidence. If you need to investigate what happens inside a run, Timing Insights shows CPU and GPU timing tracks. Start a trace with -trace=cpu,frame,bookmark, mark a moment with Trace.Bookmark, and keep the .utrace file beside the report for that run.

Do this now

Three moves, in order.

  1. Give each attempt a row with the ticket, build, scenario list, start, end, and result.
  2. Read the report beside that row. Mark when evidence was ready and keep any time you cannot account for visible.
  3. Sort the measured steps by elapsed time and pick one expensive boundary to investigate in the next run.

Working session

Build it from the evidence in front of you.

  1. Capture the boundaries while the run happens

    Record request, launch, and evidence-ready times. Include the date across midnight and note inspection pauses so later runs use the same accounting.

  2. Treat failed attempts as attempts

    A blocked checkpoint setup gets a closed row with its cause. Give the retry its own row and report location. Keep both attempts in the total.

  3. Handle a shared run once

    A batch that serves more than one ticket gets one wall-clock row with links to the tickets it served. Use the report to attach individual test durations where the report supports them. Keep shared launch and closeout time attached to the batch so you can count actual elapsed time once at the machine level. Label missing ownership as unassigned until someone can supply the link.

  4. Choose what to measure next

    A short test may sit inside an expensive launch. A long test may spend most of its time waiting for a particular event. Record the next measurement that will distinguish those cases, such as a timestamp before the first assertion or a trace around that event.

Inspect the finished shape

Wall-clock ledger, illustrative example

Ticket: checkpoint cancellation | Build: baseline gameplay with proof checks
Clock boundary: process launch to saved evidence

Attempt            Start    End      Elapsed    Result
First launch       09:10    09:14    4 min      Setup blocked
Second launch      09:18    09:25    7 min      Expected BEFORE failure

Attempt total: 11 min
Gap between attempts: 4 min, investigate separately
Largest attempt: second launch
Report: [attach the executed test and run durations]
Next measurement: [time to first test and time to evidence ready]

Build the artifact

A wall-clock ledger for the story

Copy these fields into a note, document, or sheet you already use.

Ticket and build Who requested the proof, what build ran, and which other tickets shared the machine run.
Clock times Queue entry if known, run start, evidence ready, and elapsed wall-clock minutes.
Run evidence The scenario list, verdict counts, report location, and any recorded trace for a measured span.
Attempt result Pass, expected failure, blocked, or skipped, with the specific reason.
Roll-up Sum the story's attempts, link shared runs once, and point to the slowest measured step and any unassigned time.

Give AI the bounded job

Prompt from your artifact—not from vibes.

Reconcile the supplied time rows and automation reports. Preserve each attempt, ticket, and build identity. Calculate elapsed time from the observed start and end only. Flag missing endpoints, overlaps, and report folders reused by different attempts. Separate queue wait from run elapsed time. Do not assign missing time to a test. Return the largest measured steps and one boundary I should measure on the next run.

Before you use it

The work leaves your hands only when:

  • Each story attempt links a ticket, build, and result with clock boundaries you can explain.
  • The total uses each attempt once and keeps shared or unassigned time visible.
  • You can name the largest measured step and point to the receipt that put it there.

Failure patterns

Watch for the move that looks useful but is not.

The durations stand in for the whole morning

The tell
The story total comes from per-test durations, although the machine was occupied while the process started and the evidence was saved.
The fix
Keep your launch-to-evidence measurement beside the report and investigate the difference with timestamps.

The successful retry erases the first run

The tell
A folder holds only the final pass, but you remember spending time waiting for the earlier setup failure.
The fix
Give every attempt a separate row and report destination, including the ones that stop before a test executes.

A shared launch counted twice

The tell
Each ticket lists the full batch elapsed time as its exclusive cost.
The fix
Link both tickets to the batch row and count its machine time once. Preserve any per-test attribution separately.

Use the boundary

When this rule does not fit.

When reviewing an old run whose boundaries were never recorded, leave the wall-clock total unknown and use the report for the durations it actually contains. If two starts overlap, use their timestamps to describe the time the machine was occupied. Keep the individual elapsed times for investigating each attempt. Pick a consistent boundary before the next comparison so a change in accounting cannot masquerade as a change in speed.

Epic documentation