Skip to content

test-backend-ops: improve msvc build time#18209

Merged
jeffbolznv merged 1 commit intoggml-org:masterfrom
jeffbolznv:test_backend_ops_pragma
Dec 20, 2025
Merged

test-backend-ops: improve msvc build time#18209
jeffbolznv merged 1 commit intoggml-org:masterfrom
jeffbolznv:test_backend_ops_pragma

Conversation

@jeffbolznv
Copy link
Copy Markdown
Contributor

Incremental build time for test-backend-ops with msvc has gotten much worse as make_test_cases_eval has gotten larger, it seems to be hitting some non-linear time thing in the compiler. This change disables optimizations for that function to workaround it.

before:
========== Build started at 4:10 PM and took 31.201 seconds ==========

after:
========== Build started at 4:09 PM and took 05.400 seconds ==========

Another option would be to split this function into smaller functions. I experimented with this and it helps, not quite as much, and is a more disruptive change that may still regress in the future. So I think the pragma would be better.

@jeffbolznv jeffbolznv merged commit 5182dd6 into ggml-org:master Dec 20, 2025
71 checks passed
Anico2 added a commit to Anico2/llama.cpp that referenced this pull request Jan 15, 2026
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Everything test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants