Vergir (talk | contribs)
Add ItemBox layer profiling galleries: six configurations of ten items to measure the cost of the mask passes and the texture blend (with help from vergir-bot LLM)
(it's vergir)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
test
 
= Holliday =
{{HeroStreetBrawlItems|Holliday|id=sb-items-holliday}}
 
= Vindicta (has counter items) =
{{HeroStreetBrawlItems|Vindicta|id=sb-items-vindicta}}
 
= ItemBox layer profiling =
 
Six configurations of the same ten items. Each masked layer costs the GPU a separate render pass per card, and the texture's <code>mix-blend-mode: multiply</code> costs a backdrop read, so every section below removes one or more of those.
 
To profile: scroll through one section, '''pause about two seconds''', then move to the next. The pauses segment the recording so each section can be measured separately from a single capture.
 
Note that section 2 keeps the per-tier tint but applies it flat across the whole card, so it will look heavier than anything we would ship. The opacity needs tuning once we know whether the layer is worth keeping at all.
 
== 1. Baseline ==
Wear mask, icon mask and texture blend all present, as on every other page.
 
{{ItemBox|itemName=Active Reload}} {{ItemBox|itemName=Alchemical Fire}} {{ItemBox|itemName=Arctic Blast}} {{ItemBox|itemName=Berserker}} {{ItemBox|itemName=Bullet Armor}} {{ItemBox|itemName=Cheat Death}} {{ItemBox|itemName=Colossus}} {{ItemBox|itemName=Crippling Headshot}} {{ItemBox|itemName=Divine Barrier}} {{ItemBox|itemName=Echo Shard}}
 
== 2. Flat wear ==
<code>wearMask=no</code> — tint kept, mask dropped. One fewer render pass per card.
 
{{ItemBox|itemName=Active Reload|wearMask=no}} {{ItemBox|itemName=Alchemical Fire|wearMask=no}} {{ItemBox|itemName=Arctic Blast|wearMask=no}} {{ItemBox|itemName=Berserker|wearMask=no}} {{ItemBox|itemName=Bullet Armor|wearMask=no}} {{ItemBox|itemName=Cheat Death|wearMask=no}} {{ItemBox|itemName=Colossus|wearMask=no}} {{ItemBox|itemName=Crippling Headshot|wearMask=no}} {{ItemBox|itemName=Divine Barrier|wearMask=no}} {{ItemBox|itemName=Echo Shard|wearMask=no}}
 
== 3. No icon mask ==
<code>iconMask=no</code> — icons render as plain squares. One fewer render pass per card.
 
{{ItemBox|itemName=Active Reload|iconMask=no}} {{ItemBox|itemName=Alchemical Fire|iconMask=no}} {{ItemBox|itemName=Arctic Blast|iconMask=no}} {{ItemBox|itemName=Berserker|iconMask=no}} {{ItemBox|itemName=Bullet Armor|iconMask=no}} {{ItemBox|itemName=Cheat Death|iconMask=no}} {{ItemBox|itemName=Colossus|iconMask=no}} {{ItemBox|itemName=Crippling Headshot|iconMask=no}} {{ItemBox|itemName=Divine Barrier|iconMask=no}} {{ItemBox|itemName=Echo Shard|iconMask=no}}
 
== 4. Flat wear and no icon mask ==
Both masks gone. Two fewer render passes per card.
 
{{ItemBox|itemName=Active Reload|wearMask=no|iconMask=no}} {{ItemBox|itemName=Alchemical Fire|wearMask=no|iconMask=no}} {{ItemBox|itemName=Arctic Blast|wearMask=no|iconMask=no}} {{ItemBox|itemName=Berserker|wearMask=no|iconMask=no}} {{ItemBox|itemName=Bullet Armor|wearMask=no|iconMask=no}} {{ItemBox|itemName=Cheat Death|wearMask=no|iconMask=no}} {{ItemBox|itemName=Colossus|wearMask=no|iconMask=no}} {{ItemBox|itemName=Crippling Headshot|wearMask=no|iconMask=no}} {{ItemBox|itemName=Divine Barrier|wearMask=no|iconMask=no}} {{ItemBox|itemName=Echo Shard|wearMask=no|iconMask=no}}
 
== 5. No texture ==
<code>texture=no</code> — masks intact, blend dropped. One fewer backdrop read per card.
 
{{ItemBox|itemName=Active Reload|texture=no}} {{ItemBox|itemName=Alchemical Fire|texture=no}} {{ItemBox|itemName=Arctic Blast|texture=no}} {{ItemBox|itemName=Berserker|texture=no}} {{ItemBox|itemName=Bullet Armor|texture=no}} {{ItemBox|itemName=Cheat Death|texture=no}} {{ItemBox|itemName=Colossus|texture=no}} {{ItemBox|itemName=Crippling Headshot|texture=no}} {{ItemBox|itemName=Divine Barrier|texture=no}} {{ItemBox|itemName=Echo Shard|texture=no}}
 
== 6. Everything off ==
The floor. Whatever lag remains here is not coming from masks or blending.
 
{{ItemBox|itemName=Active Reload|wearMask=no|iconMask=no|texture=no}} {{ItemBox|itemName=Alchemical Fire|wearMask=no|iconMask=no|texture=no}} {{ItemBox|itemName=Arctic Blast|wearMask=no|iconMask=no|texture=no}} {{ItemBox|itemName=Berserker|wearMask=no|iconMask=no|texture=no}} {{ItemBox|itemName=Bullet Armor|wearMask=no|iconMask=no|texture=no}} {{ItemBox|itemName=Cheat Death|wearMask=no|iconMask=no|texture=no}} {{ItemBox|itemName=Colossus|wearMask=no|iconMask=no|texture=no}} {{ItemBox|itemName=Crippling Headshot|wearMask=no|iconMask=no|texture=no}} {{ItemBox|itemName=Divine Barrier|wearMask=no|iconMask=no|texture=no}} {{ItemBox|itemName=Echo Shard|wearMask=no|iconMask=no|texture=no}}