Java scheduled executor accuracy

前端 未结 2 2086
独厮守ぢ
独厮守ぢ 2021-02-14 05:53

There is a peculiarity that I encountered while using Java scheduled executors and was wondering if what I experienced is normal.

I need to schedule tasks that execute a

2条回答
  •  无人及你
    2021-02-14 06:19

    Seems normal to me, it varies in the range of 5000/2. In stead of format + println you should try a fast logging, so the overhead drift of println is not measured. Would be interesting.

提交回复
热议问题