Skip to content

Commit 207c762

Browse files
committed
fix: benchmark
1 parent c6ddb84 commit 207c762

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@ All other existing solutions return a weird diff format which often require an a
1010

1111
**Superdiff** gives you a complete diff for both array <u>and</u> objects with a very readable format. Last but not least, it's battled tested and super fast. Import. Enjoy. 👍
1212

13-
Benchmark for 10k objects:
14-
15-
- **Superdiff**: 256 ops/sec ⚡
16-
- **Deep-diff**: 35.98 ops/sec 🐢
13+
**Benchmark**:
14+
15+
| Objects | Deep-diff 🐢 | Superdiff ⚡ |
16+
| --------- | ------------ | ------------ |
17+
| 1.000 | 10.47ms | 5.73ms |
18+
| 10.000 | 43.05ms | 18.60ms |
19+
| 100.000 | 289.71ms | 50.96ms |
20+
| 1.000.000 | 2786.70ms | 389.78ms |
1721

1822
## DIFF FORMAT COMPARISON
1923

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@donedeal0/superdiff",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "SuperDiff checks the changes between two objects or arrays. It returns a complete diff with relevant information for each property or piece of data",
55
"main": "dist/index.js",
66
"module": "dist/index.js",

0 commit comments

Comments
 (0)