Repository navigation
Benchymark for SailfishOS 2.2.0
Pre-releaseBenchymark for SailfishOS 2.2.0: a new way of measuring, and an account of what was wrong. 2.0 promised scores that compare across devices. They did not: testers on more devices (thanks to Mister Magister, ahjolinna and everyone in the forum thread) showed scores that made no sense, and an audit of the whole code found the cause in the method itself, not in single devices. 2.2 measures differently. Every graphics score changes, so 2.2 results do not compare with 2.0 and 2.1 (scene sfos-2.2); please run again.
What was wrong
- 2.0 counted frames of a window on screen. That frame rate carries the display's refresh cap and a fixed cost of 12-25 ms per frame for compositing and scaling to the screen. To stay clear of the cap, each device looked for its own load under 25 fps; the fixed cost then made a score rise 40-170 % from one load step to the next, so a score depended on which load a device landed on.
- The first fix, never released, corrected for that with two loads, a slope, settling seconds and five kinds of marks. Each fixed a symptom on one device and the next device showed another, so it was taken out again.
- Also: the screen's shape changed five stages, the glow rebuilt its blur every frame, CPU prime on armv7hl mostly measured software division on 2 of 8 cores, One million mostly measured waiting for the screen.
How 2.2 measures
- Every stage draws on the same 720 × 1600 canvas, on every device.
- A graphics stage draws off screen, into a framebuffer of its own, as fast as the device can: no vsync, no compositor, no scaling. The screen shows a copy of its frames while it warms up.
- Each graphics stage has one fixed load, the same on every device, and every device measures the same six seconds of its animation, drawing as many frames of it as it can. No calibration.
- Two seconds of warm-up, then six measured; the score is the work drawn over the time it took. If the two halves of the six seconds differ by more than ±10 %, the row is marked.
- Show stages moving (Settings, on by default): each graphics stage first plays two seconds on screen, for the eye. Not measured; off, a run is 22 seconds shorter and scores the same.
- What this measures is the device's drawing throughput under full load, CPU and GPU together. It is not the frame rate an app gets on screen: off screen the CPU never idles between frames, so stages that lean on the CPU (Benchy, Cascade) score much higher than on screen on phones whose cores sleep between frames.
- On the author's three devices a stage repeats within a few percent from run to run.
Stages
- Benchy light and heavy are now Benchy large and small: the same CPU work per boat, a large boat has twice the lines to draw.
- Text scale and Text reraster are gone: built to find the difference between scaling and re-rasterising text, and the noisiest stages. 16 stages remain.
- Benchy glow: the halo pulses by its spread; its animated radius rebuilt the blur every frame.
- CPU prime: the armv7hl build divides in hardware where the core can, and runs a thread on every core the SoC has. Xperia XA2: about 9500 events/s instead of 1000.
- One million: the worker times its own counting.
- Storage checks for free space first and shows an error or a stop as a dash, not "0/0".
Results and runs
- Every stage says what its score counts and what that shows, the same text under its name on the start page and under its row in the results (Michał: "whatever the boat/s means").
- Start run in the start page's pulley, one flick from the top, as well as the button below the stages; one second between stages instead of two.
- Compare: a long press on a saved run, "Compare with…", then tap another: both side by side with the ratio per stage.
- A run is saved when the app is closed mid-run, and every five minutes in Run one hour and Run in loop; those keep every pass in the JSON.
- A stage stops and starts over when the app goes to the background.
- Share image saves to Pictures/Screenshots and says so.
- Fixed: temperatures of tenth-degree sensors under 15 °C, "throttled" on kernels that cap the clock from boot, a MediaTek GPU at 100 %, colours on light ambiences, binding loop warnings.
Install (SailfishOS 4.4 and newer): devel-su pkcon install-local harbour-benchymark-2.2.0-1.<arch>.rpm (aarch64, armv7hl or i486). Updates 2.x and 1.x in place.
Tested by the author on a Sony Xperia XA2 (4.4, armv7hl), the Jolla Tablet (4.6, i486) and the Jolla C2 (5.1, aarch64): two full runs back to back on each, within ±1 % of each other on nearly every stage; the exceptions lean on the CPU (the XA2's Icons 18 %, its Cascade 5 %, the tablet's One million 5 %); the GPU-heavy stages agree within 1-4 % with the night audit's two-load on-screen measurements of the same devices; a run closed mid-stage, a stage sent to the background mid-measurement, Run one hour closed early (display set back), a GPU without OpenGL ES 3.1, the Settings, Results and Compare pages, Share image, a storage run. Not tested: a MediaTek device, the Pad 6, 90/120 Hz panels, light ambiences, a full disk, a loop run longer than five minutes with the new measuring.
Disclosure: LLMGD-2 · origin O1 (audit, method change and fixes by the LLM; the author's call to rework for good and his design calls; tested on three devices; self-graded)
LLMGD: v0.3; assurance=A2; flags=T; origin={O0:.2,O1:.8}; origin_headline=O1; scope=release(code+packaging+docs); graded-by=claude-opus-5-5; retrieval=author-side