Skip to content

Only call load_inst during tracing.#142

Merged
vext01 merged 1 commit intoykjit:mainfrom
ltratt:only_promote_if
Mar 24, 2026
Merged

Only call load_inst during tracing.#142
vext01 merged 1 commit intoykjit:mainfrom
ltratt:only_promote_if

Conversation

@ltratt
Copy link
Contributor

@ltratt ltratt commented Mar 23, 2026

When we're interpreting, load_inst and its associated yk_promotes are slow. This commit only pays that cost during tracing: this speeds up json by ~4% and a few other benchmarks by a smaller amount (possibly statistically insignificant, but I think there's a small, genuine signal there).

When we're interpreting, `load_inst` and its associated `yk_promote`s
are slow. This commit only pays that cost during tracing: this speeds up
json by ~4% and a few other benchmarks by a smaller amount (possibly
statistically insignificant, but I think there's a small, genuine signal
there).
@vext01 vext01 added this pull request to the merge queue Mar 24, 2026
Merged via the queue into ykjit:main with commit ae04abb Mar 24, 2026
2 checks passed
@ltratt ltratt deleted the only_promote_if branch March 24, 2026 13:39
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.

2 participants