[llvm] Add benchmark scripts for lit performance measurement (PR #197347)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 2 04:52:55 PDT 2026
================
----------------
prasoon054 wrote:
`os.sched_setaffinity` and `os.setpriority` are unix-only. They raise `AttributeError` here. There's no stdlib cross-platform affinity API, so Windows needs the `kernel32` calls.
`psutil` would give a cross-platform API, but it still wouldn't unify the code. Linux keeps `cset shield`. So we'd still branch per platform.
https://github.com/llvm/llvm-project/pull/197347
More information about the llvm-commits
mailing list