GithubHelp home page GithubHelp logo

Comments (3)

tbranyen avatar tbranyen commented on May 19, 2024

Sure thing! I will say its not better than normal DOM manip, since that is what gets used in the end anyways.

from diffhtml.

jmas avatar jmas commented on May 19, 2024

Hello. I guess developers want to know a real benchmark numbers when they take DiffHTML.
We need to write some benchmarks and show cases where DiffHTML is good and bad.

For example, I wrote simple benchmark here (I compare DiffHTML with browser innerHTML and with morphdom): https://gist.github.com/jmas/c7c11f1431bf97f0333d6da639b0c0cd

Maybe someone can add other DOM patch libraries to this benchmark or write better one.

Thanks.

P.S: I found another one benchmark here http://mathieuancelin.github.io/js-repaint-perfs/

from diffhtml.

tbranyen avatar tbranyen commented on May 19, 2024

Here are the latest metrics from the preact-perf repository using the latest version of diffHTML and I also updated choo which was unfairly getting poor perf scores.
choo

from diffhtml.

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.