[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Filtering out process filters
From: |
Daniel Colascione |
Subject: |
Re: Filtering out process filters |
Date: |
Fri, 06 Jun 2025 09:08:09 -0700 |
User-agent: |
K-9 Mail for Android |
On June 6, 2025 12:17:47 AM PDT, Augusto Stoffel <arstoffel@gmail.com> wrote:
>On Thu, 5 Jun 2025 at 01:09, Daniel Colascione wrote:
>
>> Augusto Stoffel <arstoffel@gmail.com> writes:
>>> Did you see my previous message, where I changed the benchmark to not
>>> block the UI? Benchmarks that do
>>>
>>> (while (accept-process-output ...))
>>>
>>> on the main thread are not representative of the typical use cases.
>
>> I tried your version in both interactively and in batch mode, on NS.
>> Interactively, it didn't finish. Profiling indicated ~100% of CPU time
>> was spent on lock waits in ns_select and, on another thread, logging(!).
>>
>> In batch mode (I had Emacs join your thread), performance was the same
>> as we've been discussing. Same in -nw. Something seems wrong with the
>> NS event loop, but I think that's orthogonal to this discussion.
>
>If you join the thread then the UI blocks, so one should indeed expect
>the original behavior.
I joined it only in the batch case, since otherwise the batch process exits
immediately.
>If you want to see how the ACF method influences the time spent on
>redisplay then you need to really let the thread and the main loop run
>freely.
Redisplay doesn't happen only on the editing loop.
- Re: Filtering out process filters, (continued)
- Re: Filtering out process filters, Dmitry Gutov, 2025/06/03
- Re: Filtering out process filters, Eli Zaretskii, 2025/06/04
- Re: Filtering out process filters, Daniel Colascione, 2025/06/04
- Re: Filtering out process filters, Augusto Stoffel, 2025/06/05
- Re: Filtering out process filters, Daniel Colascione, 2025/06/05
- Re: Filtering out process filters, Augusto Stoffel, 2025/06/05
- Re: Filtering out process filters, Augusto Stoffel, 2025/06/06
- Re: Filtering out process filters,
Daniel Colascione <=
- Re: Filtering out process filters, Eli Zaretskii, 2025/06/05
- Re: Filtering out process filters, Dmitry Gutov, 2025/06/05
- Re: Filtering out process filters, Eli Zaretskii, 2025/06/06
- Re: Filtering out process filters, Dmitry Gutov, 2025/06/04
- Re: Filtering out process filters, Eli Zaretskii, 2025/06/05
- Re: Filtering out process filters, Dmitry Gutov, 2025/06/05
- Re: Filtering out process filters, Gerd Möllmann, 2025/06/06
- Re: Filtering out process filters, Eli Zaretskii, 2025/06/06
- Re: Filtering out process filters, Gerd Möllmann, 2025/06/06
- Re: Filtering out process filters, Eli Zaretskii, 2025/06/06