Hello All,
I am a silly person. I want to test my computer's processor speed and battery life in a controlled way, and I am looking for input or suggestions.
First of all, how should I test processor speed?
Second, to test battery life in a controlled way that replicates normal web surfing, I will write a Python program. This program would load a new webpage via WiFi every thirty seconds, and every minute it would write a text file saying the current time and how many minutes have elapsed since I started the program. At some point the battery will die. I will then plug in the computer, restart it, and see what the last written file says.
My questions:
1. Is this awful for the computer? Will I somehow break the computer by running it until it crashes from lack of battery? I know that this cannot physically harm the computer, I am afraid it could corrupt the hard disc or mangle the operating system or something.
2. This isn't necessarily a good test, because the computer is simply downloading the HTML source and then deleting it, the computer is not doing all the work of parsing it and displaying it. Should I try to find a way to mimic web browsing more closely? How could I do that in Python?
Thank you. I am especially interested to see how people address question 1.
I am a silly person. I want to test my computer's processor speed and battery life in a controlled way, and I am looking for input or suggestions.
First of all, how should I test processor speed?
Second, to test battery life in a controlled way that replicates normal web surfing, I will write a Python program. This program would load a new webpage via WiFi every thirty seconds, and every minute it would write a text file saying the current time and how many minutes have elapsed since I started the program. At some point the battery will die. I will then plug in the computer, restart it, and see what the last written file says.
My questions:
1. Is this awful for the computer? Will I somehow break the computer by running it until it crashes from lack of battery? I know that this cannot physically harm the computer, I am afraid it could corrupt the hard disc or mangle the operating system or something.
2. This isn't necessarily a good test, because the computer is simply downloading the HTML source and then deleting it, the computer is not doing all the work of parsing it and displaying it. Should I try to find a way to mimic web browsing more closely? How could I do that in Python?
Thank you. I am especially interested to see how people address question 1.