[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diffutils __pycache__ failure.
From: |
Collin Funk |
Subject: |
Re: diffutils __pycache__ failure. |
Date: |
Mon, 22 Apr 2024 12:44:58 -0700 |
User-agent: |
Mozilla Thunderbird |
On 4/22/24 4:38 AM, Bruno Haible wrote:
> Collin Funk wrote:
>> I have no clue if this has a noticeable performance impact or not.
>
> Can you measure it, please? For example, with
> GNULIB_TOOL_IMPL=py time ./test-all.sh
>
> I measure a difference in the 2% range, but it's not clear to me whether
> -B slows down or speeds up things :)
Sure, here is the results using the -B flag. I'm removing the
__pycache__ directory before using -B flag to make sure it doesn't get
read.
Using 'env GNULIB_TOOL_IMPL=py ./test-all.sh' in import-tests:
no -B flag: 0m16.699s
-B flag: 0m20.892s
Using 'env GNULIB_TOOL_IMPL=py ./test-all.sh' in create-tests:
no -B flag: 2m45.046s
-B flag: 2m46.674s
The create-tests spend most of their time in autoconf and friends if I
remember correctly.
The import tests feel noticeably slower with -B to me. But the test is
imperfect of course. 1 run, maybe Firefox was working very hard for
one test and not the other, etc. :)
Collin