[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Correct line/column numbers in byte compiler messages
From: |
Andrea Corallo |
Subject: |
Re: Correct line/column numbers in byte compiler messages |
Date: |
Sat, 21 Mar 2020 23:39:52 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Andrea Corallo <address@hidden> writes:
> Alan Mackenzie <address@hidden> writes:
>
>>
>> I'm seeing 19.4s vs. 22.2s, which is around 15% difference. :-(
>
> I get 19.30 sec against 16.65 that is 15% difference here too. This is
> extremely interesting and would be worth profiling.
>
> I bet on the GC for this! (Note I'm notoriously wrong when speculating
> on benchmarks :)
At this point the evening has been dedicated to this. Apparently part
of the issue is that GCC is quite conservative on the inline policy and
because the more complex condition in EQ decide not to inline this (at
least I see this is not done always). This is true for EQ and some of
his friends defined in lisp.h. Part of the cost is not the branch
itself but the additional procedure activations.
Pushing a little more into inlining GCC with the raw attached patch I
got it down on the mackenzie-test to 18.17s that is still/just 9% out.
The remaining part is probably a little harder to investigate but I
still suspect more of a 'side reasons' than a fundamental one.
I suggest we try the fine tuning when rebased on 28 if not too hard.
Regards
Andrea
--
address@hidden
tmp.patch
Description: Text Data
- Re: GNU is looking for Google Summer of Code Projects, (continued)
- Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Alan Mackenzie, 2020/03/19
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Andrea Corallo, 2020/03/19
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Alan Mackenzie, 2020/03/20
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Andrea Corallo, 2020/03/21
- Re: Correct line/column numbers in byte compiler messages, Alan Mackenzie, 2020/03/21
- Re: Correct line/column numbers in byte compiler messages, Andrea Corallo, 2020/03/21
- Re: Correct line/column numbers in byte compiler messages, Andrea Corallo, 2020/03/21
- Re: Correct line/column numbers in byte compiler messages, Alan Mackenzie, 2020/03/21
- Re: Correct line/column numbers in byte compiler messages, Andrea Corallo, 2020/03/21
- Re: Correct line/column numbers in byte compiler messages,
Andrea Corallo <=
- Re: Correct line/column numbers in byte compiler messages, Alan Mackenzie, 2020/03/22
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Rocky Bernstein, 2020/03/19
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Stefan Monnier, 2020/03/19
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Alan Mackenzie, 2020/03/20
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Stefan Monnier, 2020/03/19
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Stefan Monnier, 2020/03/19
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Alan Mackenzie, 2020/03/20
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Rocky Bernstein, 2020/03/20
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Clément Pit-Claudel, 2020/03/20
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Stefan Monnier, 2020/03/20