what-code-is-faster
superdiff
what-code-is-faster | superdiff | |
---|---|---|
1 | 5 | |
24 | 433 | |
- | - | |
6.4 | 5.2 | |
about 2 months ago | about 1 month ago | |
TypeScript | TypeScript | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
what-code-is-faster
-
15x Faster TypedArrays: Vector Addition in WebAssembly 154GB/S
Yeah, properly benchmarking JS code is hard because of how complex is the V8's optimizing compiler infrastructure. I once made an online tool for measuring run times of JS code, with [hopefully, lol] proper warmup and protection against possible dead code elimination optimization.
There are a few clickable benchmark examples in the readme: https://github.com/xpl/what-code-is-faster#what-code-is-fast...
superdiff
-
Superdiff has reached 377 GitHub stars thanks to you. Here are the latest enhancements.
A few weeks ago, I shared Superdiff, a library that compares two arrays or objects and returns a full diff of their differences in a readable format, on this sub. The project has gained some traction, with 377 GitHub stars. Thanks to user feedback, Superdiff now offers significant improvements since last time: - Supports diff between arrays with duplicate values - Provides the option to consider two arrays with the same values but in a different order as equal - Allows you to filter the diff output by state, with full control over nested properties; diff readability has never been better. - Fixes remaining edge cases, with more tests. Source code
-
[AskJS] What do you use for image tracking? I was wondering, with all the libraries and frameworks out there, what do you use for image tracking with JavaScript
For object tracking, you could look at Superdiff. For image tracking, img-diff-js
- Superdiff: compare objects and arrays with readable diffs
-
Introducing Superdiff: compare objects and arrays with readable diffs
Examples and documentation can be found here. Here is also the source code.
What are some alternatives?
best - :trophy: Delightful Benchmarking & Performance Testing
jsondiffpatch - Diff & patch JavaScript objects
bridge. - Minecraft Add-on Editor | We strive to provide the best development experience possible
react-diff-viewer - A simple and beautiful text diff viewer component made with Diff and React.
tinybench - 🔎 A simple, tiny and lightweight benchmarking library!
quantified-self - Compare files from various activity trackers
r3f-perf - Easily monitor your ThreeJS performances.
css-in-js - A thorough analysis of all the current CSS-in-JS solutions with SSR & TypeScript support for Next.js
action - Github Actions for running CodSpeed in your CI
monorepo.tools - Your defacto guide on monorepos, and in depth feature comparisons of tooling solutions.