Wednesday, September 7, 2022
Home Review Does the computer speed up after refreshing? There is no truth to...

Does the computer speed up after refreshing? There is no truth to the refresh myth.

Refreshing the computer is something we always do while working on the computer. It is not as much as we think; it is something we do automatically as a habit. But what most people don’t know is what happens when the computer is refreshed in this way; some people think that when the computer is restored, the computer’s temporary memory (RAM) is cleared, and the computer’s performance increases.

But this is wrong; whenever we refresh the computer, the RAM is not cleared, and the performance does not increase, so what is happening here? Today, let’s discuss what happens on the computer with this refresh option in this article.

First, before we talk about the refresh option, let’s go back in time. You know that computers did not have a UI in the early error. It was only later that this UI was added to computers, but another problem is that the UI works on frames.

If we explain it more simply, what happens here is that a static view is created for our UI from the library that renders the UI and is sent to the monitor, another static view is generated, and then it is also sent to the monitor. This kind of thing keeps happening. We call this one view a frame, and we call the rate at which this frame is drawn a frame per second. In short, we call this the FPS rate.


So, although it is easy to explain this way, it was not easy for the developers to make it because, like now, the hardware was not high-performance at that time. For this reason, the developers came together and created different ways to optimize this hardware and software.

You know how many things are there even when you take the desktop of your computer; There are many things like desktop wallpaper, icons, taskbar, and start menu. We call these UI components. Each component is drawn in separate frames, meaning every component you see on the screen must be called in one rendering call. This is called a draw call, and as the number of draw calls increases, the time for these components to grow also increases. At the same time, your FPS rate drops, and you get stuck between animations, or the mouse pointer gets stuck and doesn’t move. Perhaps you have had similar experiences.

You may have a problem with why this draw call is loaded separately for each component. The reason for that is that this rendering technique works precisely like a canvas. It means that the other part is drawn on top of one piece, and first, the wallpaper is drawn on top, like the desktop icons and taskbar. These work like layers. This method is already used on your computer.

Another optimized technique is created like this, slightly different from what was explained earlier. Check whether there has been a change in the components currently drawn on the desktop, and then redraw only the part that has changed to see if it will be removed or not. The element that needs to be drawn anew is called a dirty object. Then the CPU only needs to render a dirty component, and we don’t need to load all the parts like the previous method.

But this method was a bit flawed, and sometimes the dirty object may be skipped without being rendered if the CPU is overloaded. If that happens, you won’t see any difference on the computer. Now comes the main topic.

What happens with this refreshing option?

What happens with this refresh option is to redraw all the components in the window we are working on at that time, but since the hardware and software of the current computers have improved a lot, this refresh option is almost useless for us. But even today, there is a possibility of skipping a draw call like this, so you can still see the refresh option on computers. Simply put, what happens with this refresh option is that our window is completely redrawn.

Well, let me take a small example and explain this process thoroughly.

I created a text file renamed like this in a folder created on my desktop. You know that this file is sorted in alphabetical order. Create another new text file and rename it as B. According to the alphabetical order, it should come under the letter A, but you can see that when it is created, it is at the end, but when I refresh it, its position changes, and it is set to the alphabetical order.

After that, if you make another one called D, that’s it. If you create another F file here, close the window without refreshing it and open it again, but it has gone to the same position. That means it will be automatic even if you don’t refresh manually. That’s why I told you earlier that the refresh option is useless.

Okay, I think you have understood the refresh option that you thought would speed up the computer for so long.

See you soon with another similar article. Have a nice day!


Leave a reply

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments

Kaushi ki on Arduino IDE Lesson 02
Osiru Domnic on Identify Arduino Component