[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Semantic font-lock for Java
From: |
David Engster |
Subject: |
Re: Semantic font-lock for Java |
Date: |
Fri, 24 Jan 2020 18:00:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> From: Anand Tamariya <address@hidden>
>> Date: Fri, 24 Jan 2020 21:45:55 +0530
>> Cc: address@hidden
>
>>
>> > * Off GCs: 0 Elapsed time: 0.840946 seconds
>> > * Custom GCs: 0 Elapsed time: 1.172106 seconds
>> > * Builin GCs: 1 Elapsed time: 0.991606 seconds
>>
>> I'm not sure I understand these results. What does each line
>> represent? Did you run the same benchmark with the default font-lock
>> and with your modifications, and if so, which of these lines shows
>> results for what variant of font-lock?
>>
>> Off - Refers to when font-lock is disabled
>> Custom - Refers to when my "extract" function is doing the fontification
>> Builtin - Refers to jit-lock mode as that's the default for font-lock mode
>
> So we are talking about a 17% slow-down? Not bad.
Yes, but to be fair, this does not include the initial parsing by
Semantic/Wisent/Bovine. This is usually done for the whole buffer when
Emacs is idle, and not during scrolling.
-David
- Semantic font-lock for Java, Anand Tamariya, 2020/01/21
- Re: Semantic font-lock for Java, Eli Zaretskii, 2020/01/21
- Re: Semantic font-lock for Java, Eli Zaretskii, 2020/01/21
- Re: Semantic font-lock for Java, Anand Tamariya, 2020/01/22
- Re: Semantic font-lock for Java, Eli Zaretskii, 2020/01/22
- Re: Semantic font-lock for Java, Anand Tamariya, 2020/01/23
- Re: Semantic font-lock for Java, Eli Zaretskii, 2020/01/24
- Re: Semantic font-lock for Java, Anand Tamariya, 2020/01/24
- Re: Semantic font-lock for Java, Eli Zaretskii, 2020/01/24
- Re: Semantic font-lock for Java,
David Engster <=
- Re: Semantic font-lock for Java, Eli Zaretskii, 2020/01/24
- Re: Semantic font-lock for Java, David Engster, 2020/01/24
- Re: Semantic font-lock for Java, Anand Tamariya, 2020/01/28
- Re: Semantic font-lock for Java, David Engster, 2020/01/28
- Re: Semantic font-lock for Java, Eli Zaretskii, 2020/01/28
- Re: Semantic font-lock for Java, Anand Tamariya, 2020/01/29
- Re: Semantic font-lock for Java, Alan Mackenzie, 2020/01/28
- Re: Semantic font-lock for Java, Anand Tamariya, 2020/01/29
Re: Semantic font-lock for Java, Anand Tamariya, 2020/01/22