GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — gh-124855: Fix jit perf (and lejit) by Fidget-Spinner · Pull Request #126166 · python/cpython Conversation
|
|
I think we need to add skips to the tests in the Perf trampoline when the jit is activated |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I have pushed a bunch of fixes to ensure we run the tests that check for anything perf without the JIT as we do in other places |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| self.check_all_configs("test_init_set_config", config, | ||
| api=API_ISOLATED) | ||
|
|
||
| @unittest.skipIf("-D_Py_JIT" in (sysconfig.get_config_var('PY_CORE_CFLAGS') or ''), |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This fails on windows for some reason
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think with my fix we can actually run the test so I am switching to that
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Hmm I'm abit stumped. No clue why your fix isn't working :(.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It's because the test is running on isolated mode and therefore it ignores the environment flags
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I pushed a fix that should do the trick
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Pablo Galindo <[email protected]>
37e9402 to
8ed27a0
Compare
|
Still failing on Windows... not sure why |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Okay, I finally set up my Windows environment and it seems that there is no |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Maybe we can land a version of this that just ignores warning lines in stderr and then undo that hack when we have JIT detection on windows. This way we can move on and avoid having to revert |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I put up #126302 as a possible work-around. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closing it due to merge of #126302. Thank you Pablo and Ken. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.