Debian Codegraph @

benchmarks/results/benchmarks.json

raw
1 {
2 "benchmarks.ColorSuite.time_downgrade_to_eight_bit": {
3 "code": "class ColorSuite:\n def time_downgrade_to_eight_bit(self):\n self.color.downgrade(ColorSystem.EIGHT_BIT)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )\n self.color = Color.parse(\"#0d1da0\")",
4 "min_run_count": 2,
5 "name": "benchmarks.ColorSuite.time_downgrade_to_eight_bit",
6 "number": 0,
7 "param_names": [],
8 "params": [],
9 "repeat": 0,
10 "rounds": 2,
11 "sample_time": 0.01,
12 "timeout": 60.0,
13 "type": "time",
14 "unit": "seconds",
15 "version": "9da5ad0b5cfed4def0fe21fbea49ad4605f84bae78c584d9178a6b21be58d506",
16 "warmup_time": -1
17 },
18 "benchmarks.ColorSuite.time_downgrade_to_standard": {
19 "code": "class ColorSuite:\n def time_downgrade_to_standard(self):\n self.color.downgrade(ColorSystem.STANDARD)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )\n self.color = Color.parse(\"#0d1da0\")",
20 "min_run_count": 2,
21 "name": "benchmarks.ColorSuite.time_downgrade_to_standard",
22 "number": 0,
23 "param_names": [],
24 "params": [],
25 "repeat": 0,
26 "rounds": 2,
27 "sample_time": 0.01,
28 "timeout": 60.0,
29 "type": "time",
30 "unit": "seconds",
31 "version": "431bf40cae6650c65cdc6da70528f559c2e902abe9370cb73780dac5b5ef6826",
32 "warmup_time": -1
33 },
34 "benchmarks.ColorSuite.time_downgrade_to_windows": {
35 "code": "class ColorSuite:\n def time_downgrade_to_windows(self):\n self.color.downgrade(ColorSystem.WINDOWS)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )\n self.color = Color.parse(\"#0d1da0\")",
36 "min_run_count": 2,
37 "name": "benchmarks.ColorSuite.time_downgrade_to_windows",
38 "number": 0,
39 "param_names": [],
40 "params": [],
41 "repeat": 0,
42 "rounds": 2,
43 "sample_time": 0.01,
44 "timeout": 60.0,
45 "type": "time",
46 "unit": "seconds",
47 "version": "fef8d3fdb69ece95d49b5637f9d69760e29819d2d6e65e53e62356fec2e11b91",
48 "warmup_time": -1
49 },
50 "benchmarks.ColorSuiteCached.time_downgrade_to_eight_bit": {
51 "code": "class ColorSuiteCached:\n def time_downgrade_to_eight_bit(self):\n self.color.downgrade(ColorSystem.EIGHT_BIT)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )\n self.color = Color.parse(\"#0d1da0\")\n # Warm cache\n self.color.downgrade(ColorSystem.EIGHT_BIT)\n self.color.downgrade(ColorSystem.STANDARD)\n self.color.downgrade(ColorSystem.WINDOWS)",
52 "min_run_count": 2,
53 "name": "benchmarks.ColorSuiteCached.time_downgrade_to_eight_bit",
54 "number": 0,
55 "param_names": [],
56 "params": [],
57 "repeat": 0,
58 "rounds": 2,
59 "sample_time": 0.01,
60 "timeout": 60.0,
61 "type": "time",
62 "unit": "seconds",
63 "version": "5fdae4522a081f8212ac2d43d69bbc86b73876c4222f6ea36a80970afe663579",
64 "warmup_time": -1
65 },
66 "benchmarks.ColorSuiteCached.time_downgrade_to_standard": {
67 "code": "class ColorSuiteCached:\n def time_downgrade_to_standard(self):\n self.color.downgrade(ColorSystem.STANDARD)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )\n self.color = Color.parse(\"#0d1da0\")\n # Warm cache\n self.color.downgrade(ColorSystem.EIGHT_BIT)\n self.color.downgrade(ColorSystem.STANDARD)\n self.color.downgrade(ColorSystem.WINDOWS)",
68 "min_run_count": 2,
69 "name": "benchmarks.ColorSuiteCached.time_downgrade_to_standard",
70 "number": 0,
71 "param_names": [],
72 "params": [],
73 "repeat": 0,
74 "rounds": 2,
75 "sample_time": 0.01,
76 "timeout": 60.0,
77 "type": "time",
78 "unit": "seconds",
79 "version": "3806eb6f32fcfc22ff57b23b1d09e25fc82c35a97183e285d257fb2e2b464f8f",
80 "warmup_time": -1
81 },
82 "benchmarks.ColorSuiteCached.time_downgrade_to_windows": {
83 "code": "class ColorSuiteCached:\n def time_downgrade_to_windows(self):\n self.color.downgrade(ColorSystem.WINDOWS)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )\n self.color = Color.parse(\"#0d1da0\")\n # Warm cache\n self.color.downgrade(ColorSystem.EIGHT_BIT)\n self.color.downgrade(ColorSystem.STANDARD)\n self.color.downgrade(ColorSystem.WINDOWS)",
84 "min_run_count": 2,
85 "name": "benchmarks.ColorSuiteCached.time_downgrade_to_windows",
86 "number": 0,
87 "param_names": [],
88 "params": [],
89 "repeat": 0,
90 "rounds": 2,
91 "sample_time": 0.01,
92 "timeout": 60.0,
93 "type": "time",
94 "unit": "seconds",
95 "version": "2844899e3d81f71bd0b997401e1d300394b3ca130a056eb6b9aaca15ef07f39d",
96 "warmup_time": -1
97 },
98 "benchmarks.PrettySuite.time_pretty": {
99 "code": "class PrettySuite:\n def time_pretty(self):\n pretty = Pretty(snippets.PYTHON_DICT)\n self.console.print(pretty)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )",
100 "min_run_count": 2,
101 "name": "benchmarks.PrettySuite.time_pretty",
102 "number": 0,
103 "param_names": [],
104 "params": [],
105 "repeat": 0,
106 "rounds": 2,
107 "sample_time": 0.01,
108 "timeout": 60.0,
109 "type": "time",
110 "unit": "seconds",
111 "version": "12ef039b78ab19f0024f810fc30791bfe497731139b30a8c8ea7aef36ef9fed2",
112 "warmup_time": -1
113 },
114 "benchmarks.PrettySuite.time_pretty_indent_guides": {
115 "code": "class PrettySuite:\n def time_pretty_indent_guides(self):\n pretty = Pretty(snippets.PYTHON_DICT, indent_guides=True)\n self.console.print(pretty)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )",
116 "min_run_count": 2,
117 "name": "benchmarks.PrettySuite.time_pretty_indent_guides",
118 "number": 0,
119 "param_names": [],
120 "params": [],
121 "repeat": 0,
122 "rounds": 2,
123 "sample_time": 0.01,
124 "timeout": 60.0,
125 "type": "time",
126 "unit": "seconds",
127 "version": "27d39951a834104a09759cd0c9b1efe8570946400d606a04baad7b0e2355a259",
128 "warmup_time": -1
129 },
130 "benchmarks.PrettySuite.time_pretty_justify_center": {
131 "code": "class PrettySuite:\n def time_pretty_justify_center(self):\n pretty = Pretty(snippets.PYTHON_DICT, justify=\"center\")\n self.console.print(pretty)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )",
132 "min_run_count": 2,
133 "name": "benchmarks.PrettySuite.time_pretty_justify_center",
134 "number": 0,
135 "param_names": [],
136 "params": [],
137 "repeat": 0,
138 "rounds": 2,
139 "sample_time": 0.01,
140 "timeout": 60.0,
141 "type": "time",
142 "unit": "seconds",
143 "version": "51fe6d435fa7bcd605b26131da960edffb88929baa7aca98c9b3f7b23364cb6f",
144 "warmup_time": -1
145 },
146 "benchmarks.StyleSuite.time_parse_ansi": {
147 "code": "class StyleSuite:\n def time_parse_ansi(self):\n Style.parse(\"red on blue\")\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )\n self.style1 = Style.parse(\"blue on red\")\n self.style2 = Style.parse(\"green italic bold\")",
148 "min_run_count": 2,
149 "name": "benchmarks.StyleSuite.time_parse_ansi",
150 "number": 0,
151 "param_names": [],
152 "params": [],
153 "repeat": 0,
154 "rounds": 2,
155 "sample_time": 0.01,
156 "timeout": 60.0,
157 "type": "time",
158 "unit": "seconds",
159 "version": "ef195062397e8505c3a84b44f8357e0bf4e659abc9a92ae1028707afade51f8a",
160 "warmup_time": -1
161 },
162 "benchmarks.StyleSuite.time_parse_hex": {
163 "code": "class StyleSuite:\n def time_parse_hex(self):\n Style.parse(\"#f0f0f0 on #e2e28a\")\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )\n self.style1 = Style.parse(\"blue on red\")\n self.style2 = Style.parse(\"green italic bold\")",
164 "min_run_count": 2,
165 "name": "benchmarks.StyleSuite.time_parse_hex",
166 "number": 0,
167 "param_names": [],
168 "params": [],
169 "repeat": 0,
170 "rounds": 2,
171 "sample_time": 0.01,
172 "timeout": 60.0,
173 "type": "time",
174 "unit": "seconds",
175 "version": "9077fcf6d594cd70a2eaeb984a0af1d8086f9ee865a4edffc0e00e7cec66963d",
176 "warmup_time": -1
177 },
178 "benchmarks.StyleSuite.time_parse_mixed_complex_style": {
179 "code": "class StyleSuite:\n def time_parse_mixed_complex_style(self):\n Style.parse(\"dim bold reverse #00ee00 on rgb(123,12,50)\")\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )\n self.style1 = Style.parse(\"blue on red\")\n self.style2 = Style.parse(\"green italic bold\")",
180 "min_run_count": 2,
181 "name": "benchmarks.StyleSuite.time_parse_mixed_complex_style",
182 "number": 0,
183 "param_names": [],
184 "params": [],
185 "repeat": 0,
186 "rounds": 2,
187 "sample_time": 0.01,
188 "timeout": 60.0,
189 "type": "time",
190 "unit": "seconds",
191 "version": "1494bc2364e167cce5ae6752fa198ce43b323d4955b6944b5640d33988cdcabc",
192 "warmup_time": -1
193 },
194 "benchmarks.StyleSuite.time_style_add": {
195 "code": "class StyleSuite:\n def time_style_add(self):\n self.style1 + self.style2\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False, width=100\n )\n self.style1 = Style.parse(\"blue on red\")\n self.style2 = Style.parse(\"green italic bold\")",
196 "min_run_count": 2,
197 "name": "benchmarks.StyleSuite.time_style_add",
198 "number": 0,
199 "param_names": [],
200 "params": [],
201 "repeat": 0,
202 "rounds": 2,
203 "sample_time": 0.01,
204 "timeout": 60.0,
205 "type": "time",
206 "unit": "seconds",
207 "version": "c5f2383878cc982ab31d2624f4de284dcc12c3c299c94c3b1fc1d698dd8d8260",
208 "warmup_time": -1
209 },
210 "benchmarks.SyntaxWrappingSuite.time_text_thin_terminal_heavy_wrapping": {
211 "code": "class SyntaxWrappingSuite:\n def time_text_thin_terminal_heavy_wrapping(self):\n self._print_with_width(20)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.syntax = Syntax(\n code=snippets.PYTHON_SNIPPET, lexer=\"python\", word_wrap=True\n )",
212 "min_run_count": 2,
213 "name": "benchmarks.SyntaxWrappingSuite.time_text_thin_terminal_heavy_wrapping",
214 "number": 0,
215 "param_names": [],
216 "params": [],
217 "repeat": 0,
218 "rounds": 2,
219 "sample_time": 0.01,
220 "timeout": 60.0,
221 "type": "time",
222 "unit": "seconds",
223 "version": "bcf6771787d6f643c3a02ed76b9045b8c773101dd7d307f989596e535a1dc8fa",
224 "warmup_time": -1
225 },
226 "benchmarks.SyntaxWrappingSuite.time_text_thin_terminal_medium_wrapping": {
227 "code": "class SyntaxWrappingSuite:\n def time_text_thin_terminal_medium_wrapping(self):\n self._print_with_width(60)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.syntax = Syntax(\n code=snippets.PYTHON_SNIPPET, lexer=\"python\", word_wrap=True\n )",
228 "min_run_count": 2,
229 "name": "benchmarks.SyntaxWrappingSuite.time_text_thin_terminal_medium_wrapping",
230 "number": 0,
231 "param_names": [],
232 "params": [],
233 "repeat": 0,
234 "rounds": 2,
235 "sample_time": 0.01,
236 "timeout": 60.0,
237 "type": "time",
238 "unit": "seconds",
239 "version": "df349deebd0cb3fe2602808efb2cc95270bdd3ff3734e07c13348039c5385ff9",
240 "warmup_time": -1
241 },
242 "benchmarks.SyntaxWrappingSuite.time_text_wide_terminal_no_wrapping": {
243 "code": "class SyntaxWrappingSuite:\n def time_text_wide_terminal_no_wrapping(self):\n self._print_with_width(100)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.syntax = Syntax(\n code=snippets.PYTHON_SNIPPET, lexer=\"python\", word_wrap=True\n )",
244 "min_run_count": 2,
245 "name": "benchmarks.SyntaxWrappingSuite.time_text_wide_terminal_no_wrapping",
246 "number": 0,
247 "param_names": [],
248 "params": [],
249 "repeat": 0,
250 "rounds": 2,
251 "sample_time": 0.01,
252 "timeout": 60.0,
253 "type": "time",
254 "unit": "seconds",
255 "version": "0af0a4fdbcad1978765c9980b246270adec7d7917b7fb7ce9f544a55892503c2",
256 "warmup_time": -1
257 },
258 "benchmarks.TableSuite.time_table_heavy_wrapping": {
259 "code": "class TableSuite:\n def time_table_heavy_wrapping(self):\n self._print_table(width=30)",
260 "min_run_count": 2,
261 "name": "benchmarks.TableSuite.time_table_heavy_wrapping",
262 "number": 0,
263 "param_names": [],
264 "params": [],
265 "repeat": 0,
266 "rounds": 2,
267 "sample_time": 0.01,
268 "timeout": 60.0,
269 "type": "time",
270 "unit": "seconds",
271 "version": "ca515a9739c1e0f8eb922420f9f9caf27321fb13c8bd0bc49b207a0588b370de",
272 "warmup_time": -1
273 },
274 "benchmarks.TableSuite.time_table_no_wrapping": {
275 "code": "class TableSuite:\n def time_table_no_wrapping(self):\n self._print_table(width=100)",
276 "min_run_count": 2,
277 "name": "benchmarks.TableSuite.time_table_no_wrapping",
278 "number": 0,
279 "param_names": [],
280 "params": [],
281 "repeat": 0,
282 "rounds": 2,
283 "sample_time": 0.01,
284 "timeout": 60.0,
285 "type": "time",
286 "unit": "seconds",
287 "version": "8842a5f141d8208ba2bab66e4973e978cb5d0615f326af5d70385ff8fa44b3b9",
288 "warmup_time": -1
289 },
290 "benchmarks.TextHotCacheSuite.time_wrapping_unicode_heavy_warm_cache": {
291 "code": "class TextHotCacheSuite:\n def time_wrapping_unicode_heavy_warm_cache(self):\n for _ in range(20):\n Text(snippets.UNICODE_HEAVY_TEXT).wrap(self.console, 12, overflow=\"fold\")\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )",
292 "min_run_count": 2,
293 "name": "benchmarks.TextHotCacheSuite.time_wrapping_unicode_heavy_warm_cache",
294 "number": 0,
295 "param_names": [],
296 "params": [],
297 "repeat": 0,
298 "rounds": 2,
299 "sample_time": 0.01,
300 "timeout": 60.0,
301 "type": "time",
302 "unit": "seconds",
303 "version": "61a0be6fba20247e1a659912134e0628d062a6711afe7df190007679849f9585",
304 "warmup_time": -1
305 },
306 "benchmarks.TextSuite.time_align_center": {
307 "code": "class TextSuite:\n def time_align_center(self):\n Text(snippets.LOREM_IPSUM).align(\"center\", width=self.len_lorem_ipsum * 3)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
308 "min_run_count": 2,
309 "name": "benchmarks.TextSuite.time_align_center",
310 "number": 0,
311 "param_names": [],
312 "params": [],
313 "repeat": 0,
314 "rounds": 2,
315 "sample_time": 0.01,
316 "timeout": 60.0,
317 "type": "time",
318 "unit": "seconds",
319 "version": "a8b6e02d49879810e61cd70701e4a41a61682871ba4a4b2f4273ace0bdb1250b",
320 "warmup_time": -1
321 },
322 "benchmarks.TextSuite.time_align_center_unicode_heavy": {
323 "code": "class TextSuite:\n def time_align_center_unicode_heavy(self):\n Text(snippets.UNICODE_HEAVY_TEXT).align(\n \"center\", width=self.len_lorem_ipsum * 3\n )\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
324 "min_run_count": 2,
325 "name": "benchmarks.TextSuite.time_align_center_unicode_heavy",
326 "number": 0,
327 "param_names": [],
328 "params": [],
329 "repeat": 0,
330 "rounds": 2,
331 "sample_time": 0.01,
332 "timeout": 60.0,
333 "type": "time",
334 "unit": "seconds",
335 "version": "c65e269d15b432f2add210392f1126e0759c869fca2ae08729cf6baba45f3a15",
336 "warmup_time": -1
337 },
338 "benchmarks.TextSuite.time_divide": {
339 "code": "class TextSuite:\n def time_divide(self):\n Text(snippets.LOREM_IPSUM).divide(range(20, 100, 4))\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
340 "min_run_count": 2,
341 "name": "benchmarks.TextSuite.time_divide",
342 "number": 0,
343 "param_names": [],
344 "params": [],
345 "repeat": 0,
346 "rounds": 2,
347 "sample_time": 0.01,
348 "timeout": 60.0,
349 "type": "time",
350 "unit": "seconds",
351 "version": "11caa260e10d0b561700f4457776c1548091694f5939e1cb201f494c44988c67",
352 "warmup_time": -1
353 },
354 "benchmarks.TextSuite.time_divide_unicode_heavy": {
355 "code": "class TextSuite:\n def time_divide_unicode_heavy(self):\n self.text.divide(range(20, 100, 4))\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
356 "min_run_count": 2,
357 "name": "benchmarks.TextSuite.time_divide_unicode_heavy",
358 "number": 0,
359 "param_names": [],
360 "params": [],
361 "repeat": 0,
362 "rounds": 2,
363 "sample_time": 0.01,
364 "timeout": 60.0,
365 "type": "time",
366 "unit": "seconds",
367 "version": "44af19dfa643c363c09525d54342353925b59b3701794c06f5b056cd4cf85a72",
368 "warmup_time": -1
369 },
370 "benchmarks.TextSuite.time_fit": {
371 "code": "class TextSuite:\n def time_fit(self):\n Text(snippets.LOREM_IPSUM).fit(12)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
372 "min_run_count": 2,
373 "name": "benchmarks.TextSuite.time_fit",
374 "number": 0,
375 "param_names": [],
376 "params": [],
377 "repeat": 0,
378 "rounds": 2,
379 "sample_time": 0.01,
380 "timeout": 60.0,
381 "type": "time",
382 "unit": "seconds",
383 "version": "58c2358185e76c28a0552ba5bee2b9184fbaf918b9f34485b8940a971f166b38",
384 "warmup_time": -1
385 },
386 "benchmarks.TextSuite.time_fit_unicode_heavy": {
387 "code": "class TextSuite:\n def time_fit_unicode_heavy(self):\n Text(snippets.UNICODE_HEAVY_TEXT).fit(12)\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
388 "min_run_count": 2,
389 "name": "benchmarks.TextSuite.time_fit_unicode_heavy",
390 "number": 0,
391 "param_names": [],
392 "params": [],
393 "repeat": 0,
394 "rounds": 2,
395 "sample_time": 0.01,
396 "timeout": 60.0,
397 "type": "time",
398 "unit": "seconds",
399 "version": "55d075d8f450b944e46b02814deedab2f4b05cb5550a2b4e0dcbb04dea51246b",
400 "warmup_time": -1
401 },
402 "benchmarks.TextSuite.time_indent_guides": {
403 "code": "class TextSuite:\n def time_indent_guides(self):\n Text(snippets.PYTHON_SNIPPET).with_indent_guides()\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
404 "min_run_count": 2,
405 "name": "benchmarks.TextSuite.time_indent_guides",
406 "number": 0,
407 "param_names": [],
408 "params": [],
409 "repeat": 0,
410 "rounds": 2,
411 "sample_time": 0.01,
412 "timeout": 60.0,
413 "type": "time",
414 "unit": "seconds",
415 "version": "a90fc2f17dbf830377011b10d0b9d263b6c7fc06215b9e47e264cd129851f421",
416 "warmup_time": -1
417 },
418 "benchmarks.TextSuite.time_render": {
419 "code": "class TextSuite:\n def time_render(self):\n list(self.text.render(self.console))\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
420 "min_run_count": 2,
421 "name": "benchmarks.TextSuite.time_render",
422 "number": 0,
423 "param_names": [],
424 "params": [],
425 "repeat": 0,
426 "rounds": 2,
427 "sample_time": 0.01,
428 "timeout": 60.0,
429 "type": "time",
430 "unit": "seconds",
431 "version": "4d859e28c2f3d6fd67f25a1d92b2b865110be2ad42b26faa6549816824f1d06b",
432 "warmup_time": -1
433 },
434 "benchmarks.TextSuite.time_render_unicode_heavy": {
435 "code": "class TextSuite:\n def time_render_unicode_heavy(self):\n list(Text(snippets.UNICODE_HEAVY_TEXT).render(self.console))\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
436 "min_run_count": 2,
437 "name": "benchmarks.TextSuite.time_render_unicode_heavy",
438 "number": 0,
439 "param_names": [],
440 "params": [],
441 "repeat": 0,
442 "rounds": 2,
443 "sample_time": 0.01,
444 "timeout": 60.0,
445 "type": "time",
446 "unit": "seconds",
447 "version": "4c10b25361392c9889c32587b68541e3dff0a4fe069405d7f5e5763deb07e3c1",
448 "warmup_time": -1
449 },
450 "benchmarks.TextSuite.time_split": {
451 "code": "class TextSuite:\n def time_split(self):\n self.text.split()\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
452 "min_run_count": 2,
453 "name": "benchmarks.TextSuite.time_split",
454 "number": 0,
455 "param_names": [],
456 "params": [],
457 "repeat": 0,
458 "rounds": 2,
459 "sample_time": 0.01,
460 "timeout": 60.0,
461 "type": "time",
462 "unit": "seconds",
463 "version": "cf8cd074f1b4bbd424d0cad4548c43a9cd19f7b5a8da2a1598bfa1cbaac5223c",
464 "warmup_time": -1
465 },
466 "benchmarks.TextSuite.time_split_unicode_heavy": {
467 "code": "class TextSuite:\n def time_split_unicode_heavy(self):\n Text(snippets.UNICODE_HEAVY_TEXT).split()\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
468 "min_run_count": 2,
469 "name": "benchmarks.TextSuite.time_split_unicode_heavy",
470 "number": 0,
471 "param_names": [],
472 "params": [],
473 "repeat": 0,
474 "rounds": 2,
475 "sample_time": 0.01,
476 "timeout": 60.0,
477 "type": "time",
478 "unit": "seconds",
479 "version": "33cad3b4a38b0ed37ade46bda66bc9e84e0f73e3519cc77ac02d7da5123a9137",
480 "warmup_time": -1
481 },
482 "benchmarks.TextSuite.time_wrapping": {
483 "code": "class TextSuite:\n def time_wrapping(self):\n self.text.wrap(self.console, 12, overflow=\"fold\")\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
484 "min_run_count": 2,
485 "name": "benchmarks.TextSuite.time_wrapping",
486 "number": 0,
487 "param_names": [],
488 "params": [],
489 "repeat": 0,
490 "rounds": 2,
491 "sample_time": 0.01,
492 "timeout": 60.0,
493 "type": "time",
494 "unit": "seconds",
495 "version": "961df5c6a57de40e2a07182136f3644f42f1dcab1017b571383e5cb2b3dcbf46",
496 "warmup_time": -1
497 },
498 "benchmarks.TextSuite.time_wrapping_unicode_heavy": {
499 "code": "class TextSuite:\n def time_wrapping_unicode_heavy(self):\n Text(snippets.UNICODE_HEAVY_TEXT).wrap(self.console, 12, overflow=\"fold\")\n\n def setup(self):\n self.console = Console(\n file=StringIO(), color_system=\"truecolor\", legacy_windows=False\n )\n self.len_lorem_ipsum = len(snippets.LOREM_IPSUM)\n self.text = Text.from_markup(snippets.MARKUP)",
500 "min_run_count": 2,
501 "name": "benchmarks.TextSuite.time_wrapping_unicode_heavy",
502 "number": 0,
503 "param_names": [],
504 "params": [],
505 "repeat": 0,
506 "rounds": 2,
507 "sample_time": 0.01,
508 "timeout": 60.0,
509 "type": "time",
510 "unit": "seconds",
511 "version": "0c9e448fb577a673d91bfd3d0da5ade88ee11474cf9113869e669cbc6cf4c444",
512 "warmup_time": -1
513 },
514 "version": 2
515 }