| 25 May 2021 |
andi- | In reply to @baloo_:matrix.org andi: afaict, python was reproducible on >3.6 Well I changed the compile flags in the linked PR ;) | 23:08:15 |
baloo | pretty sweet | 23:09:14 |
baloo | that's the thing I had in mind https://www.python.org/dev/peps/pep-0552/ | 23:09:54 |
baloo | which is a different thing | 23:10:06 |
baloo | (reproducibility of the .pyc files) | 23:10:15 |
andi- | Didn't those only have very limited impact on performance anyway? | 23:14:53 |
baloo | huuum | 23:15:59 |
baloo | depends on your workflow I'd say | 23:16:22 |
andi- | Let's say I am running synapse :) | 23:16:41 |
baloo | it affects the boot performance of python | 23:16:44 |
baloo | startup performance* | 23:16:53 |
andi- | So probably only relevant for short-lived processes | 23:19:12 |
baloo | yeah | 23:19:22 |
andi- | That don't have a local dir to write cache files to | 23:19:23 |
baloo | running tests | 23:19:28 |
baloo | well, iirc a process will try to write to /nix/store/blabla-python/share/foo.pyc if you open the foo.py | 23:20:11 |
baloo | not sure there is a per-user cache of those | 23:20:30 |
andi- | Well the cache dir would be more like while developing on python software | 23:20:44 |
baloo | if it can't store the pyc, it will work just fine, but needs to rebuild | 23:20:49 |
baloo | yeah but usually you invoke libraries and stuff | 23:21:05 |
baloo | (I stopped using venv since nix) | 23:21:35 |
andi- | Anyway, determinism > speed for now :-) | 23:22:10 |
baloo | yeah that's nice. I'd like to debug for the gcc build | 23:30:54 |
baloo | but I need to step through the different phases and compare the intermediate results | 23:31:15 |
baloo | the non-reproducibility there does not make much sense to me | 23:31:52 |
andi- | oh, GCC is still not reproducible? I thought we got that one covered. | 23:32:32 |
baloo | it is now | 23:32:41 |
baloo | but it's 8-12% slower | 23:32:49 |
andi- | would be worse if the build results were slower now | 23:33:08 |
baloo | the build results are the same | 23:33:38 |