Skip to content

CI: one workflow with a fail-fast precheck; Xcode 27 everywhere - #6345

Merged
shai-almog merged 41 commits into
masterfrom
ci-unify-precheck
Nov 30, 2026
Merged

shai-almog merged 41 commits into
masterfrom
ci-unify-precheck

Conversation

@shai-almog

Copy link
Copy Markdown
Collaborator

Why

A doomed PR churned for hours. A single missing golden turned ~90 workflows red, and cheap static faults (missing package-info.java, figures, quality findings) surfaced 37-76 minutes in.

What

  • ci.yml ("CI") is the one PR/master workflow. It starts with a precheck of three jobs: golden-plan, source-gates and check-workflows. The 17 heavy workflows (pr, scripts-*, ParparVM, Linux/Windows native, docs) become workflow_call members and run only after all three pass.
    • Their old paths filters live in .github/ci/ci-members.json and are applied by scripts/ci/select-ci-members.py, which has tests.
    • A change to the selection runs every member.
  • Unity gallery archive built once per run. Members find it already in the run and skip.
  • Collisions inside one run fixed:
    • javadocs runs only when pr.yml doesn't (same artifact name).
    • ParparVM quality previews go to their own branch.
  • Xcode 27 everywhere.
    • Dropped the iOS 26 Metal screenshot leg, the iOS 26 fidelity leg and their goldens.
    • All macos-15 jobs move to xcode-27.
    • xcode.sh defaults to 27.
    • ios.themeGeneration defaults to 27 in the builder, the iOS port, the simulator and the JS theme picker.
  • Chart2SharedTooltipScreenshotTest re-enabled. Its capture race was already fixed. Its tooltip-less goldens are deleted, so this PR is the first exercise of the precheck and capture path: 9 golden gaps expected.

Expect

  • The first run stops at the precheck and captures only the 9 missing directories. The harvest commits them, then CI runs every member, because ci.yml changed.
  • tv, watch, macOS and sample goldens may need recapture on Xcode 27.
  • xcode-27 is a preview image with limited capacity.

Not in this PR yet

Build-once producers: a shared ParparVM build, one Android bundle shared with fidelity, iOS fidelity on the iOS bundle, and the Mac port from the core bundle. No runner-minute savings are claimed until those land.

🤖 Generated with Claude Code

shai-almog and others added 3 commits November 27, 2026 10:47
Pull requests and master pushes now start ci.yml. Its precheck
(golden-plan, source-gates, check-workflows) runs first, and every other
job waits for it. The heavy workflows (pr, scripts-*, ParparVM, Linux and
Windows native, docs) become workflow_call members of that one run. Their
old paths filters move to .github/ci/ci-members.json, applied by
scripts/ci/select-ci-members.py. The Unity gallery is built once per run,
and source-gates now checks package-info.java too.

The iOS 26 build-ios-metal leg and scripts/ios/screenshots-metal are
removed. The Xcode 27 leg publishes the ios-metal port report.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…elity leg

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… goldens

The capture now waits 500 ms past the hover repaint, so the race that kept
it disabled is gone. Its old goldens were captured without the tooltip, so
they are deleted: every platform must capture it again, which makes it the
first exercise of ci.yml's golden precheck and capture. Also drops the iOS 26
goldens master added under the removed screenshots-metal directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Golden capture needs attention

No leg produced a golden; golden-plan names the gaps

Whatever did arrive is committed; the next push captures only what is still missing. A test that cannot render on some port needs a // cn1ss-skip: <ports> declaration.

Run at f8017d79bd4f

shai-almog and others added 16 commits November 27, 2026 17:26
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apple: scripts-ios.yml builds the iOS and Mac ports once and runs Metal,
watchOS, tvOS, macOS and iOS fidelity as steps of one xcode-27 job (every
suite runs; the job fails at the end). scripts-macos.yml, _build-mac-port.yml
and scripts-fidelity.yml are folded in and deleted.

Native: linux-build-run.yml absorbs windows-cross-build-run, parparvm-tests
and parparvm-tests-windows behind one prepare-suite producer that builds the
suite classes, translation libs and test server once.

Android: fidelity runs inside scripts-android.yml on the same port build.

Also the first three captured chart2-shared-tooltip goldens (Android,
JavaScript, Windows).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g; add macOS and Linux arm64 tooltip goldens

