@blazediff/core-native 4.3.2 → 4.3.4

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.
Files changed (2) hide show
  1. package/README.md +8 -8
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  <div align="center">
4
4
 
5
- [![npm bundle size](https://img.shields.io/npm/unpacked-size/%40blazediff%2Fcore-native?style=flat-square)](https://www.npmjs.com/package/@blazediff/core-native)
6
- [![NPM Downloads](https://img.shields.io/npm/dy/%40blazediff%2Fcore-native?style=flat-square)](https://www.npmjs.com/package/@blazediff/core-native)
7
- [![Crates.io](https://img.shields.io/crates/v/blazediff.svg?style=flat-square)](https://crates.io/crates/blazediff)
5
+ [![npm bundle size](https://img.shields.io/npm/unpacked-size/%40blazediff%2Fcore-native?style=for-the-badge)](https://www.npmjs.com/package/@blazediff/core-native)
6
+ [![NPM Downloads](https://img.shields.io/npm/dy/%40blazediff%2Fcore-native?style=for-the-badge)](https://www.npmjs.com/package/@blazediff/core-native)
7
+ [![Crates.io](https://img.shields.io/crates/v/blazediff.svg?style=for-the-badge)](https://crates.io/crates/blazediff)
8
8
 
9
9
  </div>
10
10
 
@@ -299,12 +299,12 @@ Input images can be mixed formats (e.g., compare PNG to JPEG). Output format is
299
299
 
300
300
  ## Performance
301
301
 
302
- Benchmarked on Apple M1 Pro with 5600x3200 4K PNG images:
302
+ Benchmarked on Apple M1 Max (25 runs, 5 warmup, image IO included) against `odiff` on 5600×3200 4K PNG images via `hyperfine`. Full numbers in the root [BENCHMARKS.md](https://github.com/teimurjan/blazediff/blob/main/BENCHMARKS.md).
303
303
 
304
- | Tool | Benchmark Time | vs blazediff |
305
- |------|------|--------------|
306
- | **blazediff** | ~327ms | - |
307
- | odiff | ~1215ms | 3.4x slower |
304
+ | Tool | 4k/1 | 4k/2 | 4k/3 | vs blazediff |
305
+ |------|-----:|-----:|-----:|-------------|
306
+ | **blazediff** | ~359ms | ~452ms | ~506ms | - |
307
+ | odiff | ~1221ms | ~1525ms | ~1750ms | 3.4-3.5x slower |
308
308
 
309
309
  Binary sizes (stripped, LTO optimized) - **~3x smaller than odiff**:
310
310
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blazediff/core-native",
3
- "version": "4.3.2",
3
+ "version": "4.3.4",
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": "4.3.2",
24
- "@blazediff/core-native-darwin-x64": "4.3.2",
25
- "@blazediff/core-native-linux-arm64": "4.3.2",
26
- "@blazediff/core-native-linux-x64": "4.3.2",
27
- "@blazediff/core-native-win32-arm64": "4.3.2",
28
- "@blazediff/core-native-win32-x64": "4.3.2"
23
+ "@blazediff/core-native-darwin-arm64": "4.3.4",
24
+ "@blazediff/core-native-darwin-x64": "4.3.4",
25
+ "@blazediff/core-native-linux-arm64": "4.3.4",
26
+ "@blazediff/core-native-linux-x64": "4.3.4",
27
+ "@blazediff/core-native-win32-arm64": "4.3.4",
28
+ "@blazediff/core-native-win32-x64": "4.3.4"
29
29
  },
30
30
  "keywords": [
31
31
  "image",