summaryrefslogtreecommitdiffstats
path: root/contrib/python/matplotlib-inline/matplotlib_inline
diff options
context:
space:
mode:
authorantoshkka <[email protected]>2026-06-03 09:42:34 +0300
committerantoshkka <[email protected]>2026-06-03 10:33:40 +0300
commit37780c25523e7295b8b4887fb28fbb05fbb8e37d (patch)
tree90920334ec5fc5b207a49808ee3ce6fb49229591 /contrib/python/matplotlib-inline/matplotlib_inline
parent540ee6db1ae01a040b3e42a2252e8cc3c4dde952 (diff)
feat python: always compile Python libs with -O3
Many people use Python to test their C++ binaries built in Debug (that is a common case in RideTech). Debug built Python is very slow, almost noone debugs the Python interpreter itself, so this patch forces the Python to be always built with optimizations. Tests run (3 iteratons) with -O3 compiled Python (this patch): ``` real 5m20.239s user 17m51.171s sys 1m38.676s real 5m31.585s user 17m55.240s sys 1m38.903s real 5m20.914s user 17m57.854s sys 1m39.039s ``` Same tests (2 iterations) with default Python in debug (current trunk): ``` real 13m43.975s user 46m29.006s sys 2m13.313s real 13m29.301s user 46m55.216s sys 2m10.173s ``` For other service: ``` # This patch real 1m24.427s user 6m56.296s sys 0m39.936s real 1m12.953s user 7m34.245s sys 0m37.000s real 1m14.612s user 7m27.097s sys 0m36.839s # Trunk: real 1m59.555s user 13m40.203s sys 0m35.482s real 2m2.459s user 13m50.473s sys 0m34.215s real 1m59.250s user 13m34.304s sys 0m32.218s ``` And another service: ``` # This patch real 0m36.629s user 0m48.045s sys 0m2.074s # Trunk: real 1m56.316s user 2m16.525s sys 0m3.732s ``` commit_hash:9fa58184be777973e5f8c4aebc3811ca348299b6
Diffstat (limited to 'contrib/python/matplotlib-inline/matplotlib_inline')
0 files changed, 0 insertions, 0 deletions