The watch and tv simulators were Shutdown by the end of the Xcode 27 build,
so install failed; boot them again before install. The ParparVM perf gate
ran during a capture and pushed the x64 job past its timeout; skip it there.
Restores linux-build-run.yml's workflow name, which the harvest matches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The screenshot app no longer compiles the Unity gallery and has no
UnityCompat* tests, so no PR workflow needs the .NET build that every
device suite (and the ParparVM JVM tests) used to wait on. unity-compat.yml
runs nightly and on PRs that touch the Unity tree; unity-compat-test.sh still
builds and runs the gallery. Removes unity-gallery-prebuilt.yml, its action
and script, the UnityCompat goldens and the port-status feature row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… libraries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Same fix as on ios-foldable-orientation-tablet (#6347).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
iOS Metal and watchOS from the capture at f8017d7 (run 46103068037);
tvOS is master's, which shows the tooltip and matched the Metal capture
byte for byte on the sibling leg; Linux x64 is the arm64 golden, which the
two legs have always shared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…deployment floor

Xcode 27's iOS SDK accepts nothing below 15.0. The app target already took
the floor through addMinDeploymentTarget, but the CN1InviteClip target kept
its fixed 14.0, so every sample with the clip failed. The AdMob CI probe wrote
its own Podfile at 14.0 with no post_install, leaving the Google pods at their
podspec's 12.0; it now reads the SDK floor and lifts pods below it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fourteen sample workflows of eight to ten jobs each become samples.yml:
a select job that keeps every sample's old paths filter, then one job per
kind (template sync, server tests, each database, client end to end,
browser, Android, iOS in two shards) with each selected sample as steps
named '<sample>: ...'. The framework is installed once per job instead of
once per sample, and a failed sample does not stop the next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lass, not the food-delivery names

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…reading aria-expanded the instant the click returns

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ty element

On the iOS 27 simulator a coordinate tap no longer makes the WKWebView's
input first responder, so every hardware key was dropped and the step
timed out. Tap the labelled input when the tree exposes it; fall back to
the centre tap otherwise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eck takes the runner's Xcode

Car Android Auto failed setup-workspace four times on 'Could not acquire
lock(s)', the 300s wait included: -T 1C threads contending for the in-JVM
locks. Retries now drop -T. The AI cn1lib check moved to xcode-27 but
still selected Xcode 16, which that image does not carry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merging the sample workflows kept one copy of each shared step by name,
so the mirror step that follows the second setup-java was dropped
(check-maven-central-mirror.py --fix).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Blog prose gate

✅ No net-new prose findings introduced by this PR.

shai-almog and others added 2 commits November 28, 2026 22:10
Google Mobile Ads pods declare 12.0, below Xcode 27's 15.0 floor, so the
admob and applovin probes failed before compiling a line of the cn1lib.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

shai-almog commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 12 screenshots: 12 matched.
✅ JavaSE simulator integration screenshots matched stored baselines.

@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Developer Guide build artifacts are available for download from this workflow run:

Developer Guide quality checks:

  • AsciiDoc linter: No issues found (report)
  • Vale: No alerts found (report)
  • Paragraph capitalization: No paragraph capitalization issues (report)
  • LanguageTool: No grammar matches (report)
  • Image references: No unused images detected (report)

@github-actions

Copy link
Copy Markdown
Contributor

Cloudflare Preview

@shai-almog

shai-almog commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 288 screenshots: 288 matched.

Native Android coverage

  • 📊 Line coverage: 28.03% (95856/341985 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 25.64% (426829/1664702), branch 12.58% (20553/163326), complexity 10.92% (17535/160585), method 16.43% (12698/77276), class 29.62% (2624/8860)
    • Lowest covered classes
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2500 lines covered)
      • org.jacoco.agent.rt.internal_29a6edd.asm.org.jacoco.agent.rt.internal_29a6edd.asm.ClassReader – 0.00% (0/1524 lines covered)
      • androidx.compose.runtime.androidx.compose.runtime.LinkComposer – 0.00% (0/1430 lines covered)
      • org.jacoco.agent.rt.internal_29a6edd.asm.org.jacoco.agent.rt.internal_29a6edd.asm.MethodWriter – 0.00% (0/922 lines covered)
      • kotlinx.coroutines.channels.kotlinx.coroutines.channels.BufferedChannel – 0.00% (0/878 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/774 lines covered)
      • com.google.common.cache.com.google.common.cache.LocalCache$Segment – 0.00% (0/772 lines covered)
      • okio.okio.Buffer – 0.00% (0/687 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/628 lines covered)
      • com.codename1.androidcompat.rt.com.codename1.androidcompat.rt.TextXmlPullParser – 0.00% (0/623 lines covered)

✅ Native Android screenshot tests passed.

Native Android coverage

  • 📊 Line coverage: 28.03% (95856/341985 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 25.64% (426829/1664702), branch 12.58% (20553/163326), complexity 10.92% (17535/160585), method 16.43% (12698/77276), class 29.62% (2624/8860)
    • Lowest covered classes
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2500 lines covered)
      • org.jacoco.agent.rt.internal_29a6edd.asm.org.jacoco.agent.rt.internal_29a6edd.asm.ClassReader – 0.00% (0/1524 lines covered)
      • androidx.compose.runtime.androidx.compose.runtime.LinkComposer – 0.00% (0/1430 lines covered)
      • org.jacoco.agent.rt.internal_29a6edd.asm.org.jacoco.agent.rt.internal_29a6edd.asm.MethodWriter – 0.00% (0/922 lines covered)
      • kotlinx.coroutines.channels.kotlinx.coroutines.channels.BufferedChannel – 0.00% (0/878 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/774 lines covered)
      • com.google.common.cache.com.google.common.cache.LocalCache$Segment – 0.00% (0/772 lines covered)
      • okio.okio.Buffer – 0.00% (0/687 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/628 lines covered)
      • com.codename1.androidcompat.rt.com.codename1.androidcompat.rt.TextXmlPullParser – 0.00% (0/623 lines covered)

Benchmark Results

Detailed Performance Metrics

Metric Duration
SIMD kernel backend scalar fallback (no native SIMD)
SIMD int-add (64K x300) java 182ms / native 119ms = 1.5x speedup
SIMD float-mul (64K x300) java 103ms / native 78ms = 1.3x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Base64 CN1 encode 74.000 ms
Base64 CN1 decode 68.000 ms
Base64 native encode 451.000 ms
Base64 encode ratio (CN1/native) 0.164x (83.6% faster)
Base64 native decode 296.000 ms
Base64 decode ratio (CN1/native) 0.230x (77.0% faster)
Image encode benchmark status skipped (SIMD unsupported)

@shai-almog

shai-almog commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator Author

Native fidelity (Android, Material 3)

54 pairs compared -- median 95.6%, worst 91.3% (FlatButton_pressed_dark), 25th pct 94.9%, mean 95.7%.

Distribution -- >=99%: 2 | 95-99%: 37 | 90-95%: 15 | <90%: 0

Component State Appearance Material Fidelity SSIM mean delta vs base Geometry
FlatButton pressed dark normal 91.3% 0.899 3.10 0.0 ok
Tabs normal light normal 92.3% 0.914 3.05 0.0 ok
Button pressed dark normal 92.6% 0.949 4.32 0.0 ok
FlatButton normal dark normal 93.2% 0.938 2.69 0.0 ok
Button disabled dark normal 93.3% 0.928 2.20 0.0 ok
Button pressed light normal 93.3% 0.952 3.68 0.0 ok
FlatButton normal light normal 93.7% 0.941 2.29 0.0 ok
FlatButton pressed light normal 93.8% 0.942 2.56 0.0 ok
FloatingActionButton pressed light normal 94.4% 0.927 2.82 0.0 OFF (h 0.88)
RadioButton normal dark normal 94.5% 0.963 2.19 0.0 ok
RadioButton normal light normal 94.7% 0.964 1.85 0.0 ok
CheckBox selected dark normal 94.7% 0.950 2.60 0.0 ok
RadioButton selected dark normal 94.8% 0.963 2.42 0.0 ok
CheckBox normal dark normal 94.9% 0.952 2.69 0.0 ok
Button normal dark normal 94.9% 0.949 3.16 0.0 ok
CheckBox normal light normal 95.0% 0.953 2.30 0.0 ok
Toolbar normal dark normal 95.1% 0.906 1.60 0.0 ok
RaisedButton pressed dark normal 95.2% 0.950 2.39 0.0 ok
CheckBox disabled dark normal 95.2% 0.954 1.47 0.0 ok
CheckBox disabled light normal 95.2% 0.956 1.34 0.0 ok
Tabs normal dark normal 95.2% 0.913 3.65 0.0 ok
RadioButton disabled dark normal 95.3% 0.963 1.18 0.0 ok
RadioButton selected light normal 95.3% 0.964 1.84 0.0 ok
CheckBox selected light normal 95.4% 0.952 2.06 0.0 ok
Switch selected light normal 95.4% 0.966 1.59 0.0 ok
Switch selected dark normal 95.5% 0.966 1.86 0.0 ok
RadioButton disabled light normal 95.5% 0.966 1.08 0.0 ok
Switch disabled dark normal 95.6% 0.961 0.85 0.0 ok
Dialog normal light normal 95.7% 0.930 2.30 0.0 ok
RaisedButton pressed light normal 95.8% 0.958 2.16 0.0 ok
Button normal light normal 95.8% 0.953 2.46 0.0 ok
Dialog normal dark normal 95.8% 0.932 2.30 0.0 ok
Switch normal light normal 96.0% 0.961 1.45 0.0 ok
FloatingActionButton normal light normal 96.1% 0.937 1.14 0.0 ok
FloatingActionButton pressed dark normal 96.2% 0.951 2.45 0.0 ok
Switch normal dark normal 96.2% 0.962 1.39 0.0 ok
TextField disabled dark normal 96.2% 0.965 0.76 0.0 ok
RaisedButton normal dark normal 96.4% 0.952 1.78 0.0 ok
Switch disabled light normal 96.4% 0.970 0.61 0.0 ok
Button disabled light normal 96.8% 0.960 1.06 0.0 ok
ProgressBar normal dark normal 96.9% 0.967 2.03 0.0 OFF (h 1.50)
RaisedButton disabled dark normal 97.0% 0.955 0.89 0.0 ok
FloatingActionButton normal dark normal 97.1% 0.952 1.43 0.0 ok
ProgressBar normal light normal 97.3% 0.974 1.53 0.0 OFF (h 1.50)
RaisedButton disabled light normal 97.3% 0.961 0.79 0.0 ok
TextField disabled light normal 97.3% 0.965 0.79 0.0 ok
RaisedButton normal light normal 97.3% 0.961 1.40 0.0 ok
TextField normal dark normal 97.6% 0.958 1.83 0.0 ok
TextField normal light normal 97.6% 0.958 1.63 0.0 ok
Slider normal dark normal 98.4% 0.990 0.87 0.0 ok
Toolbar normal light normal 98.7% 0.974 1.28 0.0 ok
Slider normal light normal 99.0% 0.991 0.47 0.0 ok
Slider disabled dark normal 99.6% 0.993 0.22 0.0 ok
Slider disabled light normal 99.6% 0.993 0.18 0.0 ok
Geometry vs native (bbox offset / size ratio / center offset / corner radius) -- gated separately from the visual score
Component State Appearance bbox dx,dy (px) w ratio h ratio center off (px) radius native->cn1 (px)
FloatingActionButton pressed light +0,+0 0.929 0.881 4.0 -
FloatingActionButton normal light +0,+0 0.946 0.912 2.9 -
Button pressed dark +0,+0 0.947 0.975 2.6 -
Button disabled dark +0,+0 0.947 0.975 2.6 -
Button pressed light +0,+0 0.947 0.975 2.6 -
Button normal dark +0,+0 0.947 0.975 2.6 -
RaisedButton pressed dark +0,+0 0.945 0.975 2.6 -
RaisedButton pressed light +0,+0 0.945 0.975 2.6 -
Button normal light +0,+0 0.947 0.975 2.6 -
RaisedButton normal dark +0,+0 0.945 0.975 2.6 -
Button disabled light +0,+0 0.947 0.975 2.6 -
RaisedButton disabled dark +0,+0 0.945 0.975 2.6 -
RaisedButton disabled light +0,+0 0.945 0.975 2.6 -
RaisedButton normal light +0,+0 0.945 0.975 2.6 -
RadioButton normal dark +1,+1 1.029 1.000 2.2 -
RadioButton normal light +1,+1 1.029 1.000 2.2 -
RadioButton selected dark +1,+1 1.029 1.000 2.2 -
RadioButton disabled dark +1,+1 1.029 1.000 2.2 -
RadioButton selected light +1,+1 1.029 1.000 2.2 -
Switch selected light +0,+0 1.080 1.063 2.2 -
RadioButton disabled light +1,+1 1.029 1.000 2.2 -
CheckBox selected dark +1,+1 1.013 1.000 1.8 -
CheckBox normal dark +1,+1 1.013 1.000 1.8 -
CheckBox normal light +1,+1 1.013 1.000 1.8 -
CheckBox disabled dark +1,+1 1.013 1.000 1.8 -
CheckBox disabled light +1,+1 1.013 1.000 1.8 -
CheckBox selected light +1,+1 1.013 1.000 1.8 -
Switch selected dark +0,+0 1.060 1.031 1.6 -
Switch disabled dark +0,-1 1.060 1.031 1.6 -
Dialog normal light +0,+0 1.007 0.982 1.6 -
Dialog normal dark +0,+0 1.007 0.982 1.6 -
Switch normal light +0,-1 1.060 1.031 1.6 -
Switch normal dark +0,-1 1.060 1.031 1.6 -
Switch disabled light +0,-1 1.060 1.031 1.6 -
FloatingActionButton pressed dark +0,+0 0.963 0.963 1.4 -
FloatingActionButton normal dark +0,+0 0.963 0.963 1.4 -
Toolbar normal light -1,+1 1.000 1.000 1.4 -
FlatButton pressed dark +0,+0 0.977 0.975 1.1 -
FlatButton normal dark +0,+0 0.977 0.975 1.1 -
FlatButton normal light +0,+0 0.977 0.975 1.1 -
FlatButton pressed light +0,+0 0.977 0.975 1.1 -
TextField normal dark +0,+0 1.015 1.036 1.1 -
TextField normal light +0,+0 1.015 1.036 1.1 -
Toolbar normal dark +0,+0 1.000 1.032 1.0 -
ProgressBar normal dark +0,+0 1.000 1.500 1.0 -
ProgressBar normal light +0,+0 1.000 1.500 1.0 -
TextField disabled dark +0,+0 1.015 1.018 0.7 -
TextField disabled light +0,+0 1.015 1.018 0.7 -
Tabs normal light +0,+1 1.000 0.984 0.5 -
Slider normal dark +1,+0 0.996 1.000 0.5 -
Slider normal light +1,+0 0.996 1.000 0.5 -
Tabs normal dark +0,+0 1.000 1.000 0.0 -
Slider disabled dark +0,+0 1.000 1.000 0.0 -
Slider disabled light +0,+0 1.000 1.000 0.0 -

Side-by-side comparisons (worst first)

  • FlatButton_pressed_dark -- 91.25% fidelity (SSIM 0.8985) (no change)

    native FlatButton_pressed_dark cn1 FlatButton_pressed_dark
    Left: native widget. Right: Codename One render.

  • Tabs_normal_light -- 92.28% fidelity (SSIM 0.9140) (no change)

    native Tabs_normal_light cn1 Tabs_normal_light
    Left: native widget. Right: Codename One render.

  • Button_pressed_dark -- 92.61% fidelity (SSIM 0.9485) (no change)

    native Button_pressed_dark cn1 Button_pressed_dark
    Left: native widget. Right: Codename One render.

  • FlatButton_normal_dark -- 93.24% fidelity (SSIM 0.9381) (no change)

    native FlatButton_normal_dark cn1 FlatButton_normal_dark
    Left: native widget. Right: Codename One render.

  • Button_disabled_dark -- 93.26% fidelity (SSIM 0.9278) (no change)

    native Button_disabled_dark cn1 Button_disabled_dark
    Left: native widget. Right: Codename One render.

  • Button_pressed_light -- 93.34% fidelity (SSIM 0.9521) (no change)

    native Button_pressed_light cn1 Button_pressed_light
    Left: native widget. Right: Codename One render.

  • FlatButton_normal_light -- 93.72% fidelity (SSIM 0.9410) (no change)

    native FlatButton_normal_light cn1 FlatButton_normal_light
    Left: native widget. Right: Codename One render.

  • FlatButton_pressed_light -- 93.77% fidelity (SSIM 0.9424) (no change)

    native FlatButton_pressed_light cn1 FlatButton_pressed_light
    Left: native widget. Right: Codename One render.

  • FloatingActionButton_pressed_light -- 94.44% fidelity (SSIM 0.9273) (no change)

    native FloatingActionButton_pressed_light cn1 FloatingActionButton_pressed_light
    Left: native widget. Right: Codename One render.

  • RadioButton_normal_dark -- 94.46% fidelity (SSIM 0.9630) (no change)

    native RadioButton_normal_dark cn1 RadioButton_normal_dark
    Left: native widget. Right: Codename One render.

  • RadioButton_normal_light -- 94.69% fidelity (SSIM 0.9643) (no change)

    native RadioButton_normal_light cn1 RadioButton_normal_light
    Left: native widget. Right: Codename One render.

  • CheckBox_selected_dark -- 94.71% fidelity (SSIM 0.9502) (no change)

    native CheckBox_selected_dark cn1 CheckBox_selected_dark
    Left: native widget. Right: Codename One render.

  • RadioButton_selected_dark -- 94.79% fidelity (SSIM 0.9630) (no change)

    native RadioButton_selected_dark cn1 RadioButton_selected_dark
    Left: native widget. Right: Codename One render.

  • CheckBox_normal_dark -- 94.93% fidelity (SSIM 0.9516) (no change)

    native CheckBox_normal_dark cn1 CheckBox_normal_dark
    Left: native widget. Right: Codename One render.

  • Button_normal_dark -- 94.94% fidelity (SSIM 0.9491) (no change)

    native Button_normal_dark cn1 Button_normal_dark
    Left: native widget. Right: Codename One render.

  • CheckBox_normal_light -- 95.03% fidelity (SSIM 0.9531) (no change)

    native CheckBox_normal_light cn1 CheckBox_normal_light
    Left: native widget. Right: Codename One render.

  • Toolbar_normal_dark -- 95.07% fidelity (SSIM 0.9059) (no change)

    native Toolbar_normal_dark cn1 Toolbar_normal_dark
    Left: native widget. Right: Codename One render.

  • RaisedButton_pressed_dark -- 95.19% fidelity (SSIM 0.9501) (no change)

    native RaisedButton_pressed_dark cn1 RaisedButton_pressed_dark
    Left: native widget. Right: Codename One render.

  • CheckBox_disabled_dark -- 95.20% fidelity (SSIM 0.9538) (no change)

    native CheckBox_disabled_dark cn1 CheckBox_disabled_dark
    Left: native widget. Right: Codename One render.

  • CheckBox_disabled_light -- 95.21% fidelity (SSIM 0.9562) (no change)

    native CheckBox_disabled_light cn1 CheckBox_disabled_light
    Left: native widget. Right: Codename One render.

  • Tabs_normal_dark -- 95.23% fidelity (SSIM 0.9125) (no change)

    native Tabs_normal_dark cn1 Tabs_normal_dark
    Left: native widget. Right: Codename One render.

  • RadioButton_disabled_dark -- 95.29% fidelity (SSIM 0.9630) (no change)

    native RadioButton_disabled_dark cn1 RadioButton_disabled_dark
    Left: native widget. Right: Codename One render.

  • RadioButton_selected_light -- 95.33% fidelity (SSIM 0.9642) (no change)

    native RadioButton_selected_light cn1 RadioButton_selected_light
    Left: native widget. Right: Codename One render.

  • CheckBox_selected_light -- 95.37% fidelity (SSIM 0.9524) (no change)

    native CheckBox_selected_light cn1 CheckBox_selected_light
    Left: native widget. Right: Codename One render.

  • Switch_selected_light -- 95.37% fidelity (SSIM 0.9658) (no change)

    native Switch_selected_light cn1 Switch_selected_light
    Left: native widget. Right: Codename One render.

  • Switch_selected_dark -- 95.45% fidelity (SSIM 0.9656) (no change)

    native Switch_selected_dark cn1 Switch_selected_dark
    Left: native widget. Right: Codename One render.

  • RadioButton_disabled_light -- 95.46% fidelity (SSIM 0.9657) (no change)

    native RadioButton_disabled_light cn1 RadioButton_disabled_light
    Left: native widget. Right: Codename One render.

  • Switch_disabled_dark -- 95.57% fidelity (SSIM 0.9613) (no change)

    native Switch_disabled_dark cn1 Switch_disabled_dark
    Left: native widget. Right: Codename One render.

  • Dialog_normal_light -- 95.65% fidelity (SSIM 0.9300) (no change)

    native Dialog_normal_light cn1 Dialog_normal_light
    Left: native widget. Right: Codename One render.

  • RaisedButton_pressed_light -- 95.78% fidelity (SSIM 0.9578) (no change)

    native RaisedButton_pressed_light cn1 RaisedButton_pressed_light
    Left: native widget. Right: Codename One render.

  • Button_normal_light -- 95.79% fidelity (SSIM 0.9528) (no change)

    native Button_normal_light cn1 Button_normal_light
    Left: native widget. Right: Codename One render.

  • Dialog_normal_dark -- 95.79% fidelity (SSIM 0.9322) (no change)

    native Dialog_normal_dark cn1 Dialog_normal_dark
    Left: native widget. Right: Codename One render.

  • Switch_normal_light -- 95.97% fidelity (SSIM 0.9612) (no change)

    native Switch_normal_light cn1 Switch_normal_light
    Left: native widget. Right: Codename One render.

  • FloatingActionButton_normal_light -- 96.09% fidelity (SSIM 0.9367) (no change)

    native FloatingActionButton_normal_light cn1 FloatingActionButton_normal_light
    Left: native widget. Right: Codename One render.

  • FloatingActionButton_pressed_dark -- 96.16% fidelity (SSIM 0.9513) (no change)

    native FloatingActionButton_pressed_dark cn1 FloatingActionButton_pressed_dark
    Left: native widget. Right: Codename One render.

  • Switch_normal_dark -- 96.17% fidelity (SSIM 0.9616) (no change)

    native Switch_normal_dark cn1 Switch_normal_dark
    Left: native widget. Right: Codename One render.

  • TextField_disabled_dark -- 96.21% fidelity (SSIM 0.9648) (no change)

    native TextField_disabled_dark cn1 TextField_disabled_dark
    Left: native widget. Right: Codename One render.

  • RaisedButton_normal_dark -- 96.41% fidelity (SSIM 0.9516) (no change)

    native RaisedButton_normal_dark cn1 RaisedButton_normal_dark
    Left: native widget. Right: Codename One render.

  • Switch_disabled_light -- 96.43% fidelity (SSIM 0.9698) (no change)

    native Switch_disabled_light cn1 Switch_disabled_light
    Left: native widget. Right: Codename One render.

  • Button_disabled_light -- 96.80% fidelity (SSIM 0.9596) (no change)

    native Button_disabled_light cn1 Button_disabled_light
    Left: native widget. Right: Codename One render.

  • ProgressBar_normal_dark -- 96.91% fidelity (SSIM 0.9669) (no change)

    native ProgressBar_normal_dark cn1 ProgressBar_normal_dark
    Left: native widget. Right: Codename One render.

  • RaisedButton_disabled_dark -- 97.02% fidelity (SSIM 0.9549) (no change)

    native RaisedButton_disabled_dark cn1 RaisedButton_disabled_dark
    Left: native widget. Right: Codename One render.

  • FloatingActionButton_normal_dark -- 97.07% fidelity (SSIM 0.9521) (no change)

    native FloatingActionButton_normal_dark cn1 FloatingActionButton_normal_dark
    Left: native widget. Right: Codename One render.

  • ProgressBar_normal_light -- 97.26% fidelity (SSIM 0.9739) (no change)

    native ProgressBar_normal_light cn1 ProgressBar_normal_light
    Left: native widget. Right: Codename One render.

  • RaisedButton_disabled_light -- 97.26% fidelity (SSIM 0.9611) (no change)

    native RaisedButton_disabled_light cn1 RaisedButton_disabled_light
    Left: native widget. Right: Codename One render.

  • TextField_disabled_light -- 97.29% fidelity (SSIM 0.9649) (no change)

    native TextField_disabled_light cn1 TextField_disabled_light
    Left: native widget. Right: Codename One render.

  • RaisedButton_normal_light -- 97.32% fidelity (SSIM 0.9613) (no change)

    native RaisedButton_normal_light cn1 RaisedButton_normal_light
    Left: native widget. Right: Codename One render.

  • TextField_normal_dark -- 97.61% fidelity (SSIM 0.9583) (no change)

    native TextField_normal_dark cn1 TextField_normal_dark
    Left: native widget. Right: Codename One render.

  • TextField_normal_light -- 97.62% fidelity (SSIM 0.9582) (no change)

    native TextField_normal_light cn1 TextField_normal_light
    Left: native widget. Right: Codename One render.

  • Slider_normal_dark -- 98.39% fidelity (SSIM 0.9900) (no change)

    native Slider_normal_dark cn1 Slider_normal_dark
    Left: native widget. Right: Codename One render.

  • Toolbar_normal_light -- 98.69% fidelity (SSIM 0.9739) (no change)

    native Toolbar_normal_light cn1 Toolbar_normal_light
    Left: native widget. Right: Codename One render.

  • Slider_normal_light -- 98.95% fidelity (SSIM 0.9908) (no change)

    native Slider_normal_light cn1 Slider_normal_light
    Left: native widget. Right: Codename One render.

  • Slider_disabled_dark -- 99.56% fidelity (SSIM 0.9927) (no change)

    native Slider_disabled_dark cn1 Slider_disabled_dark
    Left: native widget. Right: Codename One render.

  • Slider_disabled_light -- 99.59% fidelity (SSIM 0.9932) (no change)

    native Slider_disabled_light cn1 Slider_disabled_light
    Left: native widget. Right: Codename One render.

@shai-almog

shai-almog commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 380 screenshots: 380 matched.
✅ JavaScript-port screenshot tests passed.

@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

✅ Continuous Quality Report

Test & Coverage

Static Analysis

  • SpotBugs [Report archive]
    • ✅ ByteCodeTranslator: 0 findings (no issues)
    • ✅ android: 0 findings (no issues)
    • ✅ android-compat: 0 findings (no issues)
    • ✅ android-res-compiler: 0 findings (no issues)
    • ✅ backend: 0 findings (no issues)
    • ✅ backend-test: 0 findings (no issues)
    • ✅ build-engine: 0 findings (no issues)
    • ✅ build-hint-catalog: 0 findings (no issues)
    • ✅ build-hint-tools: 0 findings (no issues)
    • ✅ codenameone-gradle-plugin: 0 findings (no issues)
    • ✅ codenameone-maven-plugin: 0 findings (no issues)
    • ✅ compose-compat: 0 findings (no issues)
    • ✅ core-unittests: 0 findings (no issues)
    • ✅ desktop-compat-runtime: 0 findings (no issues)
    • ✅ fxml-compiler: 0 findings (no issues)
    • ✅ ios: 0 findings (no issues)
    • ✅ javac: 0 findings (no issues)
    • ✅ javafx-compat: 0 findings (no issues)
    • ✅ project-model: 0 findings (no issues)
    • ✅ python-runtime: 0 findings (no issues)
    • ✅ python-transpiler: 0 findings (no issues)
    • ✅ rive-runtime: 0 findings (no issues)
    • ✅ swing-compat: 0 findings (no issues)
  • ✅ PMD: 0 findings (no issues) [Report archive]
  • ✅ Checkstyle: 0 findings (no issues) [Report archive]

Generated automatically by the PR CI workflow.

shai-almog and others added 8 commits November 29, 2026 03:36
…cation

#6352 removed Parley's location usage descriptions (a messenger does not
ask for location), and the fixture check still looked for one, failing
gradle-smoke on every branch merged with master.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he camera and its screen shop/CheckoutForm

