Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Restart button #140

Open
byteit101 opened this issue Jun 24, 2024 · 4 comments
Open

Feature request: Restart button #140

byteit101 opened this issue Jun 24, 2024 · 4 comments

Comments

@byteit101
Copy link

I am using OST for wifi testing, and as such, I rerun the tests constantly. It would be nice if the end screen had a one-click "redo" or "restart" button, instead of the current process of refreshing the page and then clicking "Start" again.

@openspeedtest
Copy link
Owner

Refreshing the page is better for performance reasons. Some browsers hold test data in memory, and a page refresh will release the used memory.

@byteit101
Copy link
Author

Sure, but it seems pretty easy to add a button that would do something like:

sessionStorage.setItem("autorun", true);
window.location.reload();

and then the onload code would add

if (sessionStorage.getItem("autorun")) {
    sessionStorage.setItem("autorun", false);
   // start benchmark
}

@openspeedtest
Copy link
Owner

Great idea! I'll give it a try soon. Thanks!

@CitybookServicesLTD
Copy link

+1

Looking forward to have a start again button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants