GitHub PRs 3043 and 2785 (pool import cost) are missing from Longshot: measured on the Market entry #330
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/upscaling
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
testing wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#330
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two pool-import fixes were merged into Hookshot on GitHub on 2026-11-13. They didn't make it into Longshot, because Longshot's main branched from
4dd972a8, before that night's merges. Nobody has re-sent them here yet:I measured them on Longshot, because they target the biggest part of the stutter when the Market first comes into view.
Where the Market entry's time goes on main (
514591a3)I used
RX_VK_FRAME_TRACE=1plus the all-thread sampler (HOS_SAMPLE_ALL, with the samples aligned to the presents) on the late presents of the Market entry. The Presentation_Thread spends 24% of its samples waiting inmkwvk::import_pool, and 25-43% in the two biggest frames (369 and 422 ms). The rest is spread overUnswizzleTexture,upload_inner,BindImageMemoryandLowerToMaxwellWith. In this run every import took 7-15 ms, all of it invkAllocateMemory.A/B
514591a3, plus three env-gated test-logging commits of mine (a present-time log, and the sampler on the same clock). B is A plus 771a9e46 and 5192732a, both cherry-picked cleanly.HOS_INPUT_EXCLUSIVE=1), with disks idle before each run.slow uploadlines per runvk: importlines)So the entry's frames are much shorter, but there are about as many of them. B still has a few slow imports (
allocate16-50 ms) that PR 3043 doesn't cover.Notes
5b81a8a1), 771a9e46 has a one-line conflict: both sides add an#includeat the same place invk_memory.cpp(mirror_budget.handimport_fence.h). Keeping both is enough. On that base,tests/run_all.py import_fence import_buffer_binding image_view_retry mirror_trim upload texture_staginggives 7 passed (Windows).@jarynclouatre @FIocker, would you re-send these here? If it's easier, I can open a PR with your two commits as they are (authorship kept).