A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-May/035374.html below:

[Python-Dev] Startup time

[Python-Dev] Startup time [Python-Dev] Startup timeAlex Martelli aleax@aleax.it
Tue, 6 May 2003 20:20:42 +0200
On Tuesday 06 May 2003 07:37 pm, Martin v. Löwis wrote:
> Jeff Epler <jepler@unpythonic.net> writes:
> > Comparing 2.2 and 2.3, there are a lot of files opened in 2.3 that
> > aren't in 2.2.
>
> Very interesting. Could you also try to find out the difference in
> terms of stat calls?

In general:

[alex@lancelot blm]$ strace -e stat64 python2.2 -S -c pass 2>&1 | wc -l
     18
[alex@lancelot blm]$ strace -e stat64 python2.3 -S -c pass 2>&1 | wc -l
     71
[alex@lancelot blm]$ strace -e fstat64 python2.2 -S -c pass 2>&1 | wc -l
      8
[alex@lancelot blm]$ strace -e fstat64 python2.3 -S -c pass 2>&1 | wc -l
     71
[alex@lancelot blm]$

Of the stat64 calls, the found-files only:

[alex@lancelot blm]$ strace -e stat64 python2.2 -S -c pass 2>&1 | grep -v 
ENOENT | wc -l
      4
[alex@lancelot blm]$ strace -e stat64 python2.3 -S -c pass 2>&1 | grep -v 
ENOENT | wc -l
     12


Alex




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4