-
Notifications
You must be signed in to change notification settings - Fork 872
Update targetjs #1818
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
Update targetjs #1818
Conversation
|
You are correct that targetjs uses the pointerup event rather than the click event but it seems from the screenshot that you attached that the click event is invoked right after the pointerup event and it is measured less than 1 millisecond. Is that correct? |
|
I think you are correct that the script portion isn't being accounted for. For example, in vanillajs test 7, I have the following results: while in targetjs test 7, the results are: This is applicable in all the tests that the script portion is not included. Is targetjs the only framework that is creating this issue? is that something that you can do? Such as measuring it from the moment your test script triggers the click event, rather than relying on the browser to measure the click event time? The average script execution time for VanillaJS on my machine across all tests is as follows: so definitely significant in almost all the tests |
|
The results look bad actually. I wasn't aware that the script time wasn't included in the calculation, but it makes sense now that I’ve measured it manually. When are you planning to publish the updated results? I know you're managing a lot of frameworks. I’d like to improve the framework and submit a new solution, but it will take me a few days. What options do I have? |
|
I'm currently preparing the chrome 132 run and plan to release it the next few days. I could move targetjs to the broken_frameworks folder (yes, I know it's a misnomer in this case) or I could just delete it from git and you can submit a new PR. What would you prefer? |
|
Let's delete it, please. Could TargetJS be added to Chrome 132's results after they are published, or would we have to wait until Chrome 133 is released? |
|
Thanks, I'll do. |
|
Thank you! I'll work on the improvements in the meantime - definitely appreciate your flexibility and the effort you put into creating the framework. |







I also appreciate the new changes in the framework: it runs faster and the results are more consistent.