XML vs Hikage View Tree Benchmark

Merged from 1 benchmark JSON file(s) 7 benchmark cases
Generated at 2026-07-01 04:55:44 UTC
Devices1
Benchmarks7
Fastest medianHikage 210 views with attrs: 72.000 ms
Slowest medianDemo Hikage layout: 305.068 ms

Source JSON

DeviceCasesFile
HUAWEI EVA-AL107/Users/fankes/Projects/Libraries/Android/Hikage/samples/demo-benchmark/build/outputs/hikage_benchmark/releaseAndroidTest/additional_test_output/com.highcapable.hikage.benchmark.test-benchmarkData.json

HUAWEI EVA-AL10

API 26 ยท 7 cases

Metrics

CaseGroupMinMedianMaxCVAlloc MedianWarmupRepeat
XML 210 views210 View Tree75.878 ms79.477 ms98.543 ms8.19%50,3591241
Hikage 210 views210 View Tree56.661 ms75.218 ms86.095 ms7.85%52,4001542
Hikage 210 views with attrs210 View Tree67.692 ms72.000 ms91.798 ms8.74%52,1171061
Hikage 210 views fully attrs210 View Tree96.458 ms99.714 ms125.929 ms8.14%74,298971
Hikage 210 views full view attrs210 View Tree95.623 ms98.352 ms123.544 ms8.25%72,567981
Demo XML layoutDemo Layout256.618 ms293.131 ms366.565 ms8.73%70,439301
Demo Hikage layoutDemo Layout275.541 ms305.068 ms367.296 ms7.10%86,895311

XML Baseline Ratios

CaseBaselineMedian TimeMin TimeAllocationsAllocation Ratio
Hikage 210 viewsXML 210 views0.95x0.75x52,4001.04x
Hikage 210 views with attrsXML 210 views0.91x0.89x52,1171.03x
Hikage 210 views fully attrsXML 210 views1.25x1.27x74,2981.48x
Hikage 210 views full view attrsXML 210 views1.24x1.26x72,5671.44x
Demo Hikage layoutDemo XML layout1.04x1.07x86,8951.23x