-
Notifications
You must be signed in to change notification settings - Fork 44
Test optionating #2
base: master
Are you sure you want to change the base?
Conversation
I like the idea of having a way to run just one test for development purposes, but I don't think it's a good idea to have checkboxes. When users run the test, they should always run every sub-test so the total score is consistent. Only developers should be able to choose which sub-test to run. Instead of checkboxes, how about a query parameter in the URL to specify a specific test to run? Something like this: Also, I would prefer to avoid adding a dependency on jquery. |
that was stupid of me to forget url parsing.. Changed it now! can now use http://localhost:5578/latency-benchmark.html?name=1sep2sep3 ,name and sep doesnt matter.. |
@@ -25,5 +25,18 @@ | |||
The benchmark server is no longer running. You must restart it before running the test. | |||
</div> | |||
|
|||
<div> | |||
<h4>List of Available Tests</h4> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this page needs a list of tests. I prefer not to have the list of tests in two places. I'll definitely forget to update one or the other.
Sorry for the slow response, this is my 20% project so I can't spend that much time on it at work. I'm interested in the worker GC test. Have you tried it out and gotten any interesting results? Are there any differences between browsers? In the past I've found it difficult to make a test that will reliably cause long garbage collection events to happen. |
i will make those changes, for the worker gc test in my 32-bit system the css jank shows a constant number on all browsers but js jank is of this order firefox (1.7) > opera (1.4) = chrome while scroll jank is more in opera (4.5) > firefox (3.4) > chrome (2.3) . I was planning to work on the todo list and complete them, is that fine ? also some guidelines on how you were trying to carry out them before would be useful for me. thanks @jdarpinian ! |
Those jank numbers are pretty low. Ideally each test should cause more than 10 frames of jank in at least one browser. If all browsers score well, then it's not really worth running the test. Are you sure the gcload function is actually causing long GC events? In Chrome you can see the length of GC events in the developer tools or in chrome://tracing. Going down the TODO list sounds good! I think the most interesting items might be image resizing, HTML parsing, and layout. The longer the jank you can cause, the better the test! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only those who have all the permissions thanks
providing options for users to choose test to run on start. Also started work with workers, implemented gc load in workers.