Performance and benchmarking¶
Tunal exposes simulation and presentation controls with different costs. Measure the target scene and player before choosing a quality tier; the documentation does not provide an FPS or hardware compatibility guarantee.
Establish a useful baseline¶
- Record Unity/pipeline version, graphics API, hardware, player resolution, target framerate and active cameras.
- Profile an actual player where possible. Separate CPU frame time, GPU frame time, allocations and rendering statistics; an Editor-only comparison includes unrelated Editor overhead.
- Start with one context and one active presentation. Record a repeatable viewpoint and simulated time.
- Enable additional presentation features individually. Change one quality control at a time and record both cost and visual differences.
- Repeat with the expected number of contexts, reactive objects and lifecycle instances, including switching and save/load spikes.
Rendering controls¶
| Control | What to compare |
|---|---|
| Lightweight / High / Ultra | Effective path and appearance, not just the requested enum value |
| Ultra View Steps | Sampling quality versus GPU work; valid Inspector range 16–128 |
| Ultra Light Steps | Additional lighting samples, range 0–3 |
| Cloud render distance and resolution | Camera coverage, distant sampling and visible artifacts |
| Active cameras | The volumetric path can attach to real Game cameras; additional camera passes can add work |
| Nebula, stars, lighting and ambient | Feature/material cost and update work in your chosen configuration |
Use rendering diagnostics to confirm which path executes before comparing settings. A fallback can appear fast while never exercising the requested path. Restore normal diagnostics before judging appearance. Do not infer XR, camera-stack or every-pipeline support from successful desktop rendering.
Simulation and responses¶
Enabled independent contexts continue simulating when another presentation is selected. Disabling visual roots reduces those objects' ordinary Unity work but does not pause their owning context. Pause or stop source simulation deliberately when your application requires it.
Built-in responses apply evaluated influence to scene targets; trackers and some continuously driven effects still need ongoing updates even if influence is unchanged. Avoid duplicate writers, unnecessary per-frame allocations in custom responses, and scene-wide searches in callbacks. Use subscription cleanup and the binding lifecycle described in API events.
Large clock jumps are not equivalent to running every intervening frame: clock ticks do not replay every crossed boundary, cloud randomization is not historical weather replay, and lifecycle history has bounded reconstruction. Profile transitions, rewinds and restore separately from steady-state advancement.
Persistence and UI¶
Capture/restore and JSON/local-file operations run on the Unity main thread in the supplied workflows. Save only the state sections you require, register intended instances explicitly, and schedule saves at suitable application boundaries. Confirmed WebGL saving also waits for browser synchronization; that wait is a storage concern, not simulated time.
UI polling intervals affect display refresh, not source progression. Do not repeatedly rebuild option lists or rebind contexts every frame when a selection event suffices. Keep logs/diagnostics controlled during timing comparisons.
Keep your own measurements with the release project. Re-test after pipeline, hardware, scene complexity or profile changes rather than publishing a package-wide performance claim.