Skip to content

refactor(fspy-shm): adopt fspy_nostd on Unix - #664

Merged
wan9chi merged 5 commits into
mainfrom
agent/fspy-shm-unix-adoption
Aug 13, 2026
Merged

refactor(fspy-shm): adopt fspy_nostd on Unix#664
wan9chi merged 5 commits into
mainfrom
agent/fspy-shm-unix-adoption

Conversation

@wan9chi

@wan9chi wan9chi commented Aug 13, 2026

Copy link
Copy Markdown
Member

Motivation

The injected runtime needs the Unix kernel-facing shared-memory operations to be reusable without Rust std or libc on Linux. This PR routes open, stat, mapping, creation, resizing, and removal through fspy_nostd as one vertical change. The existing fspy_shm public API and Windows implementation remain unchanged, and every added primitive is immediately consumed.

@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown

fspy benchmark

linux

dynamic/launch             change  +0.25%  [ -2.81% ..  +4.49%]  overhead   +48.21%
dynamic/access             change  +0.28%  [ -0.70% ..  +1.35%]  overhead    +6.64%
dynamic/access-relative    change  -0.19%  [ -0.92% ..  +0.51%]  overhead   +46.85%
static/launch              change  +0.18%  [ -3.76% ..  +4.64%]  overhead  +143.50%
static/access              change  -0.44%  [ -1.29% ..  +0.67%]  overhead  +812.31%
static/access-relative     change  -0.24%  [ -0.94% ..  +0.68%]  overhead +1319.28%

macos

dynamic/launch             change  -0.11%  [ -4.06% ..  +4.76%]  overhead  +218.87%
dynamic/access             change  -1.68%  [ -5.88% ..  +3.62%]  overhead    +3.62%
dynamic/access-relative    change  +5.64%  [ -8.43% .. +18.55%]  overhead  +260.52%

windows

dynamic/launch             change  -0.24%  [ -7.57% ..  +6.42%]  overhead   +23.98%
dynamic/access             change  +0.18%  [ -9.40% .. +20.80%]  overhead    +1.63%
dynamic/access-relative    change  -0.17%  [ -7.61% ..  +5.56%]  overhead    +2.18%

Base automatically changed from agent/fspy-shm-platform-split-v2 to main August 13, 2026 04:01
@wan9chi
wan9chi force-pushed the agent/fspy-shm-unix-adoption branch from b3034ff to 7e940df Compare August 13, 2026 04:01
Co-authored-by: GPT-5 Codex <codex@openai.com>
@wan9chi
wan9chi force-pushed the agent/fspy-shm-unix-adoption branch from 7e940df to c8a6335 Compare August 13, 2026 04:02
wan9chi and others added 4 commits August 13, 2026 12:10
Co-authored-by: GPT-5 Codex <codex@openai.com>
Co-authored-by: GPT-5 Codex <codex@openai.com>
Co-authored-by: GPT-5 Codex <codex@openai.com>
Co-authored-by: GPT-5 Codex <codex@openai.com>
@wan9chi
wan9chi marked this pull request as ready for review August 13, 2026 04:55
@wan9chi
wan9chi merged commit 235d2e4 into main Aug 13, 2026
19 checks passed
@wan9chi
wan9chi deleted the agent/fspy-shm-unix-adoption branch August 13, 2026 04:55
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