@blazediff/core-native 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/package.json +11 -8
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
|
-
The fastest single-threaded image diff in the world. Native Rust implementation with SIMD optimization, **
|
|
11
|
+
The fastest single-threaded image diff in the world. Native Rust implementation with SIMD optimization, **4.4-4.9x faster** and **3x smaller** than [odiff](https://github.com/dmtrKovalenko/odiff).
|
|
12
12
|
|
|
13
13
|
**Features:**
|
|
14
14
|
- **PNG, JPEG & QOI support** - auto-detected by file extension or encoded bytes
|
|
@@ -327,8 +327,9 @@ Benchmarked on Apple M1 Max (25 runs, 5 warmup, image IO included) against `odif
|
|
|
327
327
|
|
|
328
328
|
| Tool | 4k/1 | 4k/2 | 4k/3 | vs blazediff |
|
|
329
329
|
|------|-----:|-----:|-----:|-------------|
|
|
330
|
-
| **blazediff** | ~
|
|
331
|
-
|
|
|
330
|
+
| **blazediff** | ~275ms | ~342ms | ~347ms | - |
|
|
331
|
+
| **blazediff** (encoded buffer input) | ~203ms | ~256ms | ~270ms | - |
|
|
332
|
+
| odiff | ~1266ms | ~1538ms | ~1799ms | 4.5-5.2x slower |
|
|
332
333
|
|
|
333
334
|
Binary sizes (stripped, LTO optimized) - **~3x smaller than odiff**:
|
|
334
335
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blazediff/core-native",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "Native Rust binaries for blazediff - the fastest image diff in the world",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"@blazediff/core-native-darwin-arm64": "5.
|
|
24
|
-
"@blazediff/core-native-darwin-x64": "5.
|
|
25
|
-
"@blazediff/core-native-linux-arm64": "5.
|
|
26
|
-
"@blazediff/core-native-linux-x64": "5.
|
|
27
|
-
"@blazediff/core-native-win32-arm64": "5.
|
|
28
|
-
"@blazediff/core-native-win32-x64": "5.
|
|
23
|
+
"@blazediff/core-native-darwin-arm64": "5.4.0",
|
|
24
|
+
"@blazediff/core-native-darwin-x64": "5.4.0",
|
|
25
|
+
"@blazediff/core-native-linux-arm64": "5.4.0",
|
|
26
|
+
"@blazediff/core-native-linux-x64": "5.4.0",
|
|
27
|
+
"@blazediff/core-native-win32-arm64": "5.4.0",
|
|
28
|
+
"@blazediff/core-native-win32-x64": "5.4.0"
|
|
29
29
|
},
|
|
30
30
|
"keywords": [
|
|
31
31
|
"image",
|
|
@@ -46,9 +46,12 @@
|
|
|
46
46
|
"license": "MIT",
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^24.3.0",
|
|
49
|
+
"@types/pngjs": "^6.0.5",
|
|
50
|
+
"pngjs": "^7.0.0",
|
|
49
51
|
"tsup": "8.5.0",
|
|
50
52
|
"typescript": "5.9.2",
|
|
51
|
-
"vitest": "^3.2.4"
|
|
53
|
+
"vitest": "^3.2.4",
|
|
54
|
+
"@blazediff/core": "1.10.0"
|
|
52
55
|
},
|
|
53
56
|
"scripts": {
|
|
54
57
|
"typecheck": "tsc --noEmit",
|