Frontory

Open code, practice, and notes →

Download source with English comments · for reading

27 · Resolution·data optimization

Week 4 / original Day 27 · Document and example provided · This is a learning sequence, not a fixed daily workload.

Full roadmap · Workspace usage

Goal

Test a bottleneck hypothesis by comparing before and after changing just one variable.

Prerequisites

The 26 baseline, vertex count from 12, and footprint from 18.

Key concepts and explanations

If lowering resolution improves performance, pixel processing cost is a possible cause, but that alone does not prove every GPU bottleneck. CPU costs such as parsing and sorting require different experiments.

Change only one of DPR, vertex subdivision count, visible splat count, or shader cost. Speed can come at the expense of image quality, accuracy, memory, or implementation complexity. Do not conclude there is an improvement if the difference is within repeated-measurement error.

Skills you will develop

Exercises

  1. Choose one slow interval from the baseline and write a hypothesis.
  2. For example, change only the DPR cap from 2 → 1, and measure again with the same path and duration.
  3. Record before/after values, image-quality changes, evidence supporting/insufficient for/refuting the hypothesis, and the next experiment.

Variables to observe

One chosen variable. Keep the device, data, camera, and measurement method fixed.

Completion criteria

Self-check questions

  1. What do you lose by changing several values at once?
  2. How should you interpret a difference smaller than the variation?

Official references

Experiment notes — fill these in yourself

Goal

Key concepts

Changed variables and predictions

Actual results

What I learned

Remaining questions

Previous: FPS·Draw Calls·memory analysis · Next: Documentation and optional deployment planning

Linked example and execution scope

Runnable source code · Workspace unit ID: 27-optimization

Edit the linked source code in Monaco to apply it to the sandbox preview after checks. Perform the extension exercises and completion criteria yourself and record the results.

Any previously saved code is preserved. To use the new original source, first back up everything as a full JSON file, then select Restore original code. Your notes are not erased.

Open code, practice, and notes →