Files
metal2vulkan/crates/metal2vulkan-conformance/recordings/argument-encoder-array-element.json
T
Anees Iqbal 7b834bbef3 Record the timing of every case in one batched pass
Content: the tree of `development` at 38768bb226, unchanged.
2026-10-26 13:19:13 +02:00

690 lines
21 KiB
JSON

{
"format": 1,
"case": "argument-encoder-array-element",
"suite_version": 1,
"shaders": [
{
"fixture": "px_samplers.ll",
"entry": "px_sample_argument",
"source_sha256": "8c4a0024c9ba10e25d2487017101ff9a6437a48c58602537d0a41ee693e32f20"
},
{
"fixture": "px_samplers.air.ll",
"entry": "px_sample_argument",
"source_sha256": "5cedd165bee51449aaab252183a73661902625d2ddf8aa9fa5582f605ea564b1"
}
],
"answers": [
{
"key": {
"chip": "apple-m3-max",
"os_version": "27.0.1",
"os_build": "26A434",
"metal_level": "27.0.1"
},
"provenance": "metal_run",
"device": "Apple M3 Max",
"runs": 3,
"outcomes": [
{
"runs": 3,
"transcript": {
"root": {
"name": "case",
"observed": {
"value": "absent"
},
"children": [
{
"name": "inputs",
"observed": {
"value": "absent"
},
"children": [
{
"name": "air",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "8c4a0024c9ba10e25d2487017101ff9a6437a48c58602537d0a41ee693e32f20"
}
}
},
{
"name": "air-typed",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "5cedd165bee51449aaab252183a73661902625d2ddf8aa9fa5582f605ea564b1"
}
}
},
{
"name": "texture",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "dcd170e546734249218eb80f0abe0ea42fcb706c78b8729a612dd01f9c83bd9c"
}
}
},
{
"name": "buffer:coordinates",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "81ee2cc64601d5125d54053878ff828ce54f2b5fbd00bedec9095777757b1c28"
}
}
},
{
"name": "sampler",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "1fe49d153be76f3ad0f109b0e495a7b49d0623845e19205b2a23566bb876a677"
}
}
},
{
"name": "buffer:output",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "1080e279b51b8594a78556e2fdb4dfe9ca82ac2fbab5007de2bac4213c2e1f92"
}
}
},
{
"name": "buffer:arguments",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "1080e279b51b8594a78556e2fdb4dfe9ca82ac2fbab5007de2bac4213c2e1f92"
}
}
},
{
"name": "layout",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "25ef025302969e587a0de30c4297721141f7f1e822c78a77170349fa516217bf"
}
}
},
{
"name": "writes",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "977ab2205efcd65148216e287019a92ffa1141e36543250774ba9e34fad45cbf"
}
}
},
{
"name": "dispatch",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "48443c868f27fd5d4e1749506108b7419f6c508bd93fa3cb4f99b5745241e476"
}
}
}
]
},
{
"name": "library",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "pipeline",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "texture",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "sampler",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "buffer/coordinates",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "buffer/output",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "buffer/arguments",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "encoder",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "facts",
"observed": {
"value": "absent"
},
"children": [
{
"name": "encoded_length",
"observed": {
"value": {
"uint": 16
}
}
},
{
"name": "alignment",
"observed": {
"value": {
"uint": 8
}
}
},
{
"name": "label",
"observed": {
"value": {
"variant": {
"name": "Some",
"payload": {
"lines": [
"conformance-argument-encoder"
]
}
}
}
}
},
{
"name": "device",
"observed": {
"value": {
"bool": true
}
}
}
]
},
{
"name": "setArgumentBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "write/0-setTexture",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "write/1-setSamplerState",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "read-back",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "changed-words",
"observed": {
"value": {
"bytes": "AAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
},
"shape": {
"bytes": {
"region": {
"buffer": {
"offset": 0,
"length": 256
}
},
"element": "u8",
"row_offset": 0,
"row_elements": 32,
"row_pitch": 32,
"rows": 1,
"image_pitch": 32,
"images": 1,
"gaps": "compared"
}
}
}
},
{
"name": "notices",
"observed": {
"value": "absent"
},
"children": [
{
"name": "set",
"observed": {
"value": {
"nothing": "announced_nothing"
}
}
},
{
"name": "counts",
"observed": {
"value": {
"fields": {}
}
}
}
]
}
]
}
}
}
],
"validated": "ran"
}
],
"times": [
{
"leg": "metal",
"venue": "native Metal",
"chip": "apple-m3-max",
"os_build": "26A434",
"rounds": 8,
"measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 2.74 and ours at 3.46; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other",
"instrument": 275,
"times": {
"case": "argument-encoder-array-element",
"calls": 13,
"in_calls": 24607915,
"on_cpu": 945170,
"blocked": 23626750,
"elsewhere": 1542,
"spend": 24608582,
"spend_least": 24082206,
"spend_most": 32801999,
"per_call": [
{
"call": "argument_encoder",
"least_calls": 1,
"most_calls": 1,
"wall": 30709,
"on_cpu": 30959,
"blocked": 0,
"wall_least": 28250,
"wall_most": 42958,
"wall_total": 30709,
"on_cpu_total": 30959,
"blocked_total": 0
},
{
"call": "argument_encoder_facts",
"least_calls": 1,
"most_calls": 1,
"wall": 22000,
"on_cpu": 22167,
"blocked": 0,
"wall_least": 20791,
"wall_most": 26625,
"wall_total": 22000,
"on_cpu_total": 22167,
"blocked_total": 0
},
{
"call": "buffer",
"least_calls": 3,
"most_calls": 3,
"wall": 6416,
"on_cpu": 6542,
"blocked": 0,
"wall_least": 6083,
"wall_most": 9625,
"wall_total": 23834,
"on_cpu_total": 24293,
"blocked_total": 0
},
{
"call": "compute_pipeline",
"least_calls": 1,
"most_calls": 1,
"wall": 90458,
"on_cpu": 90750,
"blocked": 0,
"wall_least": 74291,
"wall_most": 132208,
"wall_total": 90458,
"on_cpu_total": 90750,
"blocked_total": 0
},
{
"call": "encode_argument",
"least_calls": 2,
"most_calls": 2,
"wall": 4250,
"on_cpu": 4417,
"blocked": 0,
"wall_least": 4041,
"wall_most": 5125,
"wall_total": 13042,
"on_cpu_total": 13376,
"blocked_total": 0
},
{
"call": "library",
"least_calls": 1,
"most_calls": 1,
"wall": 24333375,
"on_cpu": 665416,
"blocked": 23626750,
"wall_least": 23807583,
"wall_most": 32417000,
"wall_total": 24333375,
"on_cpu_total": 665416,
"blocked_total": 23626750
},
{
"call": "read_buffer",
"least_calls": 1,
"most_calls": 1,
"wall": 3375,
"on_cpu": 3500,
"blocked": 0,
"wall_least": 3250,
"wall_most": 4083,
"wall_total": 3375,
"on_cpu_total": 3500,
"blocked_total": 0
},
{
"call": "sampler",
"least_calls": 1,
"most_calls": 1,
"wall": 35959,
"on_cpu": 36125,
"blocked": 0,
"wall_least": 33500,
"wall_most": 41792,
"wall_total": 35959,
"on_cpu_total": 36125,
"blocked_total": 0
},
{
"call": "set_argument_buffer",
"least_calls": 1,
"most_calls": 1,
"wall": 5250,
"on_cpu": 5375,
"blocked": 0,
"wall_least": 4875,
"wall_most": 8541,
"wall_total": 5250,
"on_cpu_total": 5375,
"blocked_total": 0
},
{
"call": "texture_2d_in_role",
"least_calls": 1,
"most_calls": 1,
"wall": 51125,
"on_cpu": 51375,
"blocked": 0,
"wall_least": 46708,
"wall_most": 77541,
"wall_total": 51125,
"on_cpu_total": 51375,
"blocked_total": 0
}
]
}
},
{
"leg": "ours",
"venue": "Apple M3 Max",
"chip": "apple-m3-max",
"os_build": "26A434",
"rounds": 8,
"measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 2.74 and ours at 3.46; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other",
"instrument": 269,
"times": {
"case": "argument-encoder-array-element",
"calls": 13,
"in_calls": 2930125,
"on_cpu": 2936416,
"blocked": 0,
"elsewhere": 1042,
"spend": 2931583,
"spend_least": 2758041,
"spend_most": 3320793,
"per_call": [
{
"call": "argument_encoder",
"least_calls": 1,
"most_calls": 1,
"wall": 1216792,
"on_cpu": 1217166,
"blocked": 0,
"wall_least": 1158667,
"wall_most": 1296125,
"wall_total": 1216792,
"on_cpu_total": 1217166,
"blocked_total": 0
},
{
"call": "argument_encoder_facts",
"least_calls": 1,
"most_calls": 1,
"wall": 917,
"on_cpu": 1042,
"blocked": 0,
"wall_least": 875,
"wall_most": 1833,
"wall_total": 917,
"on_cpu_total": 1042,
"blocked_total": 0
},
{
"call": "buffer",
"least_calls": 3,
"most_calls": 3,
"wall": 6000,
"on_cpu": 6208,
"blocked": 0,
"wall_least": 5416,
"wall_most": 6750,
"wall_total": 25375,
"on_cpu_total": 25959,
"blocked_total": 0
},
{
"call": "compute_pipeline",
"least_calls": 1,
"most_calls": 1,
"wall": 203541,
"on_cpu": 203875,
"blocked": 0,
"wall_least": 181708,
"wall_most": 303209,
"wall_total": 203541,
"on_cpu_total": 203875,
"blocked_total": 0
},
{
"call": "encode_argument",
"least_calls": 2,
"most_calls": 2,
"wall": 2417,
"on_cpu": 2541,
"blocked": 0,
"wall_least": 2250,
"wall_most": 3542,
"wall_total": 9666,
"on_cpu_total": 10000,
"blocked_total": 0
},
{
"call": "library",
"least_calls": 1,
"most_calls": 1,
"wall": 1323375,
"on_cpu": 1327208,
"blocked": 0,
"wall_least": 1249542,
"wall_most": 1484250,
"wall_total": 1323375,
"on_cpu_total": 1327208,
"blocked_total": 0
},
{
"call": "read_buffer",
"least_calls": 1,
"most_calls": 1,
"wall": 500,
"on_cpu": 625,
"blocked": 0,
"wall_least": 417,
"wall_most": 667,
"wall_total": 500,
"on_cpu_total": 625,
"blocked_total": 0
},
{
"call": "sampler",
"least_calls": 1,
"most_calls": 1,
"wall": 12875,
"on_cpu": 13041,
"blocked": 0,
"wall_least": 11584,
"wall_most": 18250,
"wall_total": 12875,
"on_cpu_total": 13041,
"blocked_total": 0
},
{
"call": "set_argument_buffer",
"least_calls": 1,
"most_calls": 1,
"wall": 1167,
"on_cpu": 1292,
"blocked": 0,
"wall_least": 1041,
"wall_most": 1667,
"wall_total": 1167,
"on_cpu_total": 1292,
"blocked_total": 0
},
{
"call": "texture_2d_in_role",
"least_calls": 1,
"most_calls": 1,
"wall": 129250,
"on_cpu": 129542,
"blocked": 0,
"wall_least": 117458,
"wall_most": 197834,
"wall_total": 129250,
"on_cpu_total": 129542,
"blocked_total": 0
}
]
}
}
]
}