forked from chenglou/pretext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchrome.json
More file actions
326 lines (326 loc) · 10.5 KB
/
Copy pathchrome.json
File metadata and controls
326 lines (326 loc) · 10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
{
"status": "ready",
"results": [
{
"label": "Our library: prepare()",
"ms": 19.400000002235174,
"desc": "One cold 500-text measurement batch"
},
{
"label": "Our library: layout()",
"ms": 0.14625,
"desc": "Normalized hot-path throughput per 500-text batch"
},
{
"label": "DOM batch",
"ms": 3.7500000037252903,
"desc": "Single 400→300px batch resize: write all, then read all"
},
{
"label": "DOM interleaved",
"ms": 41.75,
"desc": "Single 400→300px batch resize: write + read per div"
}
],
"richResults": [
{
"label": "Our library: measureLineStats()",
"ms": 0.0125,
"desc": "60-text shared-corpus batch across widths 180/220/260px; stats only"
},
{
"label": "Our library: layoutWithLines()",
"ms": 0.0525000000372529,
"desc": "60-text shared-corpus batch across widths 180/220/260px; materializes text lines"
},
{
"label": "Our library: walkLineRanges()",
"ms": 0.025,
"desc": "60-text shared-corpus batch across widths 180/220/260px; line ranges only, no line text strings"
},
{
"label": "Our library: layoutNextLine()",
"ms": 0.04500000001862645,
"desc": "60-text shared-corpus batch across widths 180/220/260px; streaming line-by-line layout"
}
],
"richInlineResults": [
{
"label": "Our library: measureRichInlineStats()",
"ms": 0.010000000055879355,
"desc": "36 rich-text inline flow shared-corpus texts across widths 180/220/260px; stats only"
},
{
"label": "Our library: walkRichInlineLineRanges()",
"ms": 0.019999999925494193,
"desc": "36 rich-text inline flow shared-corpus texts across widths 180/220/260px; per-line ranges with fragment ownership, no text strings"
},
{
"label": "Our library: materializeRichInlineLineRange()",
"ms": 0.044999999925494194,
"desc": "36 rich-text inline flow shared-corpus texts across widths 180/220/260px; range walker plus per-line materialization"
},
{
"label": "Our library: layoutNextRichInlineLineRange() + materializeRichInlineLineRange()",
"ms": 0.04249999998137355,
"desc": "36 rich-text inline flow shared-corpus texts across widths 180/220/260px; streaming range walk plus per-line materialization"
}
],
"richPreWrapResults": [
{
"label": "Our library: measureLineStats()",
"ms": 0.2650000000372529,
"desc": "12 generated pre-wrap texts with 320 hard-break chunks across widths 220/260/320px; stats only"
},
{
"label": "Our library: layoutWithLines()",
"ms": 0.3675000000745058,
"desc": "12 generated pre-wrap texts with 320 hard-break chunks across widths 220/260/320px; materializes text lines"
},
{
"label": "Our library: walkLineRanges()",
"ms": 0.1824999999254942,
"desc": "12 generated pre-wrap texts with 320 hard-break chunks across widths 220/260/320px; line ranges only, no line text strings"
},
{
"label": "Our library: layoutNextLine()",
"ms": 1.165000000037253,
"desc": "12 generated pre-wrap texts with 320 hard-break chunks across widths 220/260/320px; streaming line-by-line layout"
}
],
"richLongResults": [
{
"label": "Our library: measureLineStats()",
"ms": 1.7087499999441207,
"desc": "8 Arabic long-form texts across widths 240/300/360px; stats only"
},
{
"label": "Our library: layoutWithLines()",
"ms": 5.36875,
"desc": "8 Arabic long-form texts across widths 240/300/360px; materializes text lines"
},
{
"label": "Our library: walkLineRanges()",
"ms": 2.2112499999813737,
"desc": "8 Arabic long-form texts across widths 240/300/360px; line ranges only, no line text strings"
},
{
"label": "Our library: layoutNextLine()",
"ms": 5.445000000018626,
"desc": "8 Arabic long-form texts across widths 240/300/360px; streaming line-by-line layout"
}
],
"corpusResults": [
{
"id": "ja-kumo-no-ito",
"label": "Japanese prose (story 2)",
"font": "20px \"Hiragino Mincho ProN\", \"Yu Mincho\", \"Noto Serif CJK JP\", serif",
"chars": 2874,
"analysisSegments": 1773,
"segments": 2667,
"breakableSegments": 0,
"width": 300,
"lineCount": 193,
"analysisMs": 2.0999999940395355,
"measureMs": 4.299999997019768,
"prepareMs": 6.5,
"layoutMs": 0.02550000000745058
},
{
"id": "ja-rashomon",
"label": "Japanese prose",
"font": "20px \"Hiragino Mincho ProN\", \"Yu Mincho\", \"Noto Serif CJK JP\", serif",
"chars": 5702,
"analysisSegments": 3606,
"segments": 5044,
"breakableSegments": 1,
"width": 300,
"lineCount": 380,
"analysisMs": 4.5999999940395355,
"measureMs": 8.899999998509884,
"prepareMs": 13.100000001490116,
"layoutMs": 0.048499999977648256
},
{
"id": "ko-unsu-joh-eun-nal",
"label": "Korean prose",
"font": "18px \"Apple SD Gothic Neo\", \"Malgun Gothic\", \"Noto Sans CJK KR\", sans-serif",
"chars": 10272,
"analysisSegments": 5282,
"segments": 9679,
"breakableSegments": 0,
"width": 300,
"lineCount": 428,
"analysisMs": 3.2000000029802322,
"measureMs": 8.099999994039536,
"prepareMs": 11.299999997019768,
"layoutMs": 0.07800000000745058
},
{
"id": "ko-sonagi",
"label": "Korean prose (story 2)",
"font": "18px \"Apple SD Gothic Neo\", \"Malgun Gothic\", \"Noto Sans CJK KR\", sans-serif",
"chars": 8021,
"analysisSegments": 3982,
"segments": 7424,
"breakableSegments": 2,
"width": 300,
"lineCount": 332,
"analysisMs": 2.399999998509884,
"measureMs": 7,
"prepareMs": 9.399999998509884,
"layoutMs": 0.05899999998509884
},
{
"id": "zh-zhufu",
"label": "Chinese prose",
"font": "20px \"Songti SC\", \"PingFang SC\", \"Noto Serif CJK SC\", serif",
"chars": 9428,
"analysisSegments": 5433,
"segments": 7949,
"breakableSegments": 4,
"width": 300,
"lineCount": 626,
"analysisMs": 6.799999997019768,
"measureMs": 14.200000010430813,
"prepareMs": 20.80000000447035,
"layoutMs": 0.0775
},
{
"id": "zh-guxiang",
"label": "Chinese prose (story 2)",
"font": "20px \"Songti SC\", \"PingFang SC\", \"Noto Serif CJK SC\", serif",
"chars": 5717,
"analysisSegments": 3271,
"segments": 4745,
"breakableSegments": 14,
"width": 300,
"lineCount": 375,
"analysisMs": 4.199999995529652,
"measureMs": 7.9000000059604645,
"prepareMs": 12.700000002980232,
"layoutMs": 0.04699999999254942
},
{
"id": "th-nithan-vetal-story-1",
"label": "Thai prose",
"font": "20px \"Thonburi\", \"Noto Sans Thai\", sans-serif",
"chars": 34033,
"analysisSegments": 10281,
"segments": 10281,
"breakableSegments": 8087,
"width": 300,
"lineCount": 1024,
"analysisMs": 9,
"measureMs": 7.399999998509884,
"prepareMs": 16,
"layoutMs": 0.08699999999254943
},
{
"id": "my-cunning-heron-teacher",
"label": "Myanmar prose",
"font": "20px \"Myanmar MN\", \"Myanmar Sangam MN\", \"Noto Sans Myanmar\", serif",
"chars": 2707,
"analysisSegments": 797,
"segments": 797,
"breakableSegments": 422,
"width": 300,
"lineCount": 81,
"analysisMs": 0.7000000029802322,
"measureMs": 0.8999999910593033,
"prepareMs": 1.5999999940395355,
"layoutMs": 0.006499999985098839
},
{
"id": "my-bad-deeds-return-to-you-teacher",
"label": "Myanmar prose (story 2)",
"font": "20px \"Myanmar MN\", \"Myanmar Sangam MN\", \"Noto Sans Myanmar\", serif",
"chars": 1666,
"analysisSegments": 498,
"segments": 498,
"breakableSegments": 274,
"width": 300,
"lineCount": 54,
"analysisMs": 0.3999999985098839,
"measureMs": 0.7000000029802322,
"prepareMs": 1.1000000014901161,
"layoutMs": 0.004000000022351742
},
{
"id": "ur-chughd",
"label": "Urdu prose",
"font": "20px \"Noto Nastaliq Urdu\", \"DecoType Nastaleeq Urdu UI\", \"Geeza Pro\", serif",
"chars": 13391,
"analysisSegments": 6051,
"segments": 6051,
"breakableSegments": 2922,
"width": 300,
"lineCount": 351,
"analysisMs": 3.2999999970197678,
"measureMs": 4.000000007450581,
"prepareMs": 7.300000004470348,
"layoutMs": 0.04199999999254942
},
{
"id": "km-prachum-reuang-preng-khmer-volume-7-stories-1-10",
"label": "Khmer prose",
"font": "20px \"Khmer Sangam MN\", \"Khmer MN\", \"Noto Sans Khmer\", serif",
"chars": 24240,
"analysisSegments": 11109,
"segments": 11109,
"breakableSegments": 4010,
"width": 300,
"lineCount": 591,
"analysisMs": 7.299999997019768,
"measureMs": 4.300000011920929,
"prepareMs": 11.800000004470348,
"layoutMs": 0.08449999999254942
},
{
"id": "hi-eidgah",
"label": "Hindi prose",
"font": "20px \"Kohinoor Devanagari\", \"Noto Serif Devanagari\", serif",
"chars": 24077,
"analysisSegments": 9958,
"segments": 9958,
"breakableSegments": 4090,
"width": 300,
"lineCount": 653,
"analysisMs": 5.399999998509884,
"measureMs": 6.4000000059604645,
"prepareMs": 12.399999998509884,
"layoutMs": 0.06949999999254942
},
{
"id": "synthetic-long-breakable-runs",
"label": "Long breakable runs (synthetic)",
"font": "16px \"Helvetica Neue\", Helvetica, Arial, sans-serif",
"chars": 78679,
"analysisSegments": 2859,
"segments": 2859,
"breakableSegments": 1760,
"width": 300,
"lineCount": 2860,
"analysisMs": 8,
"measureMs": 13.50000000745058,
"prepareMs": 21.700000002980232,
"layoutMs": 0.3060000000149012
},
{
"id": "ar-risalat-al-ghufran-part-1",
"label": "Arabic prose",
"font": "20px \"Geeza Pro\", \"Noto Naskh Arabic\", \"Arial\", serif",
"chars": 106857,
"analysisSegments": 37603,
"segments": 37603,
"breakableSegments": 18745,
"width": 300,
"lineCount": 2643,
"analysisMs": 27.200000002980232,
"measureMs": 44.899999998509884,
"prepareMs": 72.60000000149012,
"layoutMs": 0.2679999999701977
}
],
"requestId": "1775742809347-t0bhgva37fd"
}