From aa1b452ed86cdc7a032a98f8378f64e295d8b666 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Mon, 25 Nov 2024 16:50:34 +0000 Subject: [PATCH] Adapt to Textual 0.88.0 The new Textual release has some changes: * We need to change how our tests get the rendered version of some Textual objects as now `render()` returns `RichVisual` instances. * Textual has a new theme so we need to regenerate our snapshots. Signed-off-by: Matt Wozniski --- tests/conftest.py | 2 +- ...ks.test_allocations_of_different_sizes.svg | 535 +++++++++--------- .../TestTUILooks.test_basic.svg | 277 +++++---- ...TUILooks.test_basic_node_selected_leaf.svg | 284 +++++----- ...ooks.test_basic_node_selected_not_leaf.svg | 285 +++++----- .../TestTUILooks.test_biggest_allocations.svg | 200 ++++--- .../TestTUILooks.test_hide_import_system.svg | 277 +++++---- .../TestTUILooks.test_select_screen.svg | 284 +++++----- .../TestTUILooks.test_show_uninteresting.svg | 279 +++++---- ...w_uninteresting_and_hide_import_system.svg | 279 +++++---- .../TestTUILooks.test_two_chains.svg | 279 +++++---- ...test_two_chains_after_expanding_second.svg | 289 +++++----- .../test_tui_reporter/test_merge_threads.svg | 130 +++-- ...-terminal-focus-header-long-snapshots].svg | 140 +++-- ...basic[narrow-terminal-short-snapshots].svg | 135 +++-- ...ic[very-wide-terminal-short-snapshots].svg | 144 +++-- ...ui_basic[wide-terminal-long-snapshots].svg | 151 +++-- .../test_tui_reporter/test_tui_gradient.svg | 266 +++++---- ...t_tui_pause[narrow-terminal-connected].svg | 127 ++--- ...ui_pause[narrow-terminal-disconnected].svg | 131 +++-- .../test_tui_pause[wider-terminal].svg | 139 +++-- .../test_unmerge_threads.svg | 130 +++-- tests/unit/test_tui_reporter.py | 2 +- 23 files changed, 2360 insertions(+), 2405 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index a70bb12e55..0cbd5350cd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -5,7 +5,7 @@ from packaging import version SNAPSHOT_MINIMUM_VERSIONS = { - "textual": "0.81", + "textual": "0.88.0", "pytest-textual-snapshot": "1.0", } diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_allocations_of_different_sizes.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_allocations_of_different_sizes.svg index e2b8dd78a1..10a3aad505 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_allocations_of_different_sizes.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_allocations_of_different_sizes.svg @@ -19,496 +19,495 @@ font-weight: 700; } - .terminal-3408409263-matrix { + .terminal-3771100969-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-3408409263-title { + .terminal-3771100969-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-3408409263-r1 { fill: #e2e3e3 } -.terminal-3408409263-r2 { fill: #211505;font-weight: bold } -.terminal-3408409263-r3 { fill: #141414 } -.terminal-3408409263-r4 { fill: #c5c8c6 } -.terminal-3408409263-r5 { fill: #fea62b;font-weight: bold } -.terminal-3408409263-r6 { fill: #cd5c5c } -.terminal-3408409263-r7 { fill: #e2e3e3;font-weight: bold } -.terminal-3408409263-r8 { fill: #438d9f } -.terminal-3408409263-r9 { fill: #f8f8f2 } -.terminal-3408409263-r10 { fill: #ce5d57 } -.terminal-3408409263-r11 { fill: #d15f52 } -.terminal-3408409263-r12 { fill: #d3624d } -.terminal-3408409263-r13 { fill: #d66449 } -.terminal-3408409263-r14 { fill: #d86744 } -.terminal-3408409263-r15 { fill: #db693f } -.terminal-3408409263-r16 { fill: #dd6c3b } -.terminal-3408409263-r17 { fill: #e06e36 } -.terminal-3408409263-r18 { fill: #e27131 } -.terminal-3408409263-r19 { fill: #e5732d } -.terminal-3408409263-r20 { fill: #e87529 } -.terminal-3408409263-r21 { fill: #ea7824 } -.terminal-3408409263-r22 { fill: #ed7a1f } -.terminal-3408409263-r23 { fill: #ef7d1b } -.terminal-3408409263-r24 { fill: #f27f16 } -.terminal-3408409263-r25 { fill: #f48211 } -.terminal-3408409263-r26 { fill: #f6840d } -.terminal-3408409263-r27 { fill: #f98608 } -.terminal-3408409263-r28 { fill: #fb8903 } -.terminal-3408409263-r29 { fill: #fd8b00 } -.terminal-3408409263-r30 { fill: #fb8d02 } -.terminal-3408409263-r31 { fill: #fa8d02 } -.terminal-3408409263-r32 { fill: #f88f04 } -.terminal-3408409263-r33 { fill: #f69006 } -.terminal-3408409263-r34 { fill: #f59107 } -.terminal-3408409263-r35 { fill: #f39208 } -.terminal-3408409263-r36 { fill: #f1930a } -.terminal-3408409263-r37 { fill: #ef950c } -.terminal-3408409263-r38 { fill: #ed960d } -.terminal-3408409263-r39 { fill: #ea970f } -.terminal-3408409263-r40 { fill: #e49910 } -.terminal-3408409263-r41 { fill: #dd9b12 } -.terminal-3408409263-r42 { fill: #d69d13 } -.terminal-3408409263-r43 { fill: #cf9f15 } -.terminal-3408409263-r44 { fill: #c8a116 } -.terminal-3408409263-r45 { fill: #c2a318 } -.terminal-3408409263-r46 { fill: #bba519 } -.terminal-3408409263-r47 { fill: #b4a71a } -.terminal-3408409263-r48 { fill: #ada91c } -.terminal-3408409263-r49 { fill: #a5ac1d } -.terminal-3408409263-r50 { fill: #9eae1f } -.terminal-3408409263-r51 { fill: #97b020 } -.terminal-3408409263-r52 { fill: #91b222 } -.terminal-3408409263-r53 { fill: #8ab423 } -.terminal-3408409263-r54 { fill: #83b624 } -.terminal-3408409263-r55 { fill: #7cb826 } -.terminal-3408409263-r56 { fill: #75ba27 } -.terminal-3408409263-r57 { fill: #6ebc29 } -.terminal-3408409263-r58 { fill: #e1e1e1 } -.terminal-3408409263-r59 { fill: #67be2a } -.terminal-3408409263-r60 { fill: #e4e5e6 } -.terminal-3408409263-r61 { fill: #a7a9ab } -.terminal-3408409263-r62 { fill: #4c5055 } + .terminal-3771100969-r1 { fill: #e0e0e0 } +.terminal-3771100969-r2 { fill: #ddedf9;font-weight: bold } +.terminal-3771100969-r3 { fill: #121212 } +.terminal-3771100969-r4 { fill: #c5c8c6 } +.terminal-3771100969-r5 { fill: #0178d4 } +.terminal-3771100969-r6 { fill: #cd5c5c } +.terminal-3771100969-r7 { fill: #e0e0e0;font-weight: bold } +.terminal-3771100969-r8 { fill: #448d9c } +.terminal-3771100969-r9 { fill: #f8f8f2 } +.terminal-3771100969-r10 { fill: #ce5d57 } +.terminal-3771100969-r11 { fill: #d15f52 } +.terminal-3771100969-r12 { fill: #d3624d } +.terminal-3771100969-r13 { fill: #d66449 } +.terminal-3771100969-r14 { fill: #d86744 } +.terminal-3771100969-r15 { fill: #db693f } +.terminal-3771100969-r16 { fill: #dd6c3b } +.terminal-3771100969-r17 { fill: #e06e36 } +.terminal-3771100969-r18 { fill: #e27131 } +.terminal-3771100969-r19 { fill: #e5732d } +.terminal-3771100969-r20 { fill: #e87529 } +.terminal-3771100969-r21 { fill: #ea7824 } +.terminal-3771100969-r22 { fill: #ed7a1f } +.terminal-3771100969-r23 { fill: #ef7d1b } +.terminal-3771100969-r24 { fill: #f27f16 } +.terminal-3771100969-r25 { fill: #f48211 } +.terminal-3771100969-r26 { fill: #f6840d } +.terminal-3771100969-r27 { fill: #f98608 } +.terminal-3771100969-r28 { fill: #fb8903 } +.terminal-3771100969-r29 { fill: #fd8b00 } +.terminal-3771100969-r30 { fill: #fb8d02 } +.terminal-3771100969-r31 { fill: #fa8d02 } +.terminal-3771100969-r32 { fill: #f88f04 } +.terminal-3771100969-r33 { fill: #f69006 } +.terminal-3771100969-r34 { fill: #f59107 } +.terminal-3771100969-r35 { fill: #f39208 } +.terminal-3771100969-r36 { fill: #f1930a } +.terminal-3771100969-r37 { fill: #ef950c } +.terminal-3771100969-r38 { fill: #ed960d } +.terminal-3771100969-r39 { fill: #ea970f } +.terminal-3771100969-r40 { fill: #e49910 } +.terminal-3771100969-r41 { fill: #dd9b12 } +.terminal-3771100969-r42 { fill: #d69d13 } +.terminal-3771100969-r43 { fill: #cf9f15 } +.terminal-3771100969-r44 { fill: #c8a116 } +.terminal-3771100969-r45 { fill: #c2a318 } +.terminal-3771100969-r46 { fill: #bba519 } +.terminal-3771100969-r47 { fill: #b4a71a } +.terminal-3771100969-r48 { fill: #ada91c } +.terminal-3771100969-r49 { fill: #a5ac1d } +.terminal-3771100969-r50 { fill: #9eae1f } +.terminal-3771100969-r51 { fill: #97b020 } +.terminal-3771100969-r52 { fill: #91b222 } +.terminal-3771100969-r53 { fill: #8ab423 } +.terminal-3771100969-r54 { fill: #83b624 } +.terminal-3771100969-r55 { fill: #7cb826 } +.terminal-3771100969-r56 { fill: #75ba27 } +.terminal-3771100969-r57 { fill: #6ebc29 } +.terminal-3771100969-r58 { fill: #67be2a } +.terminal-3771100969-r59 { fill: #e4e6e7 } +.terminal-3771100969-r60 { fill: #ffa62b;font-weight: bold } +.terminal-3771100969-r61 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 3.174KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -┗━━ ▼ 📂 3.174KB (100.00 %) func1fun1.py:1 -    ┗━━ ▼ 📂 3.110KB (98.00 %) func2fun2.py:2 -        ┗━━ ▼ 📂 3.047KB (96.00 %) func3fun3.py:3 -            ┗━━ ▼ 📂 2.983KB (94.00 %) func4fun4.py:4 -                ┗━━ ▼ 📂 2.920KB (92.00 %) func5fun5.py:5 -                    ┗━━ ▼ 📂 2.856KB (90.00 %) func6fun6.py:6 -                        ┗━━ ▼ 📂 2.793KB (88.00 %) func7fun7.py:7 -                            ┗━━ ▼ 📂 2.729KB (86.00 %) func8fun8.py:8 -                                ┗━━ ▼ 📂 2.666KB (84.00 %) func9fun9.py:9 -                                    ┗━━ ▼ 📂 2.603KB (82.00 %) func10fun10.py:10 -                                        ┗━━ ▼ 📂 2.539KB (80.00 %) func11fun11.py:11 -                                            ┗━━ ▼ 📂 2.476KB (78.00 %) func12fun12.py:12 -                                                ┗━━ ▼ 📂 2.412KB (76.00 %) func13fun13.py:13 -                                                    ┗━━ ▼ 📂 2.349KB (74.00 %) func14fun14.py:14 -                                                        ┗━━ ▼ 📂 2.285KB (72.00 %) func15fun15.py:15 -                                                            ┗━━ ▼ 📂 2.222KB (70.00 %) func16fun16.py:16 -                                                                ┗━━ ▼ 📂 2.158KB (68.00 %) func17fun17.py:17 -                                                                    ┗━━ ▼ 📂 2.095KB (66.00 %) func18fun18.py:18 -                                                                        ┗━━ ▼ 📂 2.031KB (64.00 %) func19fun19.py:19 -                                                                            ┗━━ ▼ 📂 1.968KB (62.00 %) func20fun20.py:20 -                                                                                ┗━━ ▼ 📂 1.904KB (60.00 %) func21fun21.py:21 -                                                                                    ┗━━ ▼ 📂 1.841KB (58.00 %) func22fun22.py:22 -                                                                                        ┗━━ ▼ 📂 1.777KB (56.00 %) func23fun23.py:23 -                                                                                            ┗━━ ▼ 📂 1.714KB (54.00 %) func24fun24.py:24 -                                                                                                ┗━━ ▼ 📂 1.650KB (52.00 %) func25fun25.py:25 -                                                                                                    ┗━━ ▼ 📂 1.587KB (50.00 %) func26fun26.py:26 -                                                                                                        ┗━━ ▼ 📂 1.523KB (48.00 %) func27fun27.py:27 -                                                                                                            ┗━━ ▼ 📂 1.460KB (46.00 %) func28fun28.py:28 -                                                                                                                ┗━━ ▼ 📂 1.396KB (44.00 %) func29fun29.py:29 -                                                                                                                    ┗━━ ▼ 📂 1.333KB (42.00 %) func30fun30.py:30 -                                                                                                                        ┗━━ ▼ 📂 1.270KB (40.00 %) func31fun31.py:31 -                                                                                                                            ┗━━ ▼ 📂 1.206KB (38.00 %) func32fun32.py:32 -                                                                                                                                ┗━━ ▼ 📂 1.143KB (36.00 %) func33fun33.py:33 -                                                                                                                                    ┗━━ ▼ 📂 1.079KB (34.00 %) func34fun34.py:34 -                                                                                                                                        ┗━━ ▼ 📂 1.016KB (32.00 %) func35fun35.py:35 -                                                                                                                                            ┗━━ ▼ 📂 975.000B (30.00 %) func36fun36.py:36 -                                                                                                                                                ┗━━ ▼ 📂 910.000B (28.00 %) func37fun37.py:37 -                                                                                                                                                    ┗━━ ▼ 📂 845.000B (26.00 %) func38fun38.py:38 -                                                                                                                                                        ┗━━ ▼ 📂 780.000B (24.00 %) func39fun39.py:39 -                                                                                                                                                            ┗━━ ▼ 📂 715.000B (22.00 %) func40fun40.py:40 -                                                                                                                                                                ┗━━ ▼ 📂 650.000B (20.00 %) func41fun41.py:41 -                                                                                                                                                                    ┗━━ ▼ 📂 585.000B (18.00 %) func42fun42.py:42 -                                                                                                                                                                        ┗━━ ▼ 📂 520.000B (16.00 %) func43fun43.py:43 -                                                                                                                                                                            ┗━━ ▼ 📂 455.000B (14.00 %) func44fun44.py:44 -                                                                                                                                                                                ┗━━ ▼ 📂 390.000B (12.00 %) func45fun45.py:45 -                                                                                                                                                                                    ┗━━ ▼ 📂 325.000B (10.00 %) func46fun46.py:46 -                                                                                                                                                                                        ┗━━ ▼ 📂 260.000B (8.00 %) func47fun47.py:47 -                                                                                                                                                                                            ┗━━ ▼ 📂 195.000B (6.00 %) func48fun48.py:48 -                                                                                                                                                                                                ┗━━ ▼ 📂 130.000B (4.00 %) func49fun49.py:49 -                                                                                                                                                                                                    ┗━━ 📄 65.000B (2.00 %) func50fun50.py:50 -💾 Allocations: 50 - - -📦 Size: 3.174KB - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 3.174KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +└── ▼ 📂 3.174KB (100.00 %) func1fun1.py:1 +    └── ▼ 📂 3.110KB (98.00 %) func2fun2.py:2 +        └── ▼ 📂 3.047KB (96.00 %) func3fun3.py:3 +            └── ▼ 📂 2.983KB (94.00 %) func4fun4.py:4 +                └── ▼ 📂 2.920KB (92.00 %) func5fun5.py:5 +                    └── ▼ 📂 2.856KB (90.00 %) func6fun6.py:6 +                        └── ▼ 📂 2.793KB (88.00 %) func7fun7.py:7 +                            └── ▼ 📂 2.729KB (86.00 %) func8fun8.py:8 +                                └── ▼ 📂 2.666KB (84.00 %) func9fun9.py:9 +                                    └── ▼ 📂 2.603KB (82.00 %) func10fun10.py:10 +                                        └── ▼ 📂 2.539KB (80.00 %) func11fun11.py:11 +                                            └── ▼ 📂 2.476KB (78.00 %) func12fun12.py:12 +                                                └── ▼ 📂 2.412KB (76.00 %) func13fun13.py:13 +                                                    └── ▼ 📂 2.349KB (74.00 %) func14fun14.py:14 +                                                        └── ▼ 📂 2.285KB (72.00 %) func15fun15.py:15 +                                                            └── ▼ 📂 2.222KB (70.00 %) func16fun16.py:16 +                                                                └── ▼ 📂 2.158KB (68.00 %) func17fun17.py:17 +                                                                    └── ▼ 📂 2.095KB (66.00 %) func18fun18.py:18 +                                                                        └── ▼ 📂 2.031KB (64.00 %) func19fun19.py:19 +                                                                            └── ▼ 📂 1.968KB (62.00 %) func20fun20.py:20 +                                                                                └── ▼ 📂 1.904KB (60.00 %) func21fun21.py:21 +                                                                                    └── ▼ 📂 1.841KB (58.00 %) func22fun22.py:22 +                                                                                        └── ▼ 📂 1.777KB (56.00 %) func23fun23.py:23 +                                                                                            └── ▼ 📂 1.714KB (54.00 %) func24fun24.py:24 +                                                                                                └── ▼ 📂 1.650KB (52.00 %) func25fun25.py:25 +                                                                                                    └── ▼ 📂 1.587KB (50.00 %) func26fun26.py:26 +                                                                                                        └── ▼ 📂 1.523KB (48.00 %) func27fun27.py:27 +                                                                                                            └── ▼ 📂 1.460KB (46.00 %) func28fun28.py:28 +                                                                                                                └── ▼ 📂 1.396KB (44.00 %) func29fun29.py:29 +                                                                                                                    └── ▼ 📂 1.333KB (42.00 %) func30fun30.py:30 +                                                                                                                        └── ▼ 📂 1.270KB (40.00 %) func31fun31.py:31 +                                                                                                                            └── ▼ 📂 1.206KB (38.00 %) func32fun32.py:32 +                                                                                                                                └── ▼ 📂 1.143KB (36.00 %) func33fun33.py:33 +                                                                                                                                    └── ▼ 📂 1.079KB (34.00 %) func34fun34.py:34 +                                                                                                                                        └── ▼ 📂 1.016KB (32.00 %) func35fun35.py:35 +                                                                                                                                            └── ▼ 📂 975.000B (30.00 %) func36fun36.py:36 +                                                                                                                                                └── ▼ 📂 910.000B (28.00 %) func37fun37.py:37 +                                                                                                                                                    └── ▼ 📂 845.000B (26.00 %) func38fun38.py:38 +                                                                                                                                                        └── ▼ 📂 780.000B (24.00 %) func39fun39.py:39 +                                                                                                                                                            └── ▼ 📂 715.000B (22.00 %) func40fun40.py:40 +                                                                                                                                                                └── ▼ 📂 650.000B (20.00 %) func41fun41.py:41 +                                                                                                                                                                    └── ▼ 📂 585.000B (18.00 %) func42fun42.py:42 +                                                                                                                                                                        └── ▼ 📂 520.000B (16.00 %) func43fun43.py:43 +                                                                                                                                                                            └── ▼ 📂 455.000B (14.00 %) func44fun44.py:44 +                                                                                                                                                                                └── ▼ 📂 390.000B (12.00 %) func45fun45.py:45 +                                                                                                                                                                                    └── ▼ 📂 325.000B (10.00 %) func46fun46.py:46 +                                                                                                                                                                                        └── ▼ 📂 260.000B (8.00 %) func47fun47.py:47 +                                                                                                                                                                                            └── ▼ 📂 195.000B (6.00 %) func48fun48.py:48 +                                                                                                                                                                                                └── ▼ 📂 130.000B (4.00 %) func49fun49.py:49 +                                                                                                                                                                                                    └── 📄 65.000B (2.00 %) func50fun50.py:50 +💾 Allocations: 50 + + +📦 Size: 3.174KB + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group                                                                                                                                                                                                                                                                ^p palette diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic.svg index 05ba338534..6987a91dc3 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic.svg @@ -19,287 +19,286 @@ font-weight: 700; } - .terminal-622702022-matrix { + .terminal-2009055639-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-622702022-title { + .terminal-2009055639-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-622702022-r1 { fill: #e2e3e3 } -.terminal-622702022-r2 { fill: #211505;font-weight: bold } -.terminal-622702022-r3 { fill: #141414 } -.terminal-622702022-r4 { fill: #c5c8c6 } -.terminal-622702022-r5 { fill: #fea62b;font-weight: bold } -.terminal-622702022-r6 { fill: #cd5c5c } -.terminal-622702022-r7 { fill: #e2e3e3;font-weight: bold } -.terminal-622702022-r8 { fill: #438d9f } -.terminal-622702022-r9 { fill: #f8f8f2 } -.terminal-622702022-r10 { fill: #e1e1e1 } -.terminal-622702022-r11 { fill: #e4e5e6 } -.terminal-622702022-r12 { fill: #a7a9ab } -.terminal-622702022-r13 { fill: #4c5055 } + .terminal-2009055639-r1 { fill: #e0e0e0 } +.terminal-2009055639-r2 { fill: #ddedf9;font-weight: bold } +.terminal-2009055639-r3 { fill: #121212 } +.terminal-2009055639-r4 { fill: #c5c8c6 } +.terminal-2009055639-r5 { fill: #0178d4 } +.terminal-2009055639-r6 { fill: #cd5c5c } +.terminal-2009055639-r7 { fill: #e0e0e0;font-weight: bold } +.terminal-2009055639-r8 { fill: #448d9c } +.terminal-2009055639-r9 { fill: #f8f8f2 } +.terminal-2009055639-r10 { fill: #e4e6e7 } +.terminal-2009055639-r11 { fill: #ffa62b;font-weight: bold } +.terminal-2009055639-r12 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 1.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -┗━━ ▼ 📂 1.000KB (100.00 %) grandparentfun.py:4 -    ┗━━ ▼ 📂 1.000KB (100.00 %) parentfun.py:8 -        ┗━━ 📄 1.000KB (100.00 %) mefun.py:12 - - - - - - - - - - - - - - - - - - - - - - - - - - - -💾 Allocations: 1 - - -📦 Size: 1.000KB - - - - - - - - - - - - - - - - - - - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 1.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +└── ▼ 📂 1.000KB (100.00 %) grandparentfun.py:4 +    └── ▼ 📂 1.000KB (100.00 %) parentfun.py:8 +        └── 📄 1.000KB (100.00 %) mefun.py:12 + + + + + + + + + + + + + + + + + + + + + + + + + + + +💾 Allocations: 1 + + +📦 Size: 1.000KB + + + + + + + + + + + + + + + + + + + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group                          ^p palette diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic_node_selected_leaf.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic_node_selected_leaf.svg index c8184b2f34..a9e6deec21 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic_node_selected_leaf.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic_node_selected_leaf.svg @@ -19,291 +19,289 @@ font-weight: 700; } - .terminal-2193240310-matrix { + .terminal-1052655657-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2193240310-title { + .terminal-1052655657-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2193240310-r1 { fill: #e2e3e3 } -.terminal-2193240310-r2 { fill: #cd5c5c } -.terminal-2193240310-r3 { fill: #e2e3e3;font-weight: bold } -.terminal-2193240310-r4 { fill: #141414 } -.terminal-2193240310-r5 { fill: #c5c8c6 } -.terminal-2193240310-r6 { fill: #008139 } -.terminal-2193240310-r7 { fill: #438d9f } -.terminal-2193240310-r8 { fill: #f8f8f2 } -.terminal-2193240310-r9 { fill: #211505;font-weight: bold } -.terminal-2193240310-r10 { fill: #794f14;font-weight: bold } -.terminal-2193240310-r11 { fill: #1e1f35 } -.terminal-2193240310-r12 { fill: #23568b } -.terminal-2193240310-r13 { fill: #e1e1e1 } -.terminal-2193240310-r14 { fill: #e4e5e6 } -.terminal-2193240310-r15 { fill: #fea62b;font-weight: bold } -.terminal-2193240310-r16 { fill: #a7a9ab } -.terminal-2193240310-r17 { fill: #4c5055 } + .terminal-1052655657-r1 { fill: #e0e0e0 } +.terminal-1052655657-r2 { fill: #cd5c5c } +.terminal-1052655657-r3 { fill: #e0e0e0;font-weight: bold } +.terminal-1052655657-r4 { fill: #121212 } +.terminal-1052655657-r5 { fill: #c5c8c6 } +.terminal-1052655657-r6 { fill: #4f4f4f } +.terminal-1052655657-r7 { fill: #448d9c } +.terminal-1052655657-r8 { fill: #f8f8f2 } +.terminal-1052655657-r9 { fill: #ddedf9;font-weight: bold } +.terminal-1052655657-r10 { fill: #85beea;font-weight: bold } +.terminal-1052655657-r11 { fill: #1e1f35 } +.terminal-1052655657-r12 { fill: #003054 } +.terminal-1052655657-r13 { fill: #e4e6e7 } +.terminal-1052655657-r14 { fill: #ffa62b;font-weight: bold } +.terminal-1052655657-r15 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 1.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -└── ▼ 📂 1.000KB (100.00 %) grandparentfun.py:4import itertools                             -    └── ▼ 📂 1.000KB (100.00 %) parentfun.py:8def generate_primes():                       -        └── 📄 1.000KB (100.00 %) me  fun.py:12    numbers = itertools.count(2)             -    while True:                              -        prime = next(numbers)                -        yield prime                          -        numbers = filter(lambda x, prime=pri - - - - - - - - - - - - - - - - - - - - - - - -🧭 Function: me - - -🧭 Location: fun.py:12 - - -💾 Allocations: 1 - - -📦 Size: 1.000KB - - -🧵 Thread: 0x1 - - - - - - - - - - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 1.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +└── ▼ 📂 1.000KB (100.00 %) grandparentfun.py:4import itertools                             +    └── ▼ 📂 1.000KB (100.00 %) parentfun.py:8def generate_primes():                       +        └── 📄 1.000KB (100.00 %) me  fun.py:12    numbers = itertools.count(2)             +    while True:                              +        prime = next(numbers)                +        yield prime                          +        numbers = filter(lambda x, prime=pri + + + + + + + + + + + + + + + + + + + + + + + +🧭 Function: me + + +🧭 Location: fun.py:12 + + +💾 Allocations: 1 + + +📦 Size: 1.000KB + + +🧵 Thread: 0x1 + + + + + + + + + + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group                          ^p palette diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic_node_selected_not_leaf.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic_node_selected_not_leaf.svg index bfeb4c0fd4..74d041f9d3 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic_node_selected_not_leaf.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_basic_node_selected_not_leaf.svg @@ -19,291 +19,290 @@ font-weight: 700; } - .terminal-2577825541-matrix { + .terminal-1713670514-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2577825541-title { + .terminal-1713670514-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2577825541-r1 { fill: #e2e3e3 } -.terminal-2577825541-r2 { fill: #cd5c5c } -.terminal-2577825541-r3 { fill: #e2e3e3;font-weight: bold } -.terminal-2577825541-r4 { fill: #141414 } -.terminal-2577825541-r5 { fill: #c5c8c6 } -.terminal-2577825541-r6 { fill: #008139 } -.terminal-2577825541-r7 { fill: #438d9f } -.terminal-2577825541-r8 { fill: #f8f8f2 } -.terminal-2577825541-r9 { fill: #211505;font-weight: bold } -.terminal-2577825541-r10 { fill: #794f14;font-weight: bold } -.terminal-2577825541-r11 { fill: #fea62b;font-weight: bold } -.terminal-2577825541-r12 { fill: #1e1f35 } -.terminal-2577825541-r13 { fill: #23568b } -.terminal-2577825541-r14 { fill: #e1e1e1 } -.terminal-2577825541-r15 { fill: #e4e5e6 } -.terminal-2577825541-r16 { fill: #a7a9ab } -.terminal-2577825541-r17 { fill: #4c5055 } + .terminal-1713670514-r1 { fill: #e0e0e0 } +.terminal-1713670514-r2 { fill: #cd5c5c } +.terminal-1713670514-r3 { fill: #e0e0e0;font-weight: bold } +.terminal-1713670514-r4 { fill: #121212 } +.terminal-1713670514-r5 { fill: #c5c8c6 } +.terminal-1713670514-r6 { fill: #4f4f4f } +.terminal-1713670514-r7 { fill: #448d9c } +.terminal-1713670514-r8 { fill: #f8f8f2 } +.terminal-1713670514-r9 { fill: #ddedf9;font-weight: bold } +.terminal-1713670514-r10 { fill: #85beea;font-weight: bold } +.terminal-1713670514-r11 { fill: #0178d4 } +.terminal-1713670514-r12 { fill: #1e1f35 } +.terminal-1713670514-r13 { fill: #003054 } +.terminal-1713670514-r14 { fill: #e4e6e7 } +.terminal-1713670514-r15 { fill: #ffa62b;font-weight: bold } +.terminal-1713670514-r16 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 1.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -└── ▼ 📂 1.000KB (100.00 %) grandparentfun.py:4import itertools                             -    └── ▼ 📂 1.000KB (100.00 %) parent  fun.py:8def generate_primes():                       -┗━━ 📄 1.000KB (100.00 %) mefun.py:12    numbers = itertools.count(2)             -    while True:                              -        prime = next(numbers)                -        yield prime                          -        numbers = filter(lambda x, prime=pri - - - - - - - - - - - - - - - - - - - - - - - -🧭 Function: parent - - -🧭 Location: fun.py:8 - - -💾 Allocations: 1 - - -📦 Size: 1.000KB - - -🧵 Thread: 0x1 - - - - - - - - - - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 1.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +└── ▼ 📂 1.000KB (100.00 %) grandparentfun.py:4import itertools                             +    └── ▼ 📂 1.000KB (100.00 %) parent  fun.py:8def generate_primes():                       +└── 📄 1.000KB (100.00 %) mefun.py:12    numbers = itertools.count(2)             +    while True:                              +        prime = next(numbers)                +        yield prime                          +        numbers = filter(lambda x, prime=pri + + + + + + + + + + + + + + + + + + + + + + + +🧭 Function: parent + + +🧭 Location: fun.py:8 + + +💾 Allocations: 1 + + +📦 Size: 1.000KB + + +🧵 Thread: 0x1 + + + + + + + + + + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group                          ^p palette diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_biggest_allocations.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_biggest_allocations.svg index 52f8952b84..5afcfc9c39 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_biggest_allocations.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_biggest_allocations.svg @@ -19,209 +19,207 @@ font-weight: 700; } - .terminal-897610865-matrix { + .terminal-3710807887-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-897610865-title { + .terminal-3710807887-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-897610865-r1 { fill: #e2e3e3 } -.terminal-897610865-r2 { fill: #cd5c5c } -.terminal-897610865-r3 { fill: #e2e3e3;font-weight: bold } -.terminal-897610865-r4 { fill: #141414 } -.terminal-897610865-r5 { fill: #c5c8c6 } -.terminal-897610865-r6 { fill: #008139 } -.terminal-897610865-r7 { fill: #61c12c } -.terminal-897610865-r8 { fill: #438d9f } -.terminal-897610865-r9 { fill: #f8f8f2 } -.terminal-897610865-r10 { fill: #211505;font-weight: bold } -.terminal-897610865-r11 { fill: #e1e1e1 } -.terminal-897610865-r12 { fill: #e4e5e6 } -.terminal-897610865-r13 { fill: #fea62b;font-weight: bold } -.terminal-897610865-r14 { fill: #a7a9ab } -.terminal-897610865-r15 { fill: #4c5055 } + .terminal-3710807887-r1 { fill: #e0e0e0 } +.terminal-3710807887-r2 { fill: #cd5c5c } +.terminal-3710807887-r3 { fill: #e0e0e0;font-weight: bold } +.terminal-3710807887-r4 { fill: #121212 } +.terminal-3710807887-r5 { fill: #c5c8c6 } +.terminal-3710807887-r6 { fill: #4f4f4f } +.terminal-3710807887-r7 { fill: #61c12c } +.terminal-3710807887-r8 { fill: #448d9c } +.terminal-3710807887-r9 { fill: #f8f8f2 } +.terminal-3710807887-r10 { fill: #ddedf9;font-weight: bold } +.terminal-3710807887-r11 { fill: #e4e6e7 } +.terminal-3710807887-r12 { fill: #ffa62b;font-weight: bold } +.terminal-3710807887-r13 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 487.793MB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -├── 📄 999.000KB (0.20 %) function_999fun.py:12 -├── 📄 998.000KB (0.20 %) function_998fun.py:12 -├── 📄 997.000KB (0.20 %) function_997fun.py:12 -├── 📄 996.000KB (0.20 %) function_996fun.py:12 -├── 📄 995.000KB (0.20 %) function_995fun.py:12 -├── 📄 994.000KB (0.20 %) function_994fun.py:12 -├── 📄 993.000KB (0.20 %) function_993fun.py:12 -├── 📄 992.000KB (0.20 %) function_992fun.py:12 -├── 📄 991.000KB (0.20 %) function_991fun.py:12 -├── 📄 990.000KB (0.20 %) function_990fun.py:12 -└── ❓ 478.081MB (98.01 %) 990 allocations from 990 locations below the configured threshold - - - - - - - - - -Only the top 10 allocation locations are shown in the tree. Allocation -locations which individually contributed too little to meet the  -threshold are summarized here. - -You can adjust this threshold to include more allocation locations by  -rerunning this reporter with a larger --biggest-allocs value. - - -💾 Allocations: 990 - - -📦 Size: 478.081MB - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 487.793MB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +├── 📄 999.000KB (0.20 %) function_999fun.py:12 +├── 📄 998.000KB (0.20 %) function_998fun.py:12 +├── 📄 997.000KB (0.20 %) function_997fun.py:12 +├── 📄 996.000KB (0.20 %) function_996fun.py:12 +├── 📄 995.000KB (0.20 %) function_995fun.py:12 +├── 📄 994.000KB (0.20 %) function_994fun.py:12 +├── 📄 993.000KB (0.20 %) function_993fun.py:12 +├── 📄 992.000KB (0.20 %) function_992fun.py:12 +├── 📄 991.000KB (0.20 %) function_991fun.py:12 +├── 📄 990.000KB (0.20 %) function_990fun.py:12 +└── ❓ 478.081MB (98.01 %) 990 allocations from 990 locations below the configured threshold + + + + + + + + + +Only the top 10 allocation locations are shown in the tree. Allocation +locations which individually contributed too little to meet the  +threshold are summarized here. + +You can adjust this threshold to include more allocation locations by  +rerunning this reporter with a larger --biggest-allocs value. + + +💾 Allocations: 990 + + +📦 Size: 478.081MB + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group                                                                                                          ^p palette diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_hide_import_system.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_hide_import_system.svg index a26d96ed8a..6c3c06cc47 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_hide_import_system.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_hide_import_system.svg @@ -19,287 +19,286 @@ font-weight: 700; } - .terminal-288599466-matrix { + .terminal-330482043-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-288599466-title { + .terminal-330482043-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-288599466-r1 { fill: #e2e3e3 } -.terminal-288599466-r2 { fill: #211505;font-weight: bold } -.terminal-288599466-r3 { fill: #141414 } -.terminal-288599466-r4 { fill: #c5c8c6 } -.terminal-288599466-r5 { fill: #fea62b;font-weight: bold } -.terminal-288599466-r6 { fill: #d86744 } -.terminal-288599466-r7 { fill: #e2e3e3;font-weight: bold } -.terminal-288599466-r8 { fill: #438d9f } -.terminal-288599466-r9 { fill: #f8f8f2 } -.terminal-288599466-r10 { fill: #e1e1e1 } -.terminal-288599466-r11 { fill: #e4e5e6 } -.terminal-288599466-r12 { fill: #a7a9ab } -.terminal-288599466-r13 { fill: #4c5055 } + .terminal-330482043-r1 { fill: #e0e0e0 } +.terminal-330482043-r2 { fill: #ddedf9;font-weight: bold } +.terminal-330482043-r3 { fill: #121212 } +.terminal-330482043-r4 { fill: #c5c8c6 } +.terminal-330482043-r5 { fill: #0178d4 } +.terminal-330482043-r6 { fill: #d86744 } +.terminal-330482043-r7 { fill: #e0e0e0;font-weight: bold } +.terminal-330482043-r8 { fill: #448d9c } +.terminal-330482043-r9 { fill: #f8f8f2 } +.terminal-330482043-r10 { fill: #e4e6e7 } +.terminal-330482043-r11 { fill: #ffa62b;font-weight: bold } +.terminal-330482043-r12 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 11.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -┗━━ ▼ 📂 10.000KB (90.91 %) grandparent2fun2.py:4 -    ┗━━ ▼ 📂 10.000KB (90.91 %) parent2fun2.py:8 -        ┗━━ 📄 10.000KB (90.91 %) me2fun2.py:12 - - - - - - - - - - - - - - - - - - - - - - - - - - - -💾 Allocations: 2 - - -📦 Size: 11.000KB - - - - - - - - - - - - - - - - - - - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Show import system  u Show uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 11.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +└── ▼ 📂 10.000KB (90.91 %) grandparent2fun2.py:4 +    └── ▼ 📂 10.000KB (90.91 %) parent2fun2.py:8 +        └── 📄 10.000KB (90.91 %) me2fun2.py:12 + + + + + + + + + + + + + + + + + + + + + + + + + + + +💾 Allocations: 2 + + +📦 Size: 11.000KB + + + + + + + + + + + + + + + + + + + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Show import system  u Show uninteresting  e Expand linear group                          ^p palette diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_select_screen.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_select_screen.svg index 0268213c30..f72a155c3d 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_select_screen.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_select_screen.svg @@ -19,291 +19,289 @@ font-weight: 700; } - .terminal-940209513-matrix { + .terminal-3216147612-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-940209513-title { + .terminal-3216147612-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-940209513-r1 { fill: #e2e3e3 } -.terminal-940209513-r2 { fill: #cd5c5c } -.terminal-940209513-r3 { fill: #e2e3e3;font-weight: bold } -.terminal-940209513-r4 { fill: #141414 } -.terminal-940209513-r5 { fill: #c5c8c6 } -.terminal-940209513-r6 { fill: #008139 } -.terminal-940209513-r7 { fill: #438d9f } -.terminal-940209513-r8 { fill: #f8f8f2 } -.terminal-940209513-r9 { fill: #211505;font-weight: bold } -.terminal-940209513-r10 { fill: #794f14;font-weight: bold } -.terminal-940209513-r11 { fill: #1e1f35 } -.terminal-940209513-r12 { fill: #23568b } -.terminal-940209513-r13 { fill: #e1e1e1 } -.terminal-940209513-r14 { fill: #e4e5e6 } -.terminal-940209513-r15 { fill: #fea62b;font-weight: bold } -.terminal-940209513-r16 { fill: #a7a9ab } -.terminal-940209513-r17 { fill: #4c5055 } + .terminal-3216147612-r1 { fill: #e0e0e0 } +.terminal-3216147612-r2 { fill: #cd5c5c } +.terminal-3216147612-r3 { fill: #e0e0e0;font-weight: bold } +.terminal-3216147612-r4 { fill: #121212 } +.terminal-3216147612-r5 { fill: #c5c8c6 } +.terminal-3216147612-r6 { fill: #4f4f4f } +.terminal-3216147612-r7 { fill: #448d9c } +.terminal-3216147612-r8 { fill: #f8f8f2 } +.terminal-3216147612-r9 { fill: #ddedf9;font-weight: bold } +.terminal-3216147612-r10 { fill: #85beea;font-weight: bold } +.terminal-3216147612-r11 { fill: #1e1f35 } +.terminal-3216147612-r12 { fill: #003054 } +.terminal-3216147612-r13 { fill: #e4e6e7 } +.terminal-3216147612-r14 { fill: #ffa62b;font-weight: bold } +.terminal-3216147612-r15 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 1.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -└── ▼ 📂 1.000KB (100.00 %) grandparent2fun2.py:4import itertools                             -    └── ▼ 📂 1.000KB (100.00 %) parent2fun2.py:8def generate_primes():                       -        └── 📄 1.000KB (100.00 %) me2  func2.py:4    numbers = itertools.count(2)             -    while True: -        prime = next(numbers)                -        yield prime                          -        numbers = filter(lambda x, prime=pri - - - - - - - - - - - - - - - - - - - - - - - -🧭 Function: me2 - - -🧭 Location: func2.py:4 - - -💾 Allocations: 1 - - -📦 Size: 1.000KB - - -🧵 Thread: 0x1 - - - - - - - - - - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 1.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +└── ▼ 📂 1.000KB (100.00 %) grandparent2fun2.py:4import itertools                             +    └── ▼ 📂 1.000KB (100.00 %) parent2fun2.py:8def generate_primes():                       +        └── 📄 1.000KB (100.00 %) me2  func2.py:4    numbers = itertools.count(2)             +    while True: +        prime = next(numbers)                +        yield prime                          +        numbers = filter(lambda x, prime=pri + + + + + + + + + + + + + + + + + + + + + + + +🧭 Function: me2 + + +🧭 Location: func2.py:4 + + +💾 Allocations: 1 + + +📦 Size: 1.000KB + + +🧵 Thread: 0x1 + + + + + + + + + + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group                          ^p palette diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_show_uninteresting.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_show_uninteresting.svg index 1955cf5534..3ef1d3e6ba 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_show_uninteresting.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_show_uninteresting.svg @@ -19,288 +19,287 @@ font-weight: 700; } - .terminal-291234952-matrix { + .terminal-4181652091-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-291234952-title { + .terminal-4181652091-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-291234952-r1 { fill: #e2e3e3 } -.terminal-291234952-r2 { fill: #211505;font-weight: bold } -.terminal-291234952-r3 { fill: #141414 } -.terminal-291234952-r4 { fill: #c5c8c6 } -.terminal-291234952-r5 { fill: #fea62b;font-weight: bold } -.terminal-291234952-r6 { fill: #d86744 } -.terminal-291234952-r7 { fill: #e2e3e3;font-weight: bold } -.terminal-291234952-r8 { fill: #438d9f } -.terminal-291234952-r9 { fill: #f8f8f2 } -.terminal-291234952-r10 { fill: #7fb725 } -.terminal-291234952-r11 { fill: #e1e1e1 } -.terminal-291234952-r12 { fill: #e4e5e6 } -.terminal-291234952-r13 { fill: #a7a9ab } -.terminal-291234952-r14 { fill: #4c5055 } + .terminal-4181652091-r1 { fill: #e0e0e0 } +.terminal-4181652091-r2 { fill: #ddedf9;font-weight: bold } +.terminal-4181652091-r3 { fill: #121212 } +.terminal-4181652091-r4 { fill: #c5c8c6 } +.terminal-4181652091-r5 { fill: #0178d4 } +.terminal-4181652091-r6 { fill: #d86744 } +.terminal-4181652091-r7 { fill: #e0e0e0;font-weight: bold } +.terminal-4181652091-r8 { fill: #448d9c } +.terminal-4181652091-r9 { fill: #f8f8f2 } +.terminal-4181652091-r10 { fill: #7fb725 } +.terminal-4181652091-r11 { fill: #e4e6e7 } +.terminal-4181652091-r12 { fill: #ffa62b;font-weight: bold } +.terminal-4181652091-r13 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 11.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -┣━━ ▼ 📂 10.000KB (90.91 %) grandparent2fun2.py:4 -┃   ┗━━ ▼ 📂 10.000KB (90.91 %) parent2fun2.py:8 -┃       ┗━━ 📄 10.000KB (90.91 %) me2fun2.py:12 -┗━━ ▶ 📂 1.000KB (9.09 %) erunpy.py:5 - - - - - - - - - - - - - - - - - - - - - - - - - - -💾 Allocations: 2 - - -📦 Size: 11.000KB - - - - - - - - - - - - - - - - - - - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Hide import system  u Hide uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 11.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +├── ▼ 📂 10.000KB (90.91 %) grandparent2fun2.py:4 +│   └── ▼ 📂 10.000KB (90.91 %) parent2fun2.py:8 +│       └── 📄 10.000KB (90.91 %) me2fun2.py:12 +└── ▶ 📂 1.000KB (9.09 %) erunpy.py:5 + + + + + + + + + + + + + + + + + + + + + + + + + + +💾 Allocations: 2 + + +📦 Size: 11.000KB + + + + + + + + + + + + + + + + + + + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Hide import system  u Hide uninteresting  e Expand linear group                          ^p palette diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_show_uninteresting_and_hide_import_system.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_show_uninteresting_and_hide_import_system.svg index 319f9c9f5b..8b305c8401 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_show_uninteresting_and_hide_import_system.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_show_uninteresting_and_hide_import_system.svg @@ -19,288 +19,287 @@ font-weight: 700; } - .terminal-4069006045-matrix { + .terminal-2117411575-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-4069006045-title { + .terminal-2117411575-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-4069006045-r1 { fill: #e2e3e3 } -.terminal-4069006045-r2 { fill: #211505;font-weight: bold } -.terminal-4069006045-r3 { fill: #141414 } -.terminal-4069006045-r4 { fill: #c5c8c6 } -.terminal-4069006045-r5 { fill: #fea62b;font-weight: bold } -.terminal-4069006045-r6 { fill: #d86744 } -.terminal-4069006045-r7 { fill: #e2e3e3;font-weight: bold } -.terminal-4069006045-r8 { fill: #438d9f } -.terminal-4069006045-r9 { fill: #f8f8f2 } -.terminal-4069006045-r10 { fill: #7fb725 } -.terminal-4069006045-r11 { fill: #e1e1e1 } -.terminal-4069006045-r12 { fill: #e4e5e6 } -.terminal-4069006045-r13 { fill: #a7a9ab } -.terminal-4069006045-r14 { fill: #4c5055 } + .terminal-2117411575-r1 { fill: #e0e0e0 } +.terminal-2117411575-r2 { fill: #ddedf9;font-weight: bold } +.terminal-2117411575-r3 { fill: #121212 } +.terminal-2117411575-r4 { fill: #c5c8c6 } +.terminal-2117411575-r5 { fill: #0178d4 } +.terminal-2117411575-r6 { fill: #d86744 } +.terminal-2117411575-r7 { fill: #e0e0e0;font-weight: bold } +.terminal-2117411575-r8 { fill: #448d9c } +.terminal-2117411575-r9 { fill: #f8f8f2 } +.terminal-2117411575-r10 { fill: #7fb725 } +.terminal-2117411575-r11 { fill: #e4e6e7 } +.terminal-2117411575-r12 { fill: #ffa62b;font-weight: bold } +.terminal-2117411575-r13 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 11.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -┣━━ ▼ 📂 10.000KB (90.91 %) crunpy.py:5 -┃   ┗━━ ▼ 📂 10.000KB (90.91 %) brunpy.py:2 -┃       ┗━━ ▼ 📂 10.000KB (90.91 %) arunpy.py:1 -┃           ┗━━ 📄 10.000KB (90.91 %) Asome other frame:4 -┗━━ ▶ 📂 1.000KB (9.09 %) grandparent2fun2.py:4 - - - - - - - - - - - - - - - - - - - - - - - - - -💾 Allocations: 2 - - -📦 Size: 11.000KB - - - - - - - - - - - - - - - - - - - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Show import system  u Hide uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 11.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +├── ▼ 📂 10.000KB (90.91 %) crunpy.py:5 +│   └── ▼ 📂 10.000KB (90.91 %) brunpy.py:2 +│       └── ▼ 📂 10.000KB (90.91 %) arunpy.py:1 +│           └── 📄 10.000KB (90.91 %) Asome other frame:4 +└── ▶ 📂 1.000KB (9.09 %) grandparent2fun2.py:4 + + + + + + + + + + + + + + + + + + + + + + + + + +💾 Allocations: 2 + + +📦 Size: 11.000KB + + + + + + + + + + + + + + + + + + + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Show import system  u Hide uninteresting  e Expand linear group                          ^p palette diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_two_chains.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_two_chains.svg index 3c0fba960d..518cb38e29 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_two_chains.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_two_chains.svg @@ -19,288 +19,287 @@ font-weight: 700; } - .terminal-1334306538-matrix { + .terminal-189461725-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1334306538-title { + .terminal-189461725-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1334306538-r1 { fill: #e2e3e3 } -.terminal-1334306538-r2 { fill: #211505;font-weight: bold } -.terminal-1334306538-r3 { fill: #141414 } -.terminal-1334306538-r4 { fill: #c5c8c6 } -.terminal-1334306538-r5 { fill: #fea62b;font-weight: bold } -.terminal-1334306538-r6 { fill: #d86744 } -.terminal-1334306538-r7 { fill: #e2e3e3;font-weight: bold } -.terminal-1334306538-r8 { fill: #438d9f } -.terminal-1334306538-r9 { fill: #f8f8f2 } -.terminal-1334306538-r10 { fill: #7fb725 } -.terminal-1334306538-r11 { fill: #e1e1e1 } -.terminal-1334306538-r12 { fill: #e4e5e6 } -.terminal-1334306538-r13 { fill: #a7a9ab } -.terminal-1334306538-r14 { fill: #4c5055 } + .terminal-189461725-r1 { fill: #e0e0e0 } +.terminal-189461725-r2 { fill: #ddedf9;font-weight: bold } +.terminal-189461725-r3 { fill: #121212 } +.terminal-189461725-r4 { fill: #c5c8c6 } +.terminal-189461725-r5 { fill: #0178d4 } +.terminal-189461725-r6 { fill: #d86744 } +.terminal-189461725-r7 { fill: #e0e0e0;font-weight: bold } +.terminal-189461725-r8 { fill: #448d9c } +.terminal-189461725-r9 { fill: #f8f8f2 } +.terminal-189461725-r10 { fill: #7fb725 } +.terminal-189461725-r11 { fill: #e4e6e7 } +.terminal-189461725-r12 { fill: #ffa62b;font-weight: bold } +.terminal-189461725-r13 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 11.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -┣━━ ▼ 📂 10.000KB (90.91 %) grandparent2fun2.py:4 -┃   ┗━━ ▼ 📂 10.000KB (90.91 %) parent2fun2.py:8 -┃       ┗━━ 📄 10.000KB (90.91 %) me2fun2.py:12 -┗━━ ▶ 📂 1.000KB (9.09 %) grandparentfun.py:4 - - - - - - - - - - - - - - - - - - - - - - - - - - -💾 Allocations: 2 - - -📦 Size: 11.000KB - - - - - - - - - - - - - - - - - - - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 11.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +├── ▼ 📂 10.000KB (90.91 %) grandparent2fun2.py:4 +│   └── ▼ 📂 10.000KB (90.91 %) parent2fun2.py:8 +│       └── 📄 10.000KB (90.91 %) me2fun2.py:12 +└── ▶ 📂 1.000KB (9.09 %) grandparentfun.py:4 + + + + + + + + + + + + + + + + + + + + + + + + + + +💾 Allocations: 2 + + +📦 Size: 11.000KB + + + + + + + + + + + + + + + + + + + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group                          ^p palette diff --git a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_two_chains_after_expanding_second.svg b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_two_chains_after_expanding_second.svg index 5ce991aabd..53a36bea54 100644 --- a/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_two_chains_after_expanding_second.svg +++ b/tests/unit/__snapshots__/test_tree_reporter/TestTUILooks.test_two_chains_after_expanding_second.svg @@ -19,293 +19,292 @@ font-weight: 700; } - .terminal-972766600-matrix { + .terminal-2395354946-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-972766600-title { + .terminal-2395354946-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-972766600-r1 { fill: #e2e3e3 } -.terminal-972766600-r2 { fill: #cd5c5c } -.terminal-972766600-r3 { fill: #e2e3e3;font-weight: bold } -.terminal-972766600-r4 { fill: #141414 } -.terminal-972766600-r5 { fill: #c5c8c6 } -.terminal-972766600-r6 { fill: #008139 } -.terminal-972766600-r7 { fill: #d86744 } -.terminal-972766600-r8 { fill: #438d9f } -.terminal-972766600-r9 { fill: #f8f8f2 } -.terminal-972766600-r10 { fill: #211505;font-weight: bold } -.terminal-972766600-r11 { fill: #794f14;font-weight: bold } -.terminal-972766600-r12 { fill: #fea62b;font-weight: bold } -.terminal-972766600-r13 { fill: #7fb725 } -.terminal-972766600-r14 { fill: #1e1f35 } -.terminal-972766600-r15 { fill: #23568b } -.terminal-972766600-r16 { fill: #e1e1e1 } -.terminal-972766600-r17 { fill: #e4e5e6 } -.terminal-972766600-r18 { fill: #a7a9ab } -.terminal-972766600-r19 { fill: #4c5055 } + .terminal-2395354946-r1 { fill: #e0e0e0 } +.terminal-2395354946-r2 { fill: #cd5c5c } +.terminal-2395354946-r3 { fill: #e0e0e0;font-weight: bold } +.terminal-2395354946-r4 { fill: #121212 } +.terminal-2395354946-r5 { fill: #c5c8c6 } +.terminal-2395354946-r6 { fill: #4f4f4f } +.terminal-2395354946-r7 { fill: #d86744 } +.terminal-2395354946-r8 { fill: #448d9c } +.terminal-2395354946-r9 { fill: #f8f8f2 } +.terminal-2395354946-r10 { fill: #ddedf9;font-weight: bold } +.terminal-2395354946-r11 { fill: #85beea;font-weight: bold } +.terminal-2395354946-r12 { fill: #0178d4 } +.terminal-2395354946-r13 { fill: #7fb725 } +.terminal-2395354946-r14 { fill: #1e1f35 } +.terminal-2395354946-r15 { fill: #003054 } +.terminal-2395354946-r16 { fill: #e4e6e7 } +.terminal-2395354946-r17 { fill: #ffa62b;font-weight: bold } +.terminal-2395354946-r18 { fill: #495259 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - TreeApp + TreeApp - - - - ▼ 📂 11.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ -├── ▼ 📂 10.000KB (90.91 %) grandparent2fun2.py:4import itertools                             -│   └── ▼ 📂 10.000KB (90.91 %) parent2fun2.py:8def generate_primes():                       -│       └── 📄 10.000KB (90.91 %) me2fun2.py:12    numbers = itertools.count(2)             -└── ▼ 📂 1.000KB (9.09 %) e  fun.py:5    while True:                              -┗━━ ▼ 📂 1.000KB (9.09 %) dfun.py:4        prime = next(numbers) -    ┗━━ ▼ 📂 1.000KB (9.09 %) cfun.py:3        yield prime                          -        ┗━━ ▼ 📂 1.000KB (9.09 %) bfun.py:2        numbers = filter(lambda x, prime=pri -            ┗━━ 📄 1.000KB (9.09 %) afun.py:1 - - - - - - - - - - - - - - - - - - - - - - -🧭 Function: e - - -🧭 Location: fun.py:5 - - -💾 Allocations: 1 - - -📦 Size: 1.000KB - - -🧵 Thread: 0x1 - - - - - - - - - - - - - - -█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ - q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group ^p palette + + + + ▼ 📂 11.000KB (100.00 %) <ROOT>█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ +├── ▼ 📂 10.000KB (90.91 %) grandparent2fun2.py:4import itertools                             +│   └── ▼ 📂 10.000KB (90.91 %) parent2fun2.py:8def generate_primes():                       +│       └── 📄 10.000KB (90.91 %) me2fun2.py:12    numbers = itertools.count(2)             +└── ▼ 📂 1.000KB (9.09 %) e  fun.py:5    while True:                              +└── ▼ 📂 1.000KB (9.09 %) dfun.py:4        prime = next(numbers) +    └── ▼ 📂 1.000KB (9.09 %) cfun.py:3        yield prime                          +        └── ▼ 📂 1.000KB (9.09 %) bfun.py:2        numbers = filter(lambda x, prime=pri +            └── 📄 1.000KB (9.09 %) afun.py:1 + + + + + + + + + + + + + + + + + + + + + + +🧭 Function: e + + +🧭 Location: fun.py:5 + + +💾 Allocations: 1 + + +📦 Size: 1.000KB + + +🧵 Thread: 0x1 + + + + + + + + + + + + + + +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + q Quit the app  i Hide import system  u Show uninteresting  e Expand linear group                          ^p palette diff --git a/tests/unit/__snapshots__/test_tui_reporter/test_merge_threads.svg b/tests/unit/__snapshots__/test_tui_reporter/test_merge_threads.svg index f87de23c91..fa8d82615d 100644 --- a/tests/unit/__snapshots__/test_tui_reporter/test_merge_threads.svg +++ b/tests/unit/__snapshots__/test_tui_reporter/test_merge_threads.svg @@ -19,143 +19,139 @@ font-weight: 700; } - .terminal-1511522985-matrix { + .terminal-4198170429-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1511522985-title { + .terminal-4198170429-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1511522985-r1 { fill: #e1e1e1;font-weight: bold } -.terminal-1511522985-r2 { fill: #e1e1e1 } -.terminal-1511522985-r3 { fill: #c5c8c6 } -.terminal-1511522985-r4 { fill: #00ff00 } -.terminal-1511522985-r5 { fill: #64d484 } -.terminal-1511522985-r6 { fill: #dde6ed;font-weight: bold } -.terminal-1511522985-r7 { fill: #dde6ed;font-weight: bold;text-decoration: underline; } -.terminal-1511522985-r8 { fill: #dde6ed } -.terminal-1511522985-r9 { fill: #e1e2e3 } -.terminal-1511522985-r10 { fill: #d39e14 } -.terminal-1511522985-r11 { fill: #fea62b;font-weight: bold } -.terminal-1511522985-r12 { fill: #a7a9ab } -.terminal-1511522985-r13 { fill: #474747 } + .terminal-4198170429-r1 { fill: #e0e0e0;font-weight: bold } +.terminal-4198170429-r2 { fill: #e0e0e0 } +.terminal-4198170429-r3 { fill: #c5c8c6 } +.terminal-4198170429-r4 { fill: #00ff00 } +.terminal-4198170429-r5 { fill: #64d484 } +.terminal-4198170429-r6 { fill: #e0e0e0;font-weight: bold;text-decoration: underline; } +.terminal-4198170429-r7 { fill: #d39e14 } +.terminal-4198170429-r8 { fill: #ffa62b;font-weight: bold } +.terminal-4198170429-r9 { fill: #3b3b3b } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - MockApp + MockApp - - - - Memray live tracking                                                                                                          Fri Oct 13 12:00:00 2023 - (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ──────────────────────────────╮ -PID: ???     CMD: ???                                                                                                                            █ -TID: *       All threads                                          █ -Samples: 2   Duration: 42.0 seconds                                                                                                              █ -                                          █ -╰─────────── 3.000KB (100% of 3.000KB max) ─╯ - -                      Location                      Total Bytes% TotalOwn Bytes% OwnAllocations File/Module  - a                                                      1.000KB 33.33%  1.000KB33.33%          1 a.py         - b                                                      1.000KB 33.33%  1.000KB33.33%          1 b.py         - c                                                      1.000KB 33.33%  1.000KB33.33%          1 c.py         - - - - - - - - - - - - q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort by Allocations  space Pause ^p palette + + + + Memray live tracking                                                                                                          Fri Oct 13 12:00:00 2023 + (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ──────────────────────────────╮ +PID: ???     CMD: ???                                                                                                                            █ +TID: *       All threads                                          █ +Samples: 2   Duration: 42.0 seconds                                                                                                              █ +                                          █ +╰─────────── 3.000KB (100% of 3.000KB max) ─╯ + +                      Location                      Total Bytes% TotalOwn Bytes% OwnAllocations File/Module  + a                                                      1.000KB 33.33%  1.000KB33.33%          1 a.py         + b                                                      1.000KB 33.33%  1.000KB33.33%          1 b.py         + c                                                      1.000KB 33.33%  1.000KB33.33%          1 c.py         + + + + + + + + + + + + q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort by Allocations  space Pause                                            ^p palette diff --git a/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[narrow-terminal-focus-header-long-snapshots].svg b/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[narrow-terminal-focus-header-long-snapshots].svg index 1fe3a2341f..7cbd4f552f 100644 --- a/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[narrow-terminal-focus-header-long-snapshots].svg +++ b/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[narrow-terminal-focus-header-long-snapshots].svg @@ -19,147 +19,145 @@ font-weight: 700; } - .terminal-2135092110-matrix { + .terminal-3782435155-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2135092110-title { + .terminal-3782435155-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2135092110-r1 { fill: #e1e1e1;font-weight: bold } -.terminal-2135092110-r2 { fill: #e1e1e1 } -.terminal-2135092110-r3 { fill: #1e1e1e } -.terminal-2135092110-r4 { fill: #c5c8c6 } -.terminal-2135092110-r5 { fill: #f4005f } -.terminal-2135092110-r6 { fill: #64d484 } -.terminal-2135092110-r7 { fill: #dde6ed;font-weight: bold } -.terminal-2135092110-r8 { fill: #dde6ed;font-weight: bold;text-decoration: underline; } -.terminal-2135092110-r9 { fill: #e1e2e3 } -.terminal-2135092110-r10 { fill: #cd5c5c } -.terminal-2135092110-r11 { fill: #61c12c } -.terminal-2135092110-r12 { fill: #fa8d02 } -.terminal-2135092110-r13 { fill: #ee950c } -.terminal-2135092110-r14 { fill: #8db322 } -.terminal-2135092110-r15 { fill: #fea62b;font-weight: bold } -.terminal-2135092110-r16 { fill: #a7a9ab } -.terminal-2135092110-r17 { fill: #474747 } + .terminal-3782435155-r1 { fill: #e0e0e0;font-weight: bold } +.terminal-3782435155-r2 { fill: #e0e0e0 } +.terminal-3782435155-r3 { fill: #121212 } +.terminal-3782435155-r4 { fill: #c5c8c6 } +.terminal-3782435155-r5 { fill: #f4005f } +.terminal-3782435155-r6 { fill: #64d484 } +.terminal-3782435155-r7 { fill: #e0e0e0;font-weight: bold;text-decoration: underline; } +.terminal-3782435155-r8 { fill: #1e1e1e } +.terminal-3782435155-r9 { fill: #cd5c5c } +.terminal-3782435155-r10 { fill: #61c12c } +.terminal-3782435155-r11 { fill: #fa8d02 } +.terminal-3782435155-r12 { fill: #ee950c } +.terminal-3782435155-r13 { fill: #8db322 } +.terminal-3782435155-r14 { fill: #ffa62b;font-weight: bold } +.terminal-3782435155-r15 { fill: #3b3b3b } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - MockApp + MockApp - - - - Memray live tracking                                  Fri Oct 13 12:00:00 2023 -PID: ???     CMD: ???                                                          -TID: *       All threads -Samples: 2   Duration: 42.0 seconds                                            -StatusRemote has disconnected - -╭─ Heap Usage ─────────────────────────────────────╮ -                                                 ▐ -                                                 ▐ -                                                 █ -                                                 █ -╰────────────────── 2.325KB (100% of 2.325KB max) ─╯ -                      Location                      Total Bytes% TotalO - malloc                                                 2.325KB100.00% - parent                                                 2.325KB100.00% - grandparent                                            2.325KB100.00% - f2                                                     1.325KB 56.99% - f1                                                     1.000KB 43.01% - something0                                            333.000B 13.99% - something1                                            333.000B 13.99% - something2                                            333.000B 13.99% - something3                                            333.000B 13.99% - something4                                            333.000B 13.99% - q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort^p palette + + + + Memray live tracking                                  Fri Oct 13 12:00:00 2023 +PID: ???     CMD: ???                                                          +TID: *       All threads +Samples: 2   Duration: 42.0 seconds                                            +StatusRemote has disconnected + +╭─ Heap Usage ─────────────────────────────────────╮ +                                                 ▐ +                                                 ▐ +                                                 █ +                                                 █ +╰────────────────── 2.325KB (100% of 2.325KB max) ─╯ +                      Location                      Total Bytes% TotalO + malloc                                                 2.325KB100.00% + parent                                                 2.325KB100.00% + grandparent                                            2.325KB100.00% + f2                                                     1.325KB 56.99% + f1                                                     1.000KB 43.01% + something0                                            333.000B 13.99% + something1                                            333.000B 13.99% + something2                                            333.000B 13.99% + something3                                            333.000B 13.99% + something4                                            333.000B 13.99% + q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort^p palette diff --git a/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[narrow-terminal-short-snapshots].svg b/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[narrow-terminal-short-snapshots].svg index 881333f8b8..1c4b1a63d3 100644 --- a/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[narrow-terminal-short-snapshots].svg +++ b/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[narrow-terminal-short-snapshots].svg @@ -19,144 +19,143 @@ font-weight: 700; } - .terminal-1637235901-matrix { + .terminal-2700949748-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1637235901-title { + .terminal-2700949748-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1637235901-r1 { fill: #dde6ed;font-weight: bold } -.terminal-1637235901-r2 { fill: #dde6ed;font-weight: bold;text-decoration: underline; } -.terminal-1637235901-r3 { fill: #e1e1e1 } -.terminal-1637235901-r4 { fill: #c5c8c6 } -.terminal-1637235901-r5 { fill: #e1e2e3 } -.terminal-1637235901-r6 { fill: #cd5c5c } -.terminal-1637235901-r7 { fill: #61c12c } -.terminal-1637235901-r8 { fill: #f6840d } -.terminal-1637235901-r9 { fill: #d39e14 } -.terminal-1637235901-r10 { fill: #1e1e1e } -.terminal-1637235901-r11 { fill: #23568b } -.terminal-1637235901-r12 { fill: #fea62b;font-weight: bold } -.terminal-1637235901-r13 { fill: #a7a9ab } -.terminal-1637235901-r14 { fill: #474747 } + .terminal-2700949748-r1 { fill: #e0e0e0;font-weight: bold } +.terminal-2700949748-r2 { fill: #e0e0e0;font-weight: bold;text-decoration: underline; } +.terminal-2700949748-r3 { fill: #e0e0e0 } +.terminal-2700949748-r4 { fill: #c5c8c6 } +.terminal-2700949748-r5 { fill: #cd5c5c } +.terminal-2700949748-r6 { fill: #61c12c } +.terminal-2700949748-r7 { fill: #f6840d } +.terminal-2700949748-r8 { fill: #d39e14 } +.terminal-2700949748-r9 { fill: #121212 } +.terminal-2700949748-r10 { fill: #272727 } +.terminal-2700949748-r11 { fill: #003054 } +.terminal-2700949748-r12 { fill: #ffa62b;font-weight: bold } +.terminal-2700949748-r13 { fill: #3b3b3b } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - MockApp + MockApp - - - -                       Location                      Total Bytes% TotalOwn - malloc                                                 3.000KB100.00%  3 - parent                                                 3.000KB100.00% - grandparent                                            3.000KB100.00% - f2                                                     2.000KB 66.67% - f1                                                     1.000KB 33.33% - - - - - - - - - - - - - - - - - - q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort^p palette + + + +                       Location                      Total Bytes% TotalOwn + malloc                                                 3.000KB100.00%  3 + parent                                                 3.000KB100.00% + grandparent                                            3.000KB100.00% + f2                                                     2.000KB 66.67% + f1                                                     1.000KB 33.33% + + + + + + + + + + + + + + + + + + q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort^p palette diff --git a/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[very-wide-terminal-short-snapshots].svg b/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[very-wide-terminal-short-snapshots].svg index f449a4c5ff..917ca7d970 100644 --- a/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[very-wide-terminal-short-snapshots].svg +++ b/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[very-wide-terminal-short-snapshots].svg @@ -19,150 +19,146 @@ font-weight: 700; } - .terminal-2920755353-matrix { + .terminal-1020604072-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2920755353-title { + .terminal-1020604072-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2920755353-r1 { fill: #e1e1e1;font-weight: bold } -.terminal-2920755353-r2 { fill: #e1e1e1 } -.terminal-2920755353-r3 { fill: #c5c8c6 } -.terminal-2920755353-r4 { fill: #00ff00 } -.terminal-2920755353-r5 { fill: #64d484 } -.terminal-2920755353-r6 { fill: #f4005f } -.terminal-2920755353-r7 { fill: #dde6ed;font-weight: bold } -.terminal-2920755353-r8 { fill: #dde6ed;font-weight: bold;text-decoration: underline; } -.terminal-2920755353-r9 { fill: #dde6ed } -.terminal-2920755353-r10 { fill: #e1e2e3 } -.terminal-2920755353-r11 { fill: #cd5c5c } -.terminal-2920755353-r12 { fill: #b7a619 } -.terminal-2920755353-r13 { fill: #61c12c } -.terminal-2920755353-r14 { fill: #f6840d } -.terminal-2920755353-r15 { fill: #97b020 } -.terminal-2920755353-r16 { fill: #d39e14 } -.terminal-2920755353-r17 { fill: #7cb826 } -.terminal-2920755353-r18 { fill: #fea62b;font-weight: bold } -.terminal-2920755353-r19 { fill: #a7a9ab } -.terminal-2920755353-r20 { fill: #474747 } + .terminal-1020604072-r1 { fill: #e0e0e0;font-weight: bold } +.terminal-1020604072-r2 { fill: #e0e0e0 } +.terminal-1020604072-r3 { fill: #c5c8c6 } +.terminal-1020604072-r4 { fill: #00ff00 } +.terminal-1020604072-r5 { fill: #64d484 } +.terminal-1020604072-r6 { fill: #f4005f } +.terminal-1020604072-r7 { fill: #e0e0e0;font-weight: bold;text-decoration: underline; } +.terminal-1020604072-r8 { fill: #cd5c5c } +.terminal-1020604072-r9 { fill: #b7a619 } +.terminal-1020604072-r10 { fill: #61c12c } +.terminal-1020604072-r11 { fill: #f6840d } +.terminal-1020604072-r12 { fill: #97b020 } +.terminal-1020604072-r13 { fill: #d39e14 } +.terminal-1020604072-r14 { fill: #7cb826 } +.terminal-1020604072-r15 { fill: #ffa62b;font-weight: bold } +.terminal-1020604072-r16 { fill: #3b3b3b } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - MockApp + MockApp - - - - Memray live tracking                                                                                                                                                            Fri Oct 13 12:00:00 2023 - (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ─────────────────────────────────────╮ -PID: ???     CMD: ???                                                                                                                                                                              ▐ -TID: *       All threads                                                 ▐ -Samples: 2   Duration: 42.0 seconds                                                                                                                                                                ▟ -StatusRemote has disconnected                                                 █ -╰────────────────── 3.000KB (100% of 3.000KB max) ─╯ - -                      Location                      Total Bytes% TotalOwn Bytes% OwnAllocations File/Module  - malloc                                                 3.000KB100.00%  3.000KB100.00%          3 malloc.c     - parent                                                 3.000KB100.00%   0.000B  0.00%          3 fun.py       - grandparent                                            3.000KB100.00%   0.000B  0.00%          3 fun.py       - f2                                                     2.000KB 66.67%   0.000B  0.00%          2 f.py         - f1                                                     1.000KB 33.33%   0.000B  0.00%          1 f.py         - - - - - - - - - - q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort by Allocations ^p palette + + + + Memray live tracking                                                                                                                                                            Fri Oct 13 12:00:00 2023 + (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ─────────────────────────────────────╮ +PID: ???     CMD: ???                                                                                                                                                                              ▐ +TID: *       All threads                                                 ▐ +Samples: 2   Duration: 42.0 seconds                                                                                                                                                                ▟ +StatusRemote has disconnected                                                 █ +╰────────────────── 3.000KB (100% of 3.000KB max) ─╯ + +                      Location                      Total Bytes% TotalOwn Bytes% OwnAllocations File/Module  + malloc                                                 3.000KB100.00%  3.000KB100.00%          3 malloc.c     + parent                                                 3.000KB100.00%   0.000B  0.00%          3 fun.py       + grandparent                                            3.000KB100.00%   0.000B  0.00%          3 fun.py       + f2                                                     2.000KB 66.67%   0.000B  0.00%          2 f.py         + f1                                                     1.000KB 33.33%   0.000B  0.00%          1 f.py         + + + + + + + + + + q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort by Allocations                                                                                                           ^p palette diff --git a/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[wide-terminal-long-snapshots].svg b/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[wide-terminal-long-snapshots].svg index c9af497295..eb166afc5e 100644 --- a/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[wide-terminal-long-snapshots].svg +++ b/tests/unit/__snapshots__/test_tui_reporter/test_tui_basic[wide-terminal-long-snapshots].svg @@ -19,153 +19,150 @@ font-weight: 700; } - .terminal-1614452856-matrix { + .terminal-2581365936-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1614452856-title { + .terminal-2581365936-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1614452856-r1 { fill: #e1e1e1;font-weight: bold } -.terminal-1614452856-r2 { fill: #e1e1e1 } -.terminal-1614452856-r3 { fill: #c5c8c6 } -.terminal-1614452856-r4 { fill: #00ff00 } -.terminal-1614452856-r5 { fill: #64d484 } -.terminal-1614452856-r6 { fill: #f4005f } -.terminal-1614452856-r7 { fill: #dde6ed;font-weight: bold } -.terminal-1614452856-r8 { fill: #dde6ed;font-weight: bold;text-decoration: underline; } -.terminal-1614452856-r9 { fill: #1e1e1e } -.terminal-1614452856-r10 { fill: #e1e2e3 } -.terminal-1614452856-r11 { fill: #cd5c5c } -.terminal-1614452856-r12 { fill: #7fb725 } -.terminal-1614452856-r13 { fill: #61c12c } -.terminal-1614452856-r14 { fill: #fa8d02 } -.terminal-1614452856-r15 { fill: #75ba27 } -.terminal-1614452856-r16 { fill: #ee950c } -.terminal-1614452856-r17 { fill: #6bbd29 } -.terminal-1614452856-r18 { fill: #8db322 } -.terminal-1614452856-r19 { fill: #14191f } -.terminal-1614452856-r20 { fill: #23568b } -.terminal-1614452856-r21 { fill: #fea62b;font-weight: bold } -.terminal-1614452856-r22 { fill: #a7a9ab } -.terminal-1614452856-r23 { fill: #474747 } + .terminal-2581365936-r1 { fill: #e0e0e0;font-weight: bold } +.terminal-2581365936-r2 { fill: #e0e0e0 } +.terminal-2581365936-r3 { fill: #c5c8c6 } +.terminal-2581365936-r4 { fill: #00ff00 } +.terminal-2581365936-r5 { fill: #64d484 } +.terminal-2581365936-r6 { fill: #f4005f } +.terminal-2581365936-r7 { fill: #e0e0e0;font-weight: bold;text-decoration: underline; } +.terminal-2581365936-r8 { fill: #272727 } +.terminal-2581365936-r9 { fill: #cd5c5c } +.terminal-2581365936-r10 { fill: #7fb725 } +.terminal-2581365936-r11 { fill: #61c12c } +.terminal-2581365936-r12 { fill: #fa8d02 } +.terminal-2581365936-r13 { fill: #75ba27 } +.terminal-2581365936-r14 { fill: #ee950c } +.terminal-2581365936-r15 { fill: #6bbd29 } +.terminal-2581365936-r16 { fill: #8db322 } +.terminal-2581365936-r17 { fill: #000000 } +.terminal-2581365936-r18 { fill: #003054 } +.terminal-2581365936-r19 { fill: #ffa62b;font-weight: bold } +.terminal-2581365936-r20 { fill: #3b3b3b } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - MockApp + MockApp - - - - Memray live tracking                                                                            Fri Oct 13 12:00:00 2023 - (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ─────────────────────╮ -PID: ???     CMD: ???                                                                                              ▐ -TID: *       All threads                                 ▐ -Samples: 2   Duration: 42.0 seconds                                                                                █ -StatusRemote has disconnected                                 █ -╰── 2.325KB (100% of 2.325KB max) ─╯ - -                      Location                      Total Bytes% TotalOwn Bytes% OwnAllocations File/Modul - malloc                                                 2.325KB100.00%  2.325KB100.00%          3 malloc.c   - parent                                                 2.325KB100.00%   0.000B  0.00%          3 fun.py     - grandparent                                            2.325KB100.00%   0.000B  0.00%          3 fun.py     - f2                                                     1.325KB 56.99%   0.000B  0.00%          2 f.py       - f1                                                     1.000KB 43.01%   0.000B  0.00%          1 f.py       - something0                                            333.000B 13.99%   0.000B  0.00%          1 something. - something1                                            333.000B 13.99%   0.000B  0.00%          1 something.▃▃ - something2                                            333.000B 13.99%   0.000B  0.00%          1 something. - something3                                            333.000B 13.99%   0.000B  0.00%          1 something. - something4                                            333.000B 13.99%   0.000B  0.00%          1 something. - something5                                            333.000B 13.99%   0.000B  0.00%          1 something. - something6                                            333.000B 13.99%   0.000B  0.00%          1 something. - something7                                            333.000B 13.99%   0.000B  0.00%          1 something. - - q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort by Allocations ^p palette + + + + Memray live tracking                                                                            Fri Oct 13 12:00:00 2023 + (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ─────────────────────╮ +PID: ???     CMD: ???                                                                                              ▐ +TID: *       All threads                                 ▐ +Samples: 2   Duration: 42.0 seconds                                                                                █ +StatusRemote has disconnected                                 █ +╰── 2.325KB (100% of 2.325KB max) ─╯ + +                      Location                      Total Bytes% TotalOwn Bytes% OwnAllocations File/Modul + malloc                                                 2.325KB100.00%  2.325KB100.00%          3 malloc.c   + parent                                                 2.325KB100.00%   0.000B  0.00%          3 fun.py     + grandparent                                            2.325KB100.00%   0.000B  0.00%          3 fun.py     + f2                                                     1.325KB 56.99%   0.000B  0.00%          2 f.py       + f1                                                     1.000KB 43.01%   0.000B  0.00%          1 f.py       + something0                                            333.000B 13.99%   0.000B  0.00%          1 something. + something1                                            333.000B 13.99%   0.000B  0.00%          1 something.▃▃ + something2                                            333.000B 13.99%   0.000B  0.00%          1 something. + something3                                            333.000B 13.99%   0.000B  0.00%          1 something. + something4                                            333.000B 13.99%   0.000B  0.00%          1 something. + something5                                            333.000B 13.99%   0.000B  0.00%          1 something. + something6                                            333.000B 13.99%   0.000B  0.00%          1 something. + something7                                            333.000B 13.99%   0.000B  0.00%          1 something. + + q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort by Allocations                           ^p palette diff --git a/tests/unit/__snapshots__/test_tui_reporter/test_tui_gradient.svg b/tests/unit/__snapshots__/test_tui_reporter/test_tui_gradient.svg index e3813fd261..35a344a6c2 100644 --- a/tests/unit/__snapshots__/test_tui_reporter/test_tui_gradient.svg +++ b/tests/unit/__snapshots__/test_tui_reporter/test_tui_gradient.svg @@ -19,243 +19,239 @@ font-weight: 700; } - .terminal-1818729350-matrix { + .terminal-638157001-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1818729350-title { + .terminal-638157001-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1818729350-r1 { fill: #e1e1e1;font-weight: bold } -.terminal-1818729350-r2 { fill: #e1e1e1 } -.terminal-1818729350-r3 { fill: #c5c8c6 } -.terminal-1818729350-r4 { fill: #00ff00 } -.terminal-1818729350-r5 { fill: #64d484 } -.terminal-1818729350-r6 { fill: #f4005f } -.terminal-1818729350-r7 { fill: #dde6ed;font-weight: bold } -.terminal-1818729350-r8 { fill: #dde6ed;font-weight: bold;text-decoration: underline; } -.terminal-1818729350-r9 { fill: #dde6ed } -.terminal-1818729350-r10 { fill: #e1e2e3 } -.terminal-1818729350-r11 { fill: #cd5c5c } -.terminal-1818729350-r12 { fill: #67be2a } -.terminal-1818729350-r13 { fill: #75ba27 } -.terminal-1818729350-r14 { fill: #d05e54 } -.terminal-1818729350-r15 { fill: #d3624d } -.terminal-1818729350-r16 { fill: #d76646 } -.terminal-1818729350-r17 { fill: #6bbd29 } -.terminal-1818729350-r18 { fill: #72bb28 } -.terminal-1818729350-r19 { fill: #db693f } -.terminal-1818729350-r20 { fill: #df6d39 } -.terminal-1818729350-r21 { fill: #e27131 } -.terminal-1818729350-r22 { fill: #e87529 } -.terminal-1818729350-r23 { fill: #6ebc29 } -.terminal-1818729350-r24 { fill: #eb7921 } -.terminal-1818729350-r25 { fill: #ef7d1b } -.terminal-1818729350-r26 { fill: #f38014 } -.terminal-1818729350-r27 { fill: #f6840d } -.terminal-1818729350-r28 { fill: #fa8806 } -.terminal-1818729350-r29 { fill: #fd8c00 } -.terminal-1818729350-r30 { fill: #fa8d02 } -.terminal-1818729350-r31 { fill: #f79005 } -.terminal-1818729350-r32 { fill: #f49107 } -.terminal-1818729350-r33 { fill: #f1930a } -.terminal-1818729350-r34 { fill: #ee950c } -.terminal-1818729350-r35 { fill: #e7980f } -.terminal-1818729350-r36 { fill: #dd9b12 } -.terminal-1818729350-r37 { fill: #cf9f15 } -.terminal-1818729350-r38 { fill: #64bf2b } -.terminal-1818729350-r39 { fill: #c5a217 } -.terminal-1818729350-r40 { fill: #b7a619 } -.terminal-1818729350-r41 { fill: #ada91c } -.terminal-1818729350-r42 { fill: #9eae1f } -.terminal-1818729350-r43 { fill: #91b222 } -.terminal-1818729350-r44 { fill: #61c12c } -.terminal-1818729350-r45 { fill: #86b523 } -.terminal-1818729350-r46 { fill: #79b926 } -.terminal-1818729350-r47 { fill: #fea62b;font-weight: bold } -.terminal-1818729350-r48 { fill: #a7a9ab } -.terminal-1818729350-r49 { fill: #474747 } + .terminal-638157001-r1 { fill: #e0e0e0;font-weight: bold } +.terminal-638157001-r2 { fill: #e0e0e0 } +.terminal-638157001-r3 { fill: #c5c8c6 } +.terminal-638157001-r4 { fill: #00ff00 } +.terminal-638157001-r5 { fill: #64d484 } +.terminal-638157001-r6 { fill: #f4005f } +.terminal-638157001-r7 { fill: #e0e0e0;font-weight: bold;text-decoration: underline; } +.terminal-638157001-r8 { fill: #cd5c5c } +.terminal-638157001-r9 { fill: #67be2a } +.terminal-638157001-r10 { fill: #75ba27 } +.terminal-638157001-r11 { fill: #d05e54 } +.terminal-638157001-r12 { fill: #d3624d } +.terminal-638157001-r13 { fill: #d76646 } +.terminal-638157001-r14 { fill: #6bbd29 } +.terminal-638157001-r15 { fill: #72bb28 } +.terminal-638157001-r16 { fill: #db693f } +.terminal-638157001-r17 { fill: #df6d39 } +.terminal-638157001-r18 { fill: #e27131 } +.terminal-638157001-r19 { fill: #e87529 } +.terminal-638157001-r20 { fill: #6ebc29 } +.terminal-638157001-r21 { fill: #eb7921 } +.terminal-638157001-r22 { fill: #ef7d1b } +.terminal-638157001-r23 { fill: #f38014 } +.terminal-638157001-r24 { fill: #f6840d } +.terminal-638157001-r25 { fill: #fa8806 } +.terminal-638157001-r26 { fill: #fd8c00 } +.terminal-638157001-r27 { fill: #fa8d02 } +.terminal-638157001-r28 { fill: #f79005 } +.terminal-638157001-r29 { fill: #f49107 } +.terminal-638157001-r30 { fill: #f1930a } +.terminal-638157001-r31 { fill: #ee950c } +.terminal-638157001-r32 { fill: #e7980f } +.terminal-638157001-r33 { fill: #dd9b12 } +.terminal-638157001-r34 { fill: #cf9f15 } +.terminal-638157001-r35 { fill: #64bf2b } +.terminal-638157001-r36 { fill: #c5a217 } +.terminal-638157001-r37 { fill: #b7a619 } +.terminal-638157001-r38 { fill: #ada91c } +.terminal-638157001-r39 { fill: #9eae1f } +.terminal-638157001-r40 { fill: #91b222 } +.terminal-638157001-r41 { fill: #61c12c } +.terminal-638157001-r42 { fill: #86b523 } +.terminal-638157001-r43 { fill: #79b926 } +.terminal-638157001-r44 { fill: #ffa62b;font-weight: bold } +.terminal-638157001-r45 { fill: #3b3b3b } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - MockApp + MockApp - - - - Memray live tracking                                                                                 Fri Oct 13 12:00:00 2023 - (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ──────────────────────╮ -PID: ???     CMD: ???                                                                                                   ▐ -TID: *       All threads                                  ▐ -Samples: 1   Duration: 42.0 seconds                                                                                     ▐ -StatusRemote has disconnected                                  ▐ -╰─ 34.248KB (100% of 34.248KB max) ─╯ - -                      Location                      Total Bytes% TotalOwn Bytes% OwnAllocations  File/Module    - function0                                             34.248KB100.00%  1.000KB2.92%         30 /abc/lel_0.py   - function1                                             33.248KB 97.08%  1.010KB2.95%         29 /abc/lel_1.py   - function2                                             32.238KB 94.13%  1.020KB2.98%         28 /abc/lel_2.py   - function3                                             31.219KB 91.15%  1.029KB3.01%         27 /abc/lel_3.py   - function4                                             30.189KB 88.15%  1.039KB3.03%         26 /abc/lel_4.py   - function5                                             29.150KB 85.12%  1.049KB3.06%         25 /abc/lel_5.py   - function6                                             28.102KB 82.05%  1.059KB3.09%         24 /abc/lel_6.py   - function7                                             27.043KB 78.96%  1.068KB3.12%         23 /abc/lel_7.py   - function8                                             25.975KB 75.84%  1.078KB3.15%         22 /abc/lel_8.py   - function9                                             24.896KB 72.69%  1.088KB3.18%         21 /abc/lel_9.py   - function10                                            23.809KB 69.52%  1.098KB3.21%         20 /abc/lel_10.py  - function11                                            22.711KB 66.31%  1.107KB3.23%         19 /abc/lel_11.py  - function12                                            21.604KB 63.08%  1.117KB3.26%         18 /abc/lel_12.py  - function13                                            20.486KB 59.82%  1.127KB3.29%         17 /abc/lel_13.py  - function14                                            19.359KB 56.53%  1.137KB3.32%         16 /abc/lel_14.py  - function15                                            18.223KB 53.21%  1.146KB3.35%         15 /abc/lel_15.py  - function16                                            17.076KB 49.86%  1.156KB3.38%         14 /abc/lel_16.py  - function17                                            15.920KB 46.48%  1.166KB3.40%         13 /abc/lel_17.py  - function18                                            14.754KB 43.08%  1.176KB3.43%         12 /abc/lel_18.py  - function19                                            13.578KB 39.65%  1.186KB3.46%         11 /abc/lel_19.py  - function20                                            12.393KB 36.18%  1.195KB3.49%         10 /abc/lel_20.py  - function21                                            11.197KB 32.69%  1.205KB3.52%          9 /abc/lel_21.py  - function22                                             9.992KB 29.18%  1.215KB3.55%          8 /abc/lel_22.py  - function23                                             8.777KB 25.63%  1.225KB3.58%          7 /abc/lel_23.py  - function24                                             7.553KB 22.05%  1.234KB3.60%          6 /abc/lel_24.py  - function25                                             6.318KB 18.45%  1.244KB3.63%          5 /abc/lel_25.py  - function26                                             5.074KB 14.82%  1.254KB3.66%          4 /abc/lel_26.py  - function27                                             3.820KB 11.15%  1.264KB3.69%          3 /abc/lel_27.py  - function28                                             2.557KB  7.47%  1.273KB3.72%          2 /abc/lel_28.py  - function29                                             1.283KB  3.75%  1.283KB3.75%          1 /abc/lel_29.py  - q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort by Allocations ^p palette + + + + Memray live tracking                                                                                 Fri Oct 13 12:00:00 2023 + (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ──────────────────────╮ +PID: ???     CMD: ???                                                                                                   ▐ +TID: *       All threads                                  ▐ +Samples: 1   Duration: 42.0 seconds                                                                                     ▐ +StatusRemote has disconnected                                  ▐ +╰─ 34.248KB (100% of 34.248KB max) ─╯ + +                      Location                      Total Bytes% TotalOwn Bytes% OwnAllocations  File/Module    + function0                                             34.248KB100.00%  1.000KB2.92%         30 /abc/lel_0.py   + function1                                             33.248KB 97.08%  1.010KB2.95%         29 /abc/lel_1.py   + function2                                             32.238KB 94.13%  1.020KB2.98%         28 /abc/lel_2.py   + function3                                             31.219KB 91.15%  1.029KB3.01%         27 /abc/lel_3.py   + function4                                             30.189KB 88.15%  1.039KB3.03%         26 /abc/lel_4.py   + function5                                             29.150KB 85.12%  1.049KB3.06%         25 /abc/lel_5.py   + function6                                             28.102KB 82.05%  1.059KB3.09%         24 /abc/lel_6.py   + function7                                             27.043KB 78.96%  1.068KB3.12%         23 /abc/lel_7.py   + function8                                             25.975KB 75.84%  1.078KB3.15%         22 /abc/lel_8.py   + function9                                             24.896KB 72.69%  1.088KB3.18%         21 /abc/lel_9.py   + function10                                            23.809KB 69.52%  1.098KB3.21%         20 /abc/lel_10.py  + function11                                            22.711KB 66.31%  1.107KB3.23%         19 /abc/lel_11.py  + function12                                            21.604KB 63.08%  1.117KB3.26%         18 /abc/lel_12.py  + function13                                            20.486KB 59.82%  1.127KB3.29%         17 /abc/lel_13.py  + function14                                            19.359KB 56.53%  1.137KB3.32%         16 /abc/lel_14.py  + function15                                            18.223KB 53.21%  1.146KB3.35%         15 /abc/lel_15.py  + function16                                            17.076KB 49.86%  1.156KB3.38%         14 /abc/lel_16.py  + function17                                            15.920KB 46.48%  1.166KB3.40%         13 /abc/lel_17.py  + function18                                            14.754KB 43.08%  1.176KB3.43%         12 /abc/lel_18.py  + function19                                            13.578KB 39.65%  1.186KB3.46%         11 /abc/lel_19.py  + function20                                            12.393KB 36.18%  1.195KB3.49%         10 /abc/lel_20.py  + function21                                            11.197KB 32.69%  1.205KB3.52%          9 /abc/lel_21.py  + function22                                             9.992KB 29.18%  1.215KB3.55%          8 /abc/lel_22.py  + function23                                             8.777KB 25.63%  1.225KB3.58%          7 /abc/lel_23.py  + function24                                             7.553KB 22.05%  1.234KB3.60%          6 /abc/lel_24.py  + function25                                             6.318KB 18.45%  1.244KB3.63%          5 /abc/lel_25.py  + function26                                             5.074KB 14.82%  1.254KB3.66%          4 /abc/lel_26.py  + function27                                             3.820KB 11.15%  1.264KB3.69%          3 /abc/lel_27.py  + function28                                             2.557KB  7.47%  1.273KB3.72%          2 /abc/lel_28.py  + function29                                             1.283KB  3.75%  1.283KB3.75%          1 /abc/lel_29.py  + q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort by Allocations                                ^p palette diff --git a/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[narrow-terminal-connected].svg b/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[narrow-terminal-connected].svg index 9894376e9a..b283dd207c 100644 --- a/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[narrow-terminal-connected].svg +++ b/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[narrow-terminal-connected].svg @@ -19,141 +19,138 @@ font-weight: 700; } - .terminal-4057121701-matrix { + .terminal-3254773993-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-4057121701-title { + .terminal-3254773993-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-4057121701-r1 { fill: #e1e1e1;font-weight: bold } -.terminal-4057121701-r2 { fill: #e1e1e1 } -.terminal-4057121701-r3 { fill: #1e1e1e } -.terminal-4057121701-r4 { fill: #c5c8c6 } -.terminal-4057121701-r5 { fill: #fd971f } -.terminal-4057121701-r6 { fill: #64d484 } -.terminal-4057121701-r7 { fill: #dde6ed;font-weight: bold } -.terminal-4057121701-r8 { fill: #e1e2e3 } -.terminal-4057121701-r9 { fill: #fea62b;font-weight: bold } -.terminal-4057121701-r10 { fill: #a7a9ab } -.terminal-4057121701-r11 { fill: #474747 } + .terminal-3254773993-r1 { fill: #e0e0e0;font-weight: bold } +.terminal-3254773993-r2 { fill: #e0e0e0 } +.terminal-3254773993-r3 { fill: #121212 } +.terminal-3254773993-r4 { fill: #c5c8c6 } +.terminal-3254773993-r5 { fill: #fd971f } +.terminal-3254773993-r6 { fill: #64d484 } +.terminal-3254773993-r7 { fill: #ffa62b;font-weight: bold } +.terminal-3254773993-r8 { fill: #3b3b3b } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - MockApp + MockApp - - - - Memray live tracki      Fri Oct 13 12:00:00 2023 -PID: ???     CMD: ???                            -TID: *       All threads -Samples: 2   Duration: 42.0 seconds              -StatusTable updates paused - -╭─ Heap Usage ─────────────────────────────────╮ -                                             ▐ -                                             ▐ -                                             ▟ -                                             █ -╰────────────── 3.000KB (100% of 3.000KB max) ─╯ -                      Location                   - malloc                                          - f1                                              - parent                                          - grandparent                                     - - - - - - - q Quit  m Unmerge Threads  t Sort b^p palette + + + + Memray live tracki      Fri Oct 13 12:00:00 2023 +PID: ???     CMD: ???                            +TID: *       All threads +Samples: 2   Duration: 42.0 seconds              +StatusTable updates paused + +╭─ Heap Usage ─────────────────────────────────╮ +                                             ▐ +                                             ▐ +                                             ▟ +                                             █ +╰────────────── 3.000KB (100% of 3.000KB max) ─╯ +                      Location                   + malloc                                          + f1                                              + parent                                          + grandparent                                     + + + + + + + q Quit  m Unmerge Threads  t Sort b^p palette diff --git a/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[narrow-terminal-disconnected].svg b/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[narrow-terminal-disconnected].svg index 8d668130bf..161956d1dd 100644 --- a/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[narrow-terminal-disconnected].svg +++ b/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[narrow-terminal-disconnected].svg @@ -19,143 +19,140 @@ font-weight: 700; } - .terminal-3686905860-matrix { + .terminal-3471301033-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-3686905860-title { + .terminal-3471301033-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-3686905860-r1 { fill: #e1e1e1;font-weight: bold } -.terminal-3686905860-r2 { fill: #e1e1e1 } -.terminal-3686905860-r3 { fill: #1e1e1e } -.terminal-3686905860-r4 { fill: #c5c8c6 } -.terminal-3686905860-r5 { fill: #fd971f } -.terminal-3686905860-r6 { fill: #f4005f } -.terminal-3686905860-r7 { fill: #23568b } -.terminal-3686905860-r8 { fill: #64d484 } -.terminal-3686905860-r9 { fill: #dde6ed;font-weight: bold } -.terminal-3686905860-r10 { fill: #e1e2e3 } -.terminal-3686905860-r11 { fill: #fea62b;font-weight: bold } -.terminal-3686905860-r12 { fill: #a7a9ab } -.terminal-3686905860-r13 { fill: #474747 } + .terminal-3471301033-r1 { fill: #e0e0e0;font-weight: bold } +.terminal-3471301033-r2 { fill: #e0e0e0 } +.terminal-3471301033-r3 { fill: #121212 } +.terminal-3471301033-r4 { fill: #c5c8c6 } +.terminal-3471301033-r5 { fill: #fd971f } +.terminal-3471301033-r6 { fill: #f4005f } +.terminal-3471301033-r7 { fill: #003054 } +.terminal-3471301033-r8 { fill: #64d484 } +.terminal-3471301033-r9 { fill: #ffa62b;font-weight: bold } +.terminal-3471301033-r10 { fill: #3b3b3b } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - MockApp + MockApp - - - - Memray live tracki      Fri Oct 13 12:00:00 2023 -PID: ???     CMD: ???                            -TID: *       All threads -Samples: 2   Duration: 42.0 seconds              -StatusTable updates pausedRemote has disconne - -╭─ Heap Usage ─────────────────────────────────╮ -                                             ▐ -                                             ▐ -                                             ▟ -                                             █ -╰────────────── 3.000KB (100% of 3.000KB max) ─╯ -                      Location                   - malloc                                          - f1                                              - parent                                          - grandparent                                     - - - - - - - q Quit  m Unmerge Threads  t Sort b^p palette + + + + Memray live tracki      Fri Oct 13 12:00:00 2023 +PID: ???     CMD: ???                            +TID: *       All threads +Samples: 2   Duration: 42.0 seconds              +StatusTable updates pausedRemote has disconne + +╭─ Heap Usage ─────────────────────────────────╮ +                                             ▐ +                                             ▐ +                                             ▟ +                                             █ +╰────────────── 3.000KB (100% of 3.000KB max) ─╯ +                      Location                   + malloc                                          + f1                                              + parent                                          + grandparent                                     + + + + + + + q Quit  m Unmerge Threads  t Sort b^p palette diff --git a/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[wider-terminal].svg b/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[wider-terminal].svg index 2c59f5c6e6..adad51056c 100644 --- a/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[wider-terminal].svg +++ b/tests/unit/__snapshots__/test_tui_reporter/test_tui_pause[wider-terminal].svg @@ -19,147 +19,144 @@ font-weight: 700; } - .terminal-232378738-matrix { + .terminal-3803911224-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-232378738-title { + .terminal-3803911224-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-232378738-r1 { fill: #e1e1e1;font-weight: bold } -.terminal-232378738-r2 { fill: #e1e1e1 } -.terminal-232378738-r3 { fill: #c5c8c6 } -.terminal-232378738-r4 { fill: #00ff00 } -.terminal-232378738-r5 { fill: #64d484 } -.terminal-232378738-r6 { fill: #fd971f } -.terminal-232378738-r7 { fill: #f4005f } -.terminal-232378738-r8 { fill: #dde6ed;font-weight: bold } -.terminal-232378738-r9 { fill: #dde6ed;font-weight: bold;text-decoration: underline; } -.terminal-232378738-r10 { fill: #e1e2e3 } -.terminal-232378738-r11 { fill: #cd5c5c } -.terminal-232378738-r12 { fill: #61c12c } -.terminal-232378738-r13 { fill: #1e1e1e } -.terminal-232378738-r14 { fill: #23568b } -.terminal-232378738-r15 { fill: #fea62b;font-weight: bold } -.terminal-232378738-r16 { fill: #a7a9ab } -.terminal-232378738-r17 { fill: #474747 } + .terminal-3803911224-r1 { fill: #e0e0e0;font-weight: bold } +.terminal-3803911224-r2 { fill: #e0e0e0 } +.terminal-3803911224-r3 { fill: #c5c8c6 } +.terminal-3803911224-r4 { fill: #00ff00 } +.terminal-3803911224-r5 { fill: #64d484 } +.terminal-3803911224-r6 { fill: #fd971f } +.terminal-3803911224-r7 { fill: #f4005f } +.terminal-3803911224-r8 { fill: #e0e0e0;font-weight: bold;text-decoration: underline; } +.terminal-3803911224-r9 { fill: #cd5c5c } +.terminal-3803911224-r10 { fill: #61c12c } +.terminal-3803911224-r11 { fill: #1e1e1e } +.terminal-3803911224-r12 { fill: #003054 } +.terminal-3803911224-r13 { fill: #ffa62b;font-weight: bold } +.terminal-3803911224-r14 { fill: #3b3b3b } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - MockApp + MockApp - - - - Memray live tracking                                     Fri Oct 13 12:00:00 2023 - (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ─────────╮ -PID: ???     CMD: ???                                                       ▐ -TID: *       All threads                     ▐ -Samples: 2   Duration: 42.0 seconds                                         ▟ -StatusTable updates pausedRemote has disconnected                     █ -╰─ 3.000KB (100% of … ─╯ - -                      Location                      Total Bytes% TotalOwn By - malloc                                                 1.000KB100.00%  1.00 - f1                                                     1.000KB100.00%   0.0 - parent                                                 1.000KB100.00%   0.0 - grandparent                                            1.000KB100.00%   0.0 - - - - - - - - - - - q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort by^p palette + + + + Memray live tracking                                     Fri Oct 13 12:00:00 2023 + (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ─────────╮ +PID: ???     CMD: ???                                                       ▐ +TID: *       All threads                     ▐ +Samples: 2   Duration: 42.0 seconds                                         ▟ +StatusTable updates pausedRemote has disconnected                     █ +╰─ 3.000KB (100% of … ─╯ + +                      Location                      Total Bytes% TotalOwn By + malloc                                                 1.000KB100.00%  1.00 + f1                                                     1.000KB100.00%   0.0 + parent                                                 1.000KB100.00%   0.0 + grandparent                                            1.000KB100.00%   0.0 + + + + + + + + + + + q Quit  m Unmerge Threads  t Sort by Total  o Sort by Own  a Sort by^p palette diff --git a/tests/unit/__snapshots__/test_tui_reporter/test_unmerge_threads.svg b/tests/unit/__snapshots__/test_tui_reporter/test_unmerge_threads.svg index 142c6e48f8..ac9cf58040 100644 --- a/tests/unit/__snapshots__/test_tui_reporter/test_unmerge_threads.svg +++ b/tests/unit/__snapshots__/test_tui_reporter/test_unmerge_threads.svg @@ -19,143 +19,139 @@ font-weight: 700; } - .terminal-3951816948-matrix { + .terminal-1744042387-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-3951816948-title { + .terminal-1744042387-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-3951816948-r1 { fill: #e1e1e1;font-weight: bold } -.terminal-3951816948-r2 { fill: #e1e1e1 } -.terminal-3951816948-r3 { fill: #c5c8c6 } -.terminal-3951816948-r4 { fill: #00ff00 } -.terminal-3951816948-r5 { fill: #64d484 } -.terminal-3951816948-r6 { fill: #dde6ed;font-weight: bold } -.terminal-3951816948-r7 { fill: #dde6ed;font-weight: bold;text-decoration: underline; } -.terminal-3951816948-r8 { fill: #dde6ed } -.terminal-3951816948-r9 { fill: #e1e2e3 } -.terminal-3951816948-r10 { fill: #d39e14 } -.terminal-3951816948-r11 { fill: #fea62b;font-weight: bold } -.terminal-3951816948-r12 { fill: #a7a9ab } -.terminal-3951816948-r13 { fill: #474747 } + .terminal-1744042387-r1 { fill: #e0e0e0;font-weight: bold } +.terminal-1744042387-r2 { fill: #e0e0e0 } +.terminal-1744042387-r3 { fill: #c5c8c6 } +.terminal-1744042387-r4 { fill: #00ff00 } +.terminal-1744042387-r5 { fill: #64d484 } +.terminal-1744042387-r6 { fill: #e0e0e0;font-weight: bold;text-decoration: underline; } +.terminal-1744042387-r7 { fill: #d39e14 } +.terminal-1744042387-r8 { fill: #ffa62b;font-weight: bold } +.terminal-1744042387-r9 { fill: #3b3b3b } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - MockApp + MockApp - - - - Memray live tracking                                                                                                          Fri Oct 13 12:00:00 2023 - (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ──────────────────────────────╮ -PID: ???     CMD: ???                                                                                                                            █ -TID: 0x2     Thread 2 of 3                                                                                                                       █ -Samples: 2   Duration: 42.0 seconds                                                                                                              █ -                                          █ -╰─────────── 3.000KB (100% of 3.000KB max) ─╯ - -                      Location                      Total Bytes% TotalOwn Bytes% OwnAllocations File/Module  - b                                                      1.000KB 33.33%  1.000KB33.33%          1 b.py         - - - - - - - - - - - - - - q Quit  m Merge Threads  < Previous Thread  > Next Thread  t Sort by Total  o Sort by Own  a Sort by Allocations  space Pause ^p palette + + + + Memray live tracking                                                                                                          Fri Oct 13 12:00:00 2023 + (∩`-´)⊃━☆゚.*・。゚ ╭─ Heap Usage ──────────────────────────────╮ +PID: ???     CMD: ???                                                                                                                            █ +TID: 0x2     Thread 2 of 3                                                                                                                       █ +Samples: 2   Duration: 42.0 seconds                                                                                                              █ +                                          █ +╰─────────── 3.000KB (100% of 3.000KB max) ─╯ + +                      Location                      Total Bytes% TotalOwn Bytes% OwnAllocations File/Module  + b                                                      1.000KB 33.33%  1.000KB33.33%          1 b.py         + + + + + + + + + + + + + + q Quit  m Merge Threads  < Previous Thread  > Next Thread  t Sort by Total  o Sort by Own  a Sort by Allocations  space Pause            ^p palette diff --git a/tests/unit/test_tui_reporter.py b/tests/unit/test_tui_reporter.py index 3e7e1496c8..667be9b52e 100644 --- a/tests/unit/test_tui_reporter.py +++ b/tests/unit/test_tui_reporter.py @@ -140,7 +140,7 @@ async def run_before_wrapper(pilot) -> None: def render_widget(widget: Widget) -> str: output = StringIO() - rprint(widget.render(), file=output) + rprint(widget.renderable, file=output) # type: ignore return output.getvalue()