@zumer/snapdom 1.9.3-next-dev.0 → 1.9.5
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 +3 -7
- package/dist/snapdom.js +1 -1
- package/dist/snapdom.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -257,10 +257,6 @@ import { snapdom, preCache } from './snapdom.mjs';
|
|
|
257
257
|
* `@font-face` CSS rule is well supported, but if need to use JS `FontFace()`, see this workaround [`#43`](https://github.com/zumerlab/snapdom/issues/43)
|
|
258
258
|
|
|
259
259
|
|
|
260
|
-
Of course! Here's the updated **README section in English**, with `modern-screenshot` removed and replaced by `html-to-image`:
|
|
261
|
-
|
|
262
|
-
---
|
|
263
|
-
|
|
264
260
|
## ⚡ Performance Benchmarks
|
|
265
261
|
|
|
266
262
|
Snapdom has received **significant performance improvements** since version `v1.8.0`. The following benchmarks compare:
|
|
@@ -281,7 +277,7 @@ Snapdom has received **significant performance improvements** since version `v1.
|
|
|
281
277
|
| Large Scroll (2000×1500) | **0.4 ms** | 1.0 ms | 153.1 ms | 3.4 ms |
|
|
282
278
|
| Very Large (4000×2000) | **0.4 ms** | 1.0 ms | 278.9 ms | 4.3 ms |
|
|
283
279
|
|
|
284
|
-
|
|
280
|
+
|
|
285
281
|
|
|
286
282
|
### Complex elements
|
|
287
283
|
|
|
@@ -293,7 +289,7 @@ Snapdom has received **significant performance improvements** since version `v1.
|
|
|
293
289
|
| Large Scroll (2000×1500) | **133.9 ms** | 387.4 ms | 594.4 ms | 1,163.0 ms |
|
|
294
290
|
| Very Large (4000×2000) | **364.0 ms** | 1,200.4 ms | 1,380.8 ms | 3,023.9 ms |
|
|
295
291
|
|
|
296
|
-
|
|
292
|
+
|
|
297
293
|
|
|
298
294
|
### Summary
|
|
299
295
|
|
|
@@ -305,7 +301,7 @@ Snapdom has received **significant performance improvements** since version `v1.
|
|
|
305
301
|
Hardware: MacBook Air 2018.<br>
|
|
306
302
|
⚠️ Performance may vary depending on device.</sub>
|
|
307
303
|
|
|
308
|
-
|
|
304
|
+
|
|
309
305
|
|
|
310
306
|
### Run the benchmarks
|
|
311
307
|
|
package/dist/snapdom.js
CHANGED
package/dist/snapdom.mjs
CHANGED
package/package.json
CHANGED