Skip to content

Tests: benchmark allocator contention across workers - #245

Draft
bmjask wants to merge 1 commit into
stack/241-feature-perf-variantsfrom
stack/242-allocator-contention-bench
Draft

bmjask wants to merge 1 commit into
stack/241-feature-perf-variantsfrom
stack/242-allocator-contention-bench

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #244.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates tests: benchmark allocator contention across workers as one reviewable step in the redesign.

What is in it

  • 73df1c7d is part of this logical unit.

Tested

The complete rewritten tail was verified tree-identical to integrated commit 963dcdca. Tests were not rerun during stack packaging.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, rebased the existing logical change onto the cleaned stack, verified final tree identity, created the stack branch, and drafted this description.

@bmjask
bmjask force-pushed the stack/241-feature-perf-variants branch from f44ebd8 to ebb07b3 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/242-allocator-contention-bench branch from 73df1c7 to e53dbce Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/241-feature-perf-variants branch from ebb07b3 to 8fd9630 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/242-allocator-contention-bench branch from e53dbce to 74f36d7 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/241-feature-perf-variants branch from 8fd9630 to a6b9510 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/242-allocator-contention-bench branch from 74f36d7 to 4fdb226 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/241-feature-perf-variants branch from a6b9510 to 9903880 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/242-allocator-contention-bench branch 2 times, most recently from 8c75d75 to 667d4d6 Compare November 27, 2026 12:44
Measure a bounded PSO-job-like mix of Box, Arc, Vec, and String allocations with a single-thread control and persistent worker threads. Thread creation stays outside measured iterations so allocator A/B runs report job throughput instead of startup cost.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/241-feature-perf-variants branch from 242d75e to fc5d97e Compare November 27, 2026 12:52
@bmjask
bmjask force-pushed the stack/242-allocator-contention-bench branch from 667d4d6 to b6ced9b Compare November 27, 2026 12:52
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.

1 participant