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 speed
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 whet
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 :)
Bruno
On 4/22/24 1:23 AM, Collin Funk wrote:
> It looks like it can be turned off with 'python3 -B' or setting the
> PYTHONDONTWRITEBYTECODE environment variable to a non-empty string [1]
> [2].
I was able to reproduce the issue. Modifying the 'gnulib-tool.py'
shell script in the 'gnulib' submodule so t