Repository navigation
JSRF Unleashed NX v0.5.2-switch
v0.5.2-switch
This release turns on the performance work the last campaign measured but
never shipped switched on, rebuilds the optimizer profile for the current
code, and carries the v0.5.1 camera-walls fix forward.
Performance: the campaign gains are now on by default
v0.5.0 shipped with five measured walk optimizations present in the code
but off unless options.txt named them, and no shipped options.txt did.
They are now on by default (each can still be turned off individually, and
JSRF_PERF_DEFAULTS=0 restores the old all-off behaviour):
- FENCESCAN (fence pre-scan as a range test), measured at about
1.10 ms/frame of walk in the campaign - NOTE_TRIM, about 0.97 ms/frame
- NEONIDX, about 0.54 ms/frame
- DATASHADOW, about 0.44 ms/frame
- CAPTURE_FAST, about 0.28 ms/frame
- VPBATCH batching for vertex-program uploads, including a fix for a
per-uploadgetenvcall in that path
On top of those, index handling is now 16-bit end to end (U16IDX):
the walk used to widen every 16-bit index to 32 bits and narrow it back
later; it now stays 16-bit through a plain copy and a NEON range check
and rebase.
Measured on hardware at stock clocks on the 99th Street tower patrol
(walk time per frame, mean over the route):
- Switches off, 32-bit indices (the v0.5.0 behaviour): 14.23 ms/frame
- Campaign switches on: 10.85 ms/frame
- Switches on plus 16-bit indices: 10.71 ms/frame
Fresh optimizer profile for this code
The build's profile-guided optimization data has been retrained on the
current source tree: a fresh instrumented build was run on hardware, its
coverage harvested (9,584 functions), and the release built against that
profile with a full fit (every profiled file matched, no missing or
stale profiles).
Camera walls fix (from v0.5.1) is in
The v0.5.1 hotfix is part of this release: a missing RECOMP_CAM_WALLS
line in options.txt means OFF, and only an explicit RECOMP_CAM_WALLS=1
turns the (still unfinished, still hidden) camera walls feature on. If
you merged v0.5.0 over an older install, this build is safe to install
the same way.
Map jumps
Confirming a map jump in the menu now closes the menu as the jump
happens. The Dogenzaka Hill and 99th Street destinations use the same
destination values as the previous release.
Installing
Unzip and copy the switch folder to the root of your SD card, merging
with the existing folder (see READ-ME-FIRST.txt inside the zip). A fresh
install gets a fully written-out options.txt at the release defaults.