Skip to content

Enable UIScene by default#4786

Merged
shai-almog merged 5 commits intomasterfrom
enable-uiscene-by-default
Apr 21, 2026
Merged

Enable UIScene by default#4786
shai-almog merged 5 commits intomasterfrom
enable-uiscene-by-default

Conversation

@shai-almog
Copy link
Copy Markdown
Collaborator

Fixes #4731

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

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

Developer Guide quality checks:

  • AsciiDoc linter: No issues found (report)
  • Vale: 15058 alert(s) (1097 errors, 4449 warnings, 9512 suggestions) (exit code 1) (report)
  • Image references: No unused images detected (report)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

✅ Continuous Quality Report

Test & Coverage

Static Analysis

Generated automatically by the PR CI workflow.

@shai-almog
Copy link
Copy Markdown
Collaborator Author

shai-almog commented Apr 21, 2026

Compared 37 screenshots: 37 matched.

Native Android coverage

  • 📊 Line coverage: 7.86% (4161/52962 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 6.17% (20571/333306), branch 3.00% (965/32144), complexity 3.66% (1124/30738), method 6.42% (920/14331), class 10.63% (202/1900)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6327 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.ClassReader – 0.00% (0/1519 lines covered)
      • kotlin.collections.kotlin.collections.CollectionsKt___CollectionsKt – 0.00% (0/1148 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.MethodWriter – 0.00% (0/923 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/730 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/623 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.Frame – 0.00% (0/564 lines covered)
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysJvmKt – 0.00% (0/495 lines covered)
      • kotlinx.coroutines.kotlinx.coroutines.JobSupport – 0.00% (0/423 lines covered)

✅ Native Android screenshot tests passed.

Native Android coverage

  • 📊 Line coverage: 7.86% (4161/52962 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 6.17% (20571/333306), branch 3.00% (965/32144), complexity 3.66% (1124/30738), method 6.42% (920/14331), class 10.63% (202/1900)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6327 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.ClassReader – 0.00% (0/1519 lines covered)
      • kotlin.collections.kotlin.collections.CollectionsKt___CollectionsKt – 0.00% (0/1148 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.MethodWriter – 0.00% (0/923 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/730 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/623 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.Frame – 0.00% (0/564 lines covered)
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysJvmKt – 0.00% (0/495 lines covered)
      • kotlinx.coroutines.kotlinx.coroutines.JobSupport – 0.00% (0/423 lines covered)

Benchmark Results

Detailed Performance Metrics

Metric Duration
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 native encode 1053.000 ms
Base64 CN1 encode 131.000 ms
Base64 encode ratio (CN1/native) 0.124x (87.6% faster)
Base64 native decode 584.000 ms
Base64 CN1 decode 344.000 ms
Base64 decode ratio (CN1/native) 0.589x (41.1% faster)
Image encode benchmark status skipped (SIMD unsupported)

@shai-almog
Copy link
Copy Markdown
Collaborator Author

shai-almog commented Apr 21, 2026

Compared 37 screenshots: 37 matched.
✅ Native iOS screenshot tests passed.

Benchmark Results

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

Build and Run Timing

Metric Duration
Simulator Boot 71000 ms
Simulator Boot (Run) 1000 ms
App Install 31000 ms
App Launch 7000 ms
Test Execution 198000 ms

Detailed Performance Metrics

Metric Duration
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 native encode 1637.000 ms
Base64 CN1 encode 2105.000 ms
Base64 encode ratio (CN1/native) 1.286x (28.6% slower)
Base64 native decode 1033.000 ms
Base64 CN1 decode 1426.000 ms
Base64 decode ratio (CN1/native) 1.380x (38.0% slower)
Base64 SIMD encode 619.000 ms
Base64 encode ratio (SIMD/native) 0.378x (62.2% faster)
Base64 encode ratio (SIMD/CN1) 0.294x (70.6% faster)
Base64 SIMD decode 804.000 ms
Base64 decode ratio (SIMD/native) 0.778x (22.2% faster)
Base64 decode ratio (SIMD/CN1) 0.564x (43.6% faster)
Image encode benchmark iterations 100
Image createMask (SIMD off) 60.000 ms
Image createMask (SIMD on) 11.000 ms
Image createMask ratio (SIMD on/off) 0.183x (81.7% faster)
Image applyMask (SIMD off) 246.000 ms
Image applyMask (SIMD on) 81.000 ms
Image applyMask ratio (SIMD on/off) 0.329x (67.1% faster)
Image modifyAlpha (SIMD off) 209.000 ms
Image modifyAlpha (SIMD on) 154.000 ms
Image modifyAlpha ratio (SIMD on/off) 0.737x (26.3% faster)
Image modifyAlpha removeColor (SIMD off) 254.000 ms
Image modifyAlpha removeColor (SIMD on) 94.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.370x (63.0% faster)
Image PNG encode (SIMD off) 1140.000 ms
Image PNG encode (SIMD on) 947.000 ms
Image PNG encode ratio (SIMD on/off) 0.831x (16.9% faster)
Image JPEG encode 556.000 ms

@shai-almog shai-almog force-pushed the enable-uiscene-by-default branch from 04f484f to 161324d Compare April 21, 2026 12:39
@shai-almog shai-almog force-pushed the enable-uiscene-by-default branch from 161324d to 1e68331 Compare April 21, 2026 14:35
@shai-almog shai-almog merged commit c620aa0 into master Apr 21, 2026
23 of 28 checks passed
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.

Flip the UIScene default to on by default and remove the off mode testing

1 participant