One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
/** | |
* Retries the given function until it succeeds given a number of retries and an interval between them. They are set | |
* by default to retry 5 times with 1sec in between. There's also a flag to make the cooldown time exponential | |
* @author Daniel Iñigo <[email protected]> | |
* @param {Function} fn - Returns a promise | |
* @param {Number} retriesLeft - Number of retries. If -1 will keep retrying | |
* @param {Number} interval - Millis between retries. If exponential set to true will be doubled each retry | |
* @param {Boolean} exponential - Flag for exponential back-off mode | |
* @return {Promise<*>} | |
*/ |
USE AT YOUR OWN RISK!! | |
How do I determine the current MHz? | |
Run this in a terminal: | |
sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq | |
It will display the maximum CPU frequence | |
How can stress test or benchmark? |