🏠 back to Observable

Time between two frames with d3.timer

If I read correctly the d3-timer doc, two successive calls to the callback function should occur every 16 or 17ms. But instead I get 42ms. Is it specific to my local configuration, and what could do I do to reduce that time to 16ms using d3-timer?

Here is the code:

After some tests with other people, it seems to be specific to my configuration. I close the issue.

Now that my laptop is cold, it works as expected with a new frame every 17ms. I guess the temperature was the cause.