| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| "PyUnstable_PerfTrampoline_CompileCode", | ||
| "PyUnstable_PerfTrampoline_SetPersistAfterFork", |
There was a problem hiding this comment.
Here too?
Sorry, something went wrong.
|
@pablogsal , @gpshead Would love to hear your thoughts on this (whenever you get a chance to take a look) :) |
Sorry, something went wrong.
|
Ok I resolved the merge conflict, but I think the new MacOS failure is unrelated. |
Sorry, something went wrong.
Head branch was pushed to by a user without write access
|
@gsallam We still have some failures in the Windows and macOS CI. I think this is because the symbol doesn't exist in those cases: _testinternalcapi.obj : error LNK2019: unresolved external symbol __imp_PyUnstable_PerfTrampoline_CompileCode referenced in function compile_perf_trampoline_entry [D:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
D:\a\cpython\cpython\PCbuild\amd64\_testinternalcapi_d.pyd : fatal error LNK1120: 1 unresolved externals [D:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
0 Warning(s)
2 Error(s)
|
Sorry, something went wrong.
Summary: As titled. To be on sync with python/cpython#109666. Reviewed By: czardoz Differential Revision: D50329585 fbshipit-source-id: d4c52143216a1d9970196ad71ef656098be50120
|
We still have some failing tests it seems |
Sorry, something went wrong.
|
This approach is likely quite silly, but I don't have a Windows/Mac machine handy, so I'm kicking off these builds to test/debug. |
Sorry, something went wrong.
|
I will look at this over the weekend on my Windows box, this trial-and-error is not an optimal way :) |
Sorry, something went wrong.
Don't worry, I pushed a commit that should fix it |
Sorry, something went wrong.
…gate the cost of enabling perf-trampolines (python#109666)
…gate the cost of enabling perf-trampolines (python#109666)
Summary: Straight up port of python/cpython#109666 Reviewed By: jbower-fb Differential Revision: D66118319 fbshipit-source-id: bd7d4181c16d35526f57500cebb6e16fc2df58aa
Summary: Straight up port of python/cpython#109666 Reviewed By: jbower-fb Differential Revision: D66118319 fbshipit-source-id: bd7d4181c16d35526f57500cebb6e16fc2df58aa
| Back | FazBrowse Home | New Git URL |
This pull request implements a proposal in #109587 to allow precompiled perf-trampolines. This would mitigate the costs of enabling perf-trampolines, such as the disk IO and memory overhead.
The proposal introduces two new C-API functions:
These functions can be used by extension modules to initialize trampolines eagerly, after the application is "warmed up". This would make it possible to have perf-trampoline running in an always-enabled fashion.
Benefits for a forked multiprocess model: