{"id":15642151,"url":"https://github.com/luwes/js-diff-benchmark","last_synced_at":"2025-04-30T11:34:03.944Z","repository":{"id":42884761,"uuid":"255472745","full_name":"luwes/js-diff-benchmark","owner":"luwes","description":"Simple benchmark for testing your DOM diffing algorithm.","archived":false,"fork":false,"pushed_at":"2022-07-21T00:11:44.000Z","size":2173,"stargazers_count":69,"open_issues_count":9,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-30T15:47:15.699Z","etag":null,"topics":["algorithm","benchmark","diffing","dom"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luwes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-14T00:36:04.000Z","updated_at":"2025-01-07T21:42:58.000Z","dependencies_parsed_at":"2022-09-23T13:21:47.433Z","dependency_job_id":null,"html_url":"https://github.com/luwes/js-diff-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luwes%2Fjs-diff-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luwes%2Fjs-diff-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luwes%2Fjs-diff-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luwes%2Fjs-diff-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luwes","download_url":"https://codeload.github.com/luwes/js-diff-benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251691780,"owners_count":21628390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","benchmark","diffing","dom"],"created_at":"2024-10-03T11:54:56.229Z","updated_at":"2025-04-30T11:34:03.916Z","avatar_url":"https://github.com/luwes.png","language":"JavaScript","readme":"# js-diff-benchmark\n\nSimple benchmark for testing your DOM diffing algorithm.\n\n## Ranking (on browser results)\n\n| Position | Library                                                             | Size |\n| -------- | ------------------------------------------------------------------- | ---- |\n| 🏆 1     | [udomdiff](https://github.com/WebReflection/udomdiff)               | 388B |\n| 2        | [snabbdom](https://github.com/snabbdom/snabbdom)                    | 412B |\n| 3        | [list-difference](https://github.com/paldepind/list-difference/)    | 281B |\n| 4        | [spect](https://github.com/spectjs/spect)                           | 208B |\n| 5        | [stage0](https://github.com/Freak613/stage0)                        | 941B |\n| 6        | [heckel](https://johnresig.com/projects/javascript-diff-algorithm/) | 449B |\n\n## Browser results (Chrome 89, 6x CPU throttling)\n\n\u003cimg src=\"assets/Screenshot 2021-04-07 at 20.58.33.png\" alt=\"js-diff-benchmark\"\u003e\n\n## Node results (Node 14, with [dommy](https://github.com/WebReflection/udomdiff/blob/master/test/dommy.js))\n\n\u003cimg src=\"assets/Screenshot 2021-04-10 at 21.10.44.png\" alt=\"js-diff-benchmark\"\u003e\n\n## Credits\n\nBenchmark code based on the tests in [udomdiff](https://github.com/WebReflection/udomdiff).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluwes%2Fjs-diff-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluwes%2Fjs-diff-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluwes%2Fjs-diff-benchmark/lists"}