RFR: 8293067: (fs) Implement WatchService using system library (macOS) [v9]
Michael Hall
mik3hall at gmail.com
Fri Nov 11 01:12:38 UTC 2022
> On Nov 10, 2022, at 7:03 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:
>
> Near-0 CPU sounds good!
>
>> On Nov 10, 2022, at 3:36 AM, Maxim Kartashev <maxim.kartashev at jetbrains.com <mailto:maxim.kartashev at jetbrains.com>> wrote:
>>
>> I benchmarked this implementation (well, the implementation this one is based on, now it's become quite different) extensively. The main advantage of FSEvents over polling was near-0 CPU usage when there were small number of changes to the directory being watched, while polling naturally always has some background job to do and its CPU usage heavily depends on refresh speed (like 25% with SENSITIVITY_HIGH and modest rate of changes).
It did. Neither usage or difference seemed significant.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/nio-dev/attachments/20221110/495c22b5/attachment.htm>
More information about the nio-dev
mailing list