The frequency slows down continously but takes time to spped up!

This is strange but I use an ARDUINO IDE on mac and it works!

And I have got it from here:

So there must be something wrong on your IDEs.