satorigear 0.0.2 → 0.0.3

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 CHANGED
@@ -46,6 +46,7 @@ const parser = createParser({
46
46
  math: true,
47
47
  strikethrough: true,
48
48
  table: true,
49
+ taskList: true,
49
50
  },
50
51
  });
51
52
 
@@ -67,7 +68,7 @@ Benchmarked against Sätteri and Remark, which also produce MDAST, with feature
67
68
 
68
69
  <!-- benchmark:start environment -->
69
70
 
70
- > Median of 5 isolated mean-time runs at commit [`9570c63`](https://github.com/KazariEX/satorigear/commit/9570c634a28feffd6f437f3544071ff139f16f2f) 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.
71
+ > Median of 5 isolated mean-time runs at commit [`deacb94`](https://github.com/KazariEX/satorigear/commit/deacb94abb22839aa84f32374cf348cfa27332e1) 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.
71
72
 
72
73
  <!-- benchmark:end -->
73
74
 
@@ -82,17 +83,17 @@ Benchmarked against Sätteri and Remark, which also produce MDAST, with feature
82
83
 
83
84
  | Engine | Mean time | vs. SatoriGear | Throughput |
84
85
  | --- | ---: | ---: | ---: |
85
- | **SatoriGear** | 2.46 ms | baseline | 79.5 MiB/s |
86
- | Sätteri | 1.13 ms | ↑ 2.17× | 173 MiB/s |
87
- | Remark | 62.0 ms | ↓ 25.00× | 3.16 MiB/s |
86
+ | **SatoriGear** | 2.32 ms | baseline | 84.2 MiB/s |
87
+ | Sätteri | 1.12 ms | ↑ 2.07× | 174 MiB/s |
88
+ | Remark | 62.8 ms | ↓ 26.86× | 3.11 MiB/s |
88
89
 
89
90
  ##### CommonMark 0.31.2 examples, 14919 bytes, 652 documents
90
91
 
91
92
  | Engine | Mean time | vs. SatoriGear | Throughput |
92
93
  | --- | ---: | ---: | ---: |
93
- | **SatoriGear** | 1.10 ms | baseline | 13.0 MiB/s |
94
- | Sätteri | 2.70 ms | ↓ 2.46× | 5.28 MiB/s |
95
- | Remark | 26.8 ms | ↓ 24.44× | 0.53 MiB/s |
94
+ | **SatoriGear** | 1.03 ms | baseline | 13.9 MiB/s |
95
+ | Sätteri | 2.71 ms | ↓ 2.64× | 5.25 MiB/s |
96
+ | Remark | 26.6 ms | ↓ 25.96× | 0.53 MiB/s |
96
97
 
97
98
  #### Built-in features
98
99
 
@@ -100,15 +101,15 @@ Benchmarked against Sätteri and Remark, which also produce MDAST, with feature
100
101
 
101
102
  | Engine | Mean time | vs. SatoriGear | Throughput |
102
103
  | --- | ---: | ---: | ---: |
103
- | **SatoriGear** | 24.8 ms | baseline | 35.1 MiB/s |
104
- | Sätteri | 26.6 ms | ↓ 1.07× | 32.7 MiB/s |
104
+ | **SatoriGear** | 21.9 ms | baseline | 39.6 MiB/s |
105
+ | Sätteri | 26.7 ms | ↓ 1.22× | 32.5 MiB/s |
105
106
 
106
107
  ##### Public APIs README, 232580 bytes, 1 document
107
108
 
108
109
  | Engine | Mean time | vs. SatoriGear | Throughput |
109
110
  | --- | ---: | ---: | ---: |
110
- | **SatoriGear** | 7.35 ms | baseline | 30.2 MiB/s |
111
- | Sätteri | 2.41 ms | ↑ 3.06× | 92.2 MiB/s |
111
+ | **SatoriGear** | 5.49 ms | baseline | 40.4 MiB/s |
112
+ | Sätteri | 2.40 ms | ↑ 2.28× | 92.4 MiB/s |
112
113
 
113
114
  </details>
114
115
 
@@ -125,17 +126,17 @@ Benchmarked against Sätteri and Remark, which also produce MDAST, with feature
125
126
 
126
127
  | Engine | Mean time | vs. SatoriGear | Throughput |
127
128
  | --- | ---: | ---: | ---: |
128
- | **SatoriGear** | 2.50 ms | baseline | 78.1 MiB/s |
129
- | Sätteri | 5.52 ms | ↓ 2.20× | 35.4 MiB/s |
130
- | Remark | 60.2 ms | ↓ 24.11× | 3.25 MiB/s |
129
+ | **SatoriGear** | 2.34 ms | baseline | 83.4 MiB/s |
130
+ | Sätteri | 5.47 ms | ↓ 2.33× | 35.7 MiB/s |
131
+ | Remark | 59.9 ms | ↓ 25.53× | 3.27 MiB/s |
131
132
 
132
133
  ##### CommonMark 0.31.2 examples, 14919 bytes, 652 documents
133
134
 
134
135
  | Engine | Mean time | vs. SatoriGear | Throughput |
135
136
  | --- | ---: | ---: | ---: |
136
- | **SatoriGear** | 1.12 ms | baseline | 12.7 MiB/s |
137
- | Sätteri | 5.91 ms | ↓ 5.30× | 2.41 MiB/s |
138
- | Remark | 26.3 ms | ↓ 23.29× | 0.54 MiB/s |
137
+ | **SatoriGear** | 1.05 ms | baseline | 13.6 MiB/s |
138
+ | Sätteri | 5.92 ms | ↓ 5.57× | 2.41 MiB/s |
139
+ | Remark | 26.3 ms | ↓ 25.07× | 0.54 MiB/s |
139
140
 
140
141
  #### Built-in features
141
142
 
@@ -143,15 +144,15 @@ Benchmarked against Sätteri and Remark, which also produce MDAST, with feature
143
144
 
144
145
  | Engine | Mean time | vs. SatoriGear | Throughput |
145
146
  | --- | ---: | ---: | ---: |
146
- | **SatoriGear** | 25.2 ms | baseline | 34.5 MiB/s |
147
- | Sätteri | 79.8 ms | ↓ 3.20× | 10.9 MiB/s |
147
+ | **SatoriGear** | 22.1 ms | baseline | 39.2 MiB/s |
148
+ | Sätteri | 79.5 ms | ↓ 3.59× | 10.9 MiB/s |
148
149
 
149
150
  ##### Public APIs README, 232580 bytes, 1 document
150
151
 
151
152
  | Engine | Mean time | vs. SatoriGear | Throughput |
152
153
  | --- | ---: | ---: | ---: |
153
- | **SatoriGear** | 7.82 ms | baseline | 28.4 MiB/s |
154
- | Sätteri | 20.8 ms | ↓ 2.66× | 10.7 MiB/s |
154
+ | **SatoriGear** | 5.76 ms | baseline | 38.5 MiB/s |
155
+ | Sätteri | 21.0 ms | ↓ 3.63× | 10.6 MiB/s |
155
156
 
156
157
  </details>
157
158
 
package/dist/index.d.mts CHANGED
@@ -63,6 +63,7 @@ interface FeatureOptions {
63
63
  math?: boolean | MathOptions;
64
64
  strikethrough?: boolean | StrikethroughOptions;
65
65
  table?: boolean;
66
+ taskList?: boolean;
66
67
  }
67
68
  //#endregion
68
69
  //#region src/parser.d.ts