The purpose of this test is to simulate load. We want to make this as easy as possible, but there are various limitations. This page will explain how to do more thorough tests and gives you options to configure them.
First off, we will programmatically open number of tabs with a millisecond delay between each.
These tabs will then connect to the local gun server, running on .
They will start to spam the system with messages each, at a millisecond interval. Note: The server's file.js persistence module is not very reliable and should not be used for anything other than local development.
Each message will have the peer ID in it, a message ID, and a random string of characters.
You'll probably want to before . Make sure your server is on, that popups are allowed, and that you are in a fresh window. .
Future versions of this test will want to include: