Re: [gentoo-user] Re: Slow python execution
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 No Idea anybody why python is so slow on Gentoo compared to Debian? No Idea how to solve this? Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16Klaus Ethgen Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C -BEGIN PGP SIGNATURE- Comment: Charset: ISO-8859-1 iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlszN/YACgkQpnwKsYAZ 9qzDGAwAqAU/bgoD5T4B/FqZ8w7GlI8o8Y4dcJmD2gEqLxWLdEbsfcyBbePQX1/l eCmS4bnw/tHevyifIizzrzv64dig4eP0TPFbBMI5/x4OJ8sud8hqTSlr2H3Sb4fh b6EVuLytMeCb8fA6P775iTKfEudwVvvF6NH1GjoG1LAh0DyFluyaJRreoN0soo1a /hzfnsnd/1ScmmJFGM6n6nLSbDr2L4HZt7jzITjS8tnLfdsfaHKPkvskU4AjWx25 kECyru3P4UUL2zfnecSFrbSdqyurn48308r1P5OPDo1c74WU3UyoYdcEtQe5ySEP 0Tn8w064ufW5XKdkv2hmYI4M55jPCXKTaFVnLLnwwIOlKpUw/E1MnG7zDN/aKeZi vZ2XzaxYBLAsTI96L/7ZNzLo24iOOdqbVC/yADaZAepPRPd/yBApP1FtZb9yxytn qoU+e8I5PW/Qku9eX9FqlPL3kH7BjUFh3QN0ydhn6hMa8qg83fumKbS2S0fM1ZQU bfle6DqX =ShOf -END PGP SIGNATURE-
Re: [gentoo-user] Re: Slow python execution
The results are even more sever when using the same python version on the same system. I did call `python2 -m cProfile -s $sort =ansible-doc -l` twice on both systems. Once with tottime and the second time with cumulative as $sort. The results are 66 seconds on Debian and 736 seconds on Gentoo. I attach the full output to this mail. Same results I see with every python program. To do a emerge update takes ages just for dependency scans. (although there is no comparing tool in Debian) Regards Klaus -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16Klaus Ethgen Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C results.tar.xz Description: application/xz signature.asc Description: PGP signature
Re: [gentoo-user] Re: Slow python execution
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Am Mo den 25. Jun 2018 um 22:02 schrieb Ian Zimmerman: > > I did some profiling now. > > > Any idea why there is that difference in call time? > > Is it the same upstream version of python? You never really stated this > in the thread. I did profiling with python 2.7 and 3.5. As 3.5 is slightly slower than 2.7, it doesn't matter to much. Also I tried to compare the different function calls between 2.7 and 3.5, but they are the same. So, the output I posted was in fact from 3.5 on Gentoo and 2.7 on Debian but as the difference of 2.7 and 3.5 is just around 5% - 10% I did not mentioned that (apology about that, I even seen my fault here after the post). What I can try is to do them on the same machine. On one of my systems I saved the old debian volume so I could just chroot into the debian tree and do the same over there. But as the results so far are that catastrophically, I think that it will be not that difference overall. Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16Klaus Ethgen Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C -BEGIN PGP SIGNATURE- Comment: Charset: ISO-8859-1 iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsxXaAACgkQpnwKsYAZ 9qx5oAv/QsUsNaGKORsD7l16cVPiJYknkOTo/L9GwKpql3AWGQbZJ89Rk+Nf0id+ ggRN7dd5fAn9IbF6VKSNl87Jp5Gon40q5LBPuVnzK5wSmXoDElqhK85RqE7Zj4Ak DlZJnOJI7q9jC0s1vvji22cNV7dcteQoK/JteVBQ6T1a4m4BRuCtUqjGT6L5lZ1t UgxwBHVIumMyl4HL24bcpvze8sGtXTHHU5d3nrH5rtQ4g2OBy9ycnCtUNhh37R6g IxQ2qHjbPRYpabXLXNG6NvH7mVEKoOdogBECjFFweXyeq9ZsaJwAXSpF18qO9bP/ MQKDZyfGuSZFJeuTb2ifulFM/ptTFDcUPtuJxHrZs4F8fxjf/fG3N6tbU/XMgmx0 E5Bq8SwS/+4G23NAsX0JE236uFarf0fgcGTVisdeR4EHqvUUI5SV7hRgxXmgR9B8 ZUhKpuHfnhs0Xl1Vmq6rapM3xkszwjzl0xClPWNWNdyquTAXhVBNfAAiHBcDk1Cc txKS70sk =H7kt -END PGP SIGNATURE-
[gentoo-user] Re: Slow python execution
On 2018-06-25 20:37, Klaus Ethgen wrote: > I did some profiling now. > Any idea why there is that difference in call time? Is it the same upstream version of python? You never really stated this in the thread. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.