Bazaar's main class is renamed to the project's, so it cannot be the file
that proves the screens moved; and neither template asks for location
(#6352 removed Parley's). The test stopped at the first of these, so each
fix revealed the next; all nine Initializr tests pass locally now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The newest-iPhone picker chose the iPhone Duo on Xcode 27 runners, and
XCUITest's typeKey never reaches the app there. Revert the web-view tap
fallback from 02ff2d1, which rested on a wrong diagnosis.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- linux-build-run: the cross-build job checked for hellocodenameone classes
  before downloading them from prepare-suite; that check belongs to the old
  windows-cross-build-run, which built them inline.
- StoreAudit scanned keys under the android hint prefix, which the build-hint
  catalog check reads as a nonexistent android.* hint.
- The build-hint catalog check moves from pr.yml to source-gates.yml: it reads
  source only, so it should fail a PR in the precheck, not after the build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nts file

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

shai-almog commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 303 screenshots: 303 matched.
Native Windows port (x64 / Intel-AMD): full hellocodenameone screenshot suite rendered offscreen with Direct2D/DirectWrite, plus the real benchmarks (base64 native/CN1/SIMD, image createMask/applyMask/modifyAlpha/PNG/JPEG, SSE2 SIMD kernels). Compared against the in-repo baseline in scripts/windows/screenshots.

Benchmark Results

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 42ms / native 3ms = 14.0x speedup
SIMD float-mul (64K x300) java 41ms / native 3ms = 13.6x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 native bridge unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Base64 CN1 encode 72.000 ms
Base64 CN1 decode 76.000 ms
Base64 SIMD encode 86.000 ms
Base64 encode ratio (SIMD/CN1) 1.194x (19.4% slower)
Base64 SIMD decode 78.000 ms
Base64 decode ratio (SIMD/CN1) 1.026x (2.6% slower)
Image encode benchmark iterations 100
Image createMask (SIMD off) 8.000 ms
Image createMask (SIMD on) 4.000 ms
Image createMask ratio (SIMD on/off) 0.500x (50.0% faster)
Image applyMask (SIMD off) 19.000 ms
Image applyMask (SIMD on) 22.000 ms
Image applyMask ratio (SIMD on/off) 1.158x (15.8% slower)
Image modifyAlpha (SIMD off) 25.000 ms
Image modifyAlpha (SIMD on) 14.000 ms
Image modifyAlpha ratio (SIMD on/off) 0.560x (44.0% faster)
Image modifyAlpha removeColor (SIMD off) 44.000 ms
Image modifyAlpha removeColor (SIMD on) 35.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.795x (20.5% faster)

ParparVM vs HotSpot (JDK 25): Windows x64

Runner CPU: AMD64 Family 25 Model 17 Stepping 1, AuthenticAMD (baseline windows-x64@amd64-family-25-model-17-authenticamd)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in vm/selfhost/perf-baseline/ is a regression and fails; one that far below is an improvement, reported but not failed (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (WinHelloMain) 4 1.92x (base 1.89x, +1.6%) 0.76x (base 0.82x, -7.1%) ok
translator (self) 4 0.82x (base 0.89x, -7.9%) 0.54x (base 0.55x, -2.5%) ok
intArithmetic 4 1.10x (base 1.10x, +0.4%) 0.06x (base 0.06x, -1.2%) ok
longArithmetic 4 1.08x (base 1.08x, +0.0%) 0.06x (base 0.06x, +0.9%) ok
mathTranscendental 4 0.85x (base 0.85x, +0.5%) 0.06x (base 0.06x, +4.1%) ok
arraySequential 4 1.83x (base 1.72x, +6.8%) 0.38x (base 0.38x, +0.1%) ok
arrayRandom 4 1.01x (base 1.01x, -0.5%) 0.23x (base 0.23x, +0.7%) ok
objectAllocation 4 1.25x (base 1.25x, +0.0%) 0.30x (base 0.29x, +1.9%) ok
valueEscape 4 0.10x (base 0.10x, -1.3%) 0.05x (base 0.04x, +3.1%) ok
hashMapChurn 4 1.29x (base 1.39x, -7.0%) 0.10x (base 0.10x, -0.0%) ok
stringBuilding 4 1.37x (base 1.36x, +1.0%) 0.27x (base 0.28x, -4.0%) ok
recursion 4 1.38x (base 1.43x, -3.3%) 0.06x (base 0.06x, +2.9%) ok
quicksort 4 1.11x (base 1.11x, -0.4%) 0.12x (base 0.12x, +0.5%) ok

Result: no regression

@shai-almog

shai-almog commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 303 screenshots: 303 matched.
Native Windows port, REAL shipping pipeline: the hellocodenameone screenshot suite rendered by a binary CROSS-COMPILED on Linux (clang-cl + xwin, WebView2 linked) and RUN on a Windows x64 runner. Compared against the in-repo baseline in scripts/windows/screenshots.

Benchmark Results

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 57ms / native 5ms = 11.4x speedup
SIMD float-mul (64K x300) java 65ms / native 4ms = 16.2x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 native bridge unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Base64 CN1 encode 105.000 ms
Base64 CN1 decode 107.000 ms
Base64 SIMD encode 124.000 ms
Base64 encode ratio (SIMD/CN1) 1.181x (18.1% slower)
Base64 SIMD decode 100.000 ms
Base64 decode ratio (SIMD/CN1) 0.935x (6.5% faster)
Image encode benchmark iterations 100
Image createMask (SIMD off) 13.000 ms
Image createMask (SIMD on) 9.000 ms
Image createMask ratio (SIMD on/off) 0.692x (30.8% faster)
Image applyMask (SIMD off) 39.000 ms
Image applyMask (SIMD on) 41.000 ms
Image applyMask ratio (SIMD on/off) 1.051x (5.1% slower)
Image modifyAlpha (SIMD off) 33.000 ms
Image modifyAlpha (SIMD on) 35.000 ms
Image modifyAlpha ratio (SIMD on/off) 1.061x (6.1% slower)
Image modifyAlpha removeColor (SIMD off) 48.000 ms
Image modifyAlpha removeColor (SIMD on) 24.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.500x (50.0% faster)

shai-almog and others added 2 commits November 29, 2026 17:17
#6347 deleted the chart2-shared-tooltip goldens and contract entry because the
test was disabled on master; this branch re-enables the test, so both stay.
screenshots-metal stays deleted (the Metal iOS 26 leg is dropped here).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The gallery, variant chip and Share steps can move the layout, so the
button's position read before them can miss.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

shai-almog commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 303 screenshots: 303 matched.
Native Linux port (x64), GTK3/Cairo/Pango, ParparVM bytecode-to-C (no JVM): the hellocodenameone screenshot suite rendered by a native ELF built + run on the GitHub x64 runner. Baseline: scripts/linux/screenshots.

ParparVM vs HotSpot (JDK 25): Linux x64

Runner CPU: AMD EPYC 9V45 96-Core Processor (baseline linux-x64@amd-epyc-9v45-96-core-processor)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in vm/selfhost/perf-baseline/ is a regression and fails; one that far below is an improvement, reported but not failed (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (LinuxHelloMain) 4 1.26x (base 0.92x, +36.9%) 0.92x (base 0.84x, +9.7%) ok
translator (self) 4 0.67x (base 0.64x, +4.5%) 0.60x (base 0.55x, +9.8%) ok
intArithmetic 4 1.00x (base 1.00x, +0.1%) 0.04x (base 0.06x, -30.3%) ok
longArithmetic 4 1.00x (base 0.99x, +0.1%) 0.04x (base 0.07x, -47.1%) ok
mathTranscendental 4 1.19x (base 1.20x, -1.0%) 0.04x (base 0.06x, -29.8%) ok
arraySequential 4 2.90x (base 2.91x, -0.3%) 0.36x (base 0.36x, +1.0%) ok
arrayRandom 4 1.01x (base 1.04x, -2.7%) 0.20x (base 0.23x, -10.6%) ok
objectAllocation 4 1.58x (base 1.61x, -2.2%) 0.26x (base 0.24x, +9.2%) ok
valueEscape 4 0.10x (base 0.12x, -15.8%) 0.03x (base 0.04x, -24.0%) ok
hashMapChurn 4 1.28x (base 1.31x, -1.9%) 0.09x (base 0.09x, +9.0%) ok
stringBuilding 4 1.51x (base 1.58x, -4.0%) 0.26x (base 0.22x, +20.0%) ok
recursion 4 1.33x (base 1.34x, -0.5%) 0.04x (base 0.08x, -48.5%) ok
quicksort 4 1.07x (base 1.06x, +0.5%) 0.10x (base 0.11x, -11.2%) ok

Result: no regression

@shai-almog

shai-almog commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 303 screenshots: 303 matched.
Native Linux port (arm64), GTK3/Cairo/Pango, ParparVM bytecode-to-C (no JVM): the hellocodenameone screenshot suite rendered by a native ELF built + run on the GitHub arm64 runner. Baseline: scripts/linux/screenshots-arm.

ParparVM vs HotSpot (JDK 25): Linux arm64

Runner CPU: Neoverse-N2 (baseline linux-arm64@neoverse-n2)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in vm/selfhost/perf-baseline/ is a regression and fails; one that far below is an improvement, reported but not failed (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (LinuxHelloMain) 4 1.20x (base 1.02x, +17.5%) 0.79x (base 0.66x, +19.8%) ok
translator (self) 4 0.78x (base 0.70x, +12.3%) 0.44x (base 0.43x, +3.3%) ok
intArithmetic 4 1.04x (base 1.04x, -0.1%) 0.04x (base 0.03x, +7.5%) ok
longArithmetic 4 0.79x (base 0.79x, -0.1%) 0.03x (base 0.03x, +5.6%) ok
mathTranscendental 4 1.10x (base 1.10x, +0.3%) 0.04x (base 0.03x, +8.8%) ok
arraySequential 4 0.35x (base 0.36x, -2.5%) 0.37x (base 0.37x, +0.2%) ok
arrayRandom 4 0.94x (base 0.94x, -0.2%) 0.20x (base 0.20x, +0.5%) ok
objectAllocation 4 1.95x (base 1.77x, +10.4%) 0.36x (base 0.37x, -2.6%) ok
valueEscape 4 0.51x (base 0.51x, -0.1%) 0.03x (base 0.03x, +6.6%) ok
hashMapChurn 4 0.86x (base 0.84x, +1.6%) 0.12x (base 0.12x, -1.1%) ok
stringBuilding 4 1.36x (base 1.57x, -13.4%) 0.32x (base 0.26x, +20.6%) ok
recursion 4 1.57x (base 1.43x, +9.3%) 0.04x (base 0.04x, +3.4%) ok
quicksort 4 0.99x (base 0.99x, -0.5%) 0.09x (base 0.09x, +1.1%) ok

Result: no regression

@shai-almog

shai-almog commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 303 screenshots: 303 matched.
Native Windows port (arm64 / Apple Silicon - Arm): full hellocodenameone screenshot suite rendered offscreen with Direct2D/DirectWrite, plus the real benchmarks (base64 native/CN1/SIMD, image createMask/applyMask/modifyAlpha/PNG/JPEG, NEON SIMD kernels). Compared against the in-repo baseline in scripts/windows/screenshots.

Benchmark Results

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 54ms / native 3ms = 18.0x speedup
SIMD float-mul (64K x300) java 53ms / native 3ms = 17.6x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 native bridge unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Base64 CN1 encode 62.000 ms
Base64 CN1 decode 69.000 ms
Base64 SIMD encode 76.000 ms
Base64 encode ratio (SIMD/CN1) 1.226x (22.6% slower)
Base64 SIMD decode 68.000 ms
Base64 decode ratio (SIMD/CN1) 0.986x (1.4% faster)
Image encode benchmark iterations 100
Image createMask (SIMD off) 6.000 ms
Image createMask (SIMD on) 1.000 ms
Image createMask ratio (SIMD on/off) 0.167x (83.3% faster)
Image applyMask (SIMD off) 17.000 ms
Image applyMask (SIMD on) 16.000 ms
Image applyMask ratio (SIMD on/off) 0.941x (5.9% faster)
Image modifyAlpha (SIMD off) 16.000 ms
Image modifyAlpha (SIMD on) 11.000 ms
Image modifyAlpha ratio (SIMD on/off) 0.688x (31.3% faster)
Image modifyAlpha removeColor (SIMD off) 20.000 ms
Image modifyAlpha removeColor (SIMD on) 8.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.400x (60.0% faster)

ParparVM vs HotSpot (JDK 25): Windows arm64

Runner CPU: ARMv8 (64-bit) Family 8 Model D49 Revision 0, MICROSOFT CORPORATION (baseline windows-arm64@armv8-64-bit-family-8-model-d49-microsoft-corporation)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in vm/selfhost/perf-baseline/ is a regression and fails; one that far below is an improvement, reported but not failed (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (WinHelloMain) 4 1.42x (base 1.45x, -1.9%) 0.85x (base 0.75x, +12.6%) ok
translator (self) 4 0.87x (base 0.84x, +4.1%) 0.50x (base 0.51x, -1.1%) ok
intArithmetic 4 1.04x (base 1.04x, -0.1%) 0.06x (base 0.06x, +6.6%) ok
longArithmetic 4 0.79x (base 0.80x, -0.0%) 0.06x (base 0.06x, +7.0%) ok
mathTranscendental 4 0.73x (base 0.72x, +1.3%) 0.07x (base 0.06x, +4.7%) ok
arraySequential 4 0.37x (base 0.46x, -19.7%) 0.39x (base 0.39x, +0.3%) ok
arrayRandom 4 0.94x (base 0.94x, +0.3%) 0.23x (base 0.23x, +1.4%) ok
objectAllocation 4 1.84x (base 1.82x, +1.0%) 0.41x (base 0.43x, -5.5%) ok
valueEscape 4 0.76x (base 0.76x, +0.1%) 0.05x (base 0.05x, +7.2%) ok
hashMapChurn 4 0.98x (base 0.98x, -0.2%) 0.12x (base 0.12x, -1.8%) ok
stringBuilding 4 1.52x (base 1.43x, +6.4%) 0.27x (base 0.27x, -0.3%) ok
recursion 4 1.42x (base 1.46x, -2.9%) 0.07x (base 0.07x, +4.1%) ok
quicksort 4 1.01x (base 1.00x, +0.7%) 0.12x (base 0.12x, +1.9%) ok

Result: no regression

@shai-almog

shai-almog commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 286 screenshots: 286 matched.
✅ Native iOS Metal screenshot tests passed.

Benchmark Results

  • VM Translation Time: 0 seconds
  • Compilation Time: 3926 seconds

Build and Run Timing

Metric Duration
Simulator Boot 99000 ms
Simulator Boot (Run) 4000 ms
App Install 17000 ms
App Launch 6000 ms
Test Execution 710000 ms

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 442ms / native 7ms = 63.1x speedup
SIMD float-mul (64K x300) java 346ms / native 4ms = 86.5x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path active (NEON-accelerated)
Base64 CN1 encode 131.000 ms
Base64 CN1 decode 132.000 ms
Base64 native encode 3537.000 ms
Base64 encode ratio (CN1/native) 0.037x (96.3% faster)
Base64 native decode 2850.000 ms
Base64 decode ratio (CN1/native) 0.046x (95.4% faster)
Base64 SIMD encode 81.000 ms
Base64 encode ratio (SIMD/CN1) 0.618x (38.2% faster)
Base64 SIMD decode 171.000 ms
Base64 decode ratio (SIMD/CN1) 1.295x (29.5% slower)
Base64 encode ratio (SIMD/native) 0.023x (97.7% faster)
Base64 decode ratio (SIMD/native) 0.060x (94.0% faster)
Image encode benchmark iterations 100
Image createMask (SIMD off) 19.000 ms
Image createMask (SIMD on) 7.000 ms
Image createMask ratio (SIMD on/off) 0.368x (63.2% faster)
Image applyMask (SIMD off) 652.000 ms
Image applyMask (SIMD on) 581.000 ms
Image applyMask ratio (SIMD on/off) 0.891x (10.9% faster)
Image modifyAlpha (SIMD off) 219.000 ms
Image modifyAlpha (SIMD on) 789.000 ms
Image modifyAlpha ratio (SIMD on/off) 3.603x (260.3% slower)
Image modifyAlpha removeColor (SIMD off) 719.000 ms
Image modifyAlpha removeColor (SIMD on) 233.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.324x (67.6% faster)

shai-almog and others added 10 commits November 30, 2026 03:58
# Conflicts:
#	.github/workflows/purchase-e2e.yml
AFNetworking is archived and includes netinet6/in6.h directly, which the
iOS 27 SDK rejects when Clang modules are on (pods always build with
them). The packaging job and the developer guide now use MBProgressHUD,
and the guide says why an unmaintained pod can stop building.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- HttpServer.stop(): the drain sweep closed every live connection's
  descriptor and left it registered, so drop() closed the number a second
  time - by then possibly an unrelated socket. The backend self-test's
  outbound call to a peer answering pong came back with a stopped server's
  ok. The sweep now shuts the socket down; drop() closes it once.
- Simulator CEF: disable the Fontations font backend on every platform,
  not just macOS. Linux x86-64 died with SIGILL in libcef.so right after
  a sample loaded a custom font, the macOS failure on another CPU.
- android-gesture-nav.sh: judge the navigation bar in dp. A bar already
  gestural when first measured could never shrink below itself, and the
  script restarted SystemUI until it failed a correct emulator.
- UtilCoverageTest: retry the dialog dispose until showOn returns; one
  dispose queued before the dialog was current left it open forever.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ehind

The drain sweep now only shuts connections down, so an idle reactor
connection, which has no worker to drop it, stayed open when stop()
returned with handlers still running. A daemon thread now waits for the
last handler to leave and runs the same release as the normal path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The merge kept a step-level CN1_XCODE_MAJOR of 16, which overrode the
matrix and sent the StoreKit 2 leg looking for Xcode 16 on the Xcode 27
image. The StoreKit 1 leg now names 26 in the matrix, what it ran on
before xcode.sh defaulted to 27.

The nightly watchdog only matches a quoted '11 0 * * *', so the merged
samples nightly was invisible to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…has it

Master disabled it (its capture raced the hover repaint); the branch's
older registration had turned it back on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…overageTest

Master removed the test's manifest entries and goldens with it; the
branch still had them, so port_status reported a manifest test the suite
never registers. The UtilCoverageTest edit brought the file into the
diff-scoped header gate, which it had never passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…est entries

eb95453 and 9b54b7a turned it off on the claim that its goldens never
showed the tooltip. They do (Aug / Sales 77 / Target 70 on every
platform), and the test already captures 500 ms after the hover repaint.
Re-enabling it is part of this PR. The UtilCoverageTest header stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tree

The cache post step evaluates hashFiles again after the build, and on a
macOS runner walking the generated Xcode and Pods trees passed GitHub's
120s limit, failing the input validation job after its tests passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog
shai-almog merged commit 7157096 into master Nov 30, 2026
58 of 101 checks passed
@shai-almog
shai-almog deleted the ci-unify-precheck branch November 30, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant