What this PR does:
This function will not only count how long it will take for a page at the endpoint user/{user_id}/tasks/{task_id} to load, but it will load a page 40 times, counting up the seconds as it goes. The console will print the average load time. Caching code is forthcoming
How to test the code (I used cmd on this one):
1.) Navigate to test/ui
2.) Before starting, make sure you type npm install to load dependencies/whatever is needed.
3.) Type node capturetimetaskid.js
4.) You should be able to see 40 lines of output stating how long it takes to load the page at every iteration. When the program stops running, you should be able to see the average time it took to load the page 40 times.
Closes #293
What this PR does: This function will not only count how long it will take for a page at the endpoint user/{user_id}/tasks/{task_id} to load, but it will load a page 40 times, counting up the seconds as it goes. The console will print the average load time. Caching code is forthcoming
How to test the code (I used cmd on this one): 1.) Navigate to test/ui 2.) Before starting, make sure you type npm install to load dependencies/whatever is needed. 3.) Type node capturetimetaskid.js 4.) You should be able to see 40 lines of output stating how long it takes to load the page at every iteration. When the program stops running, you should be able to see the average time it took to load the page 40 times.