satorigear 0.0.8 → 0.0.9

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 (3) hide show
  1. package/README.md +12 -12
  2. package/dist/index.mjs +888 -1157
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -65,11 +65,11 @@ const mdast = document.tree;
65
65
 
66
66
  ## Performance
67
67
 
68
- Benchmarked against Sätteri <sup>0.10.5</sup> and Remark (`mdast-util-from-markdown@2.0.3`), which also return eagerly materialized MDAST, with feature sets kept as equivalent as possible for each profile.
68
+ Benchmarked against Sätteri <sup>0.10.5</sup> and Remark (`mdast-util-from-markdown@2.0.3`), which also produce MDAST, with feature sets kept as equivalent as possible for each profile.
69
69
 
70
70
  <!-- benchmark:start environment -->
71
71
 
72
- > Median of 5 isolated mean-time runs at commit [`d58864a`](https://github.com/KazariEX/satorigear/commit/d58864ae20439752f9200866169c0707547a9a15) on Apple M3, node 26.5.0, arm64-darwin. SatoriGear and Sätteri run in paired AB/BA order; comparisons are normalized to SatoriGear (↑ faster, ↓ slower). Lower time and higher throughput are better.
72
+ > Median of 4 isolated mean-time runs at commit [`174fd6c`](https://github.com/KazariEX/satorigear/commit/174fd6c3d8f1825fcd99bcbf83e2f8fc9e625ff4) on Apple M3, node 26.5.0, arm64-darwin. SatoriGear and Sätteri run in paired AB/BA order; comparisons are normalized to SatoriGear (↑ faster, ↓ slower). Lower time and higher throughput are better.
73
73
 
74
74
  <!-- benchmark:end -->
75
75
 
@@ -81,17 +81,17 @@ Benchmarked against Sätteri <sup>0.10.5</sup> and Remark (`mdast-util-from-mark
81
81
 
82
82
  | Engine | Mean time | vs. SatoriGear | Throughput |
83
83
  | --- | ---: | ---: | ---: |
84
- | **SatoriGear** | 955 µs | baseline | 205 MiB/s |
85
- | Sätteri | 1.19 ms | ↓ 1.25× | 164 MiB/s |
86
- | Remark | 62.9 ms | ↓ 65.65× | 3.11 MiB/s |
84
+ | **SatoriGear** | 879 µs | baseline | 222 MiB/s |
85
+ | Sätteri | 1.19 ms | ↓ 1.35× | 164 MiB/s |
86
+ | Remark | 62.9 ms | ↓ 71.49× | 3.11 MiB/s |
87
87
 
88
88
  #### CommonMark 0.31.2 examples, 14919 bytes, 652 documents
89
89
 
90
90
  | Engine | Mean time | vs. SatoriGear | Throughput |
91
91
  | --- | ---: | ---: | ---: |
92
- | **SatoriGear** | 730 µs | baseline | 19.5 MiB/s |
93
- | Sätteri | 2.21 ms | ↓ 3.03× | 6.44 MiB/s |
94
- | Remark | 25.9 ms | ↓ 35.50× | 0.55 MiB/s |
92
+ | **SatoriGear** | 546 µs | baseline | 26.0 MiB/s |
93
+ | Sätteri | 2.21 ms | ↓ 4.05× | 6.42 MiB/s |
94
+ | Remark | 25.9 ms | ↓ 47.33× | 0.55 MiB/s |
95
95
 
96
96
  ### Built-in features
97
97
 
@@ -99,14 +99,14 @@ Benchmarked against Sätteri <sup>0.10.5</sup> and Remark (`mdast-util-from-mark
99
99
 
100
100
  | Engine | Mean time | vs. SatoriGear | Throughput |
101
101
  | --- | ---: | ---: | ---: |
102
- | **SatoriGear** | 14.1 ms | baseline | 61.6 MiB/s |
103
- | Sätteri | 14.9 ms | ↓ 1.06× | 58.3 MiB/s |
102
+ | **SatoriGear** | 12.9 ms | baseline | 67.4 MiB/s |
103
+ | Sätteri | 14.9 ms | ↓ 1.16× | 58.2 MiB/s |
104
104
 
105
105
  #### Public APIs README, 232580 bytes, 1 document
106
106
 
107
107
  | Engine | Mean time | vs. SatoriGear | Throughput |
108
108
  | --- | ---: | ---: | ---: |
109
- | **SatoriGear** | 3.29 ms | baseline | 67.5 MiB/s |
110
- | Sätteri | 3.96 ms | ↓ 1.20× | 56.0 MiB/s |
109
+ | **SatoriGear** | 3.02 ms | baseline | 73.4 MiB/s |
110
+ | Sätteri | 3.95 ms | ↓ 1.31× | 56.2 MiB/s |
111
111
 
112
112
  <!-- benchmark:end -->