Giter Site home page Giter Site logo

Comments (3)

krausest avatar krausest commented on July 18, 2024

Oh, that was me... I added a check yesterday due to #1442.
The duration I chose was long enough to prevent such an error on my macbook, but as it seems it was too low.
I commented out throwing the error. (9b73d69) You could try to update, recompile via npm run compile in webdriver-ts and run again.
It would be nice if you could report here the maximum value for the "difference between mousedown and click is unusually long" message in the log file.

from js-framework-benchmark.

Niedzwiedzw avatar Niedzwiedzw commented on July 18, 2024

@krausest couldn't you just start counting from mousedown? that would be most fair

from js-framework-benchmark.

krausest avatar krausest commented on July 18, 2024

We could measure from mousedown (but wouldn't be mouseup then be a better choice?)
But there's a random(?) delay for some frameworks like in this case:
Screenshot 2023-11-04 at 11 09 34 AM
There's a delay of more than 3 msecs between mousedown and click. I don't know where this comes from.
I think it wouldn't help us getting better results if we added this delay. Nevertheless it should be considered cheating if someone put his logic in a mousedown handler.

from js-framework-benchmark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.