Gentoo Archives: gentoo-user

From: Klaus Ethgen <Klaus+gentoo@××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Slow python execution
Date: Mon, 25 Jun 2018 21:25:04
Message-Id: 20180625212454.GC20971@ikki.ethgen.ch
In Reply to: [gentoo-user] Re: Slow python execution by Ian Zimmerman
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 Hi,
5
6 Am Mo den 25. Jun 2018 um 22:02 schrieb Ian Zimmerman:
7 > > I did some profiling now.
8 >
9 > > Any idea why there is that difference in call time?
10 >
11 > Is it the same upstream version of python? You never really stated this
12 > in the thread.
13
14 I did profiling with python 2.7 and 3.5. As 3.5 is slightly slower than
15 2.7, it doesn't matter to much.
16
17 Also I tried to compare the different function calls between 2.7 and
18 3.5, but they are the same.
19
20 So, the output I posted was in fact from 3.5 on Gentoo and 2.7 on Debian
21 but as the difference of 2.7 and 3.5 is just around 5% - 10% I did not
22 mentioned that (apology about that, I even seen my fault here after the
23 post).
24
25 What I can try is to do them on the same machine. On one of my systems I
26 saved the old debian volume so I could just chroot into the debian tree
27 and do the same over there.
28
29 But as the results so far are that catastrophically, I think that it
30 will be not that difference overall.
31
32 Regards
33 Klaus
34 - --
35 Klaus Ethgen http://www.ethgen.ch/
36 pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@××××××.ch>
37 Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
38 -----BEGIN PGP SIGNATURE-----
39 Comment: Charset: ISO-8859-1
40
41 iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsxXaAACgkQpnwKsYAZ
42 9qx5oAv/QsUsNaGKORsD7l16cVPiJYknkOTo/L9GwKpql3AWGQbZJ89Rk+Nf0id+
43 ggRN7dd5fAn9IbF6VKSNl87Jp5Gon40q5LBPuVnzK5wSmXoDElqhK85RqE7Zj4Ak
44 DlZJnOJI7q9jC0s1vvji22cNV7dcteQoK/JteVBQ6T1a4m4BRuCtUqjGT6L5lZ1t
45 UgxwBHVIumMyl4HL24bcpvze8sGtXTHHU5d3nrH5rtQ4g2OBy9ycnCtUNhh37R6g
46 IxQ2qHjbPRYpabXLXNG6NvH7mVEKoOdogBECjFFweXyeq9ZsaJwAXSpF18qO9bP/
47 MQKDZyfGuSZFJeuTb2ifulFM/ptTFDcUPtuJxHrZs4F8fxjf/fG3N6tbU/XMgmx0
48 E5Bq8SwS/+4G23NAsX0JE236uFarf0fgcGTVisdeR4EHqvUUI5SV7hRgxXmgR9B8
49 ZUhKpuHfnhs0Xl1Vmq6rapM3xkszwjzl0xClPWNWNdyquTAXhVBNfAAiHBcDk1Cc
50 txKS70sk
51 =H7kt
52 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] Re: Slow python execution Klaus Ethgen <Klaus+gentoo@××××××.de>