|
1 |
| -======== |
| 1 | +============= |
2 | 2 | defer-imports
|
3 |
| -======== |
| 3 | +============= |
4 | 4 |
|
5 | 5 | .. image:: https://img.shields.io/github/license/Sachaa-Thanasius/defer-imports.svg
|
6 | 6 | :alt: License: MIT
|
@@ -123,29 +123,29 @@ A bit rough, but there are currently two ways of measuring activation and/or imp
|
123 | 123 |
|
124 | 124 | (Run once with ``__pycache__`` folders removed and ``sys.dont_write_bytecode=True``):
|
125 | 125 |
|
126 |
| - ============== ======= ========== =================== |
127 |
| - Implementation Version Benchmark Time |
128 |
| - ============== ======= ========== =================== |
129 |
| - CPython 3.9 regular 0.48585s (409.31x) |
130 |
| - CPython 3.9 slothy 0.00269s (2.27x) |
131 |
| - CPython 3.9 defer-imports 0.00119s (1.00x) |
132 |
| - \-\- \-\- \-\- \-\- |
133 |
| - CPython 3.10 regular 0.41860s (313.20x) |
134 |
| - CPython 3.10 slothy 0.00458s (3.43x) |
135 |
| - CPython 3.10 defer-imports 0.00134s (1.00x) |
136 |
| - \-\- \-\- \-\- \-\- |
137 |
| - CPython 3.11 regular 0.60501s (279.51x) |
138 |
| - CPython 3.11 slothy 0.00570s (2.63x) |
139 |
| - CPython 3.11 defer-imports 0.00216s (1.00x) |
140 |
| - \-\- \-\- \-\- \-\- |
141 |
| - CPython 3.12 regular 0.53233s (374.40x) |
142 |
| - CPython 3.12 slothy 0.00552s (3.88x) |
143 |
| - CPython 3.12 defer-imports 0.00142s (1.00x) |
144 |
| - \-\- \-\- \-\- \-\- |
145 |
| - CPython 3.13 regular 0.53704s (212.19x) |
146 |
| - CPython 3.13 slothy 0.00319s (1.26x) |
147 |
| - CPython 3.13 defer-imports 0.00253s (1.00x) |
148 |
| - ============== ======= ========== =================== |
| 126 | + ============== ======= ============= =================== |
| 127 | + Implementation Version Benchmark Time |
| 128 | + ============== ======= ============= =================== |
| 129 | + CPython 3.9 regular 0.48585s (409.31x) |
| 130 | + CPython 3.9 slothy 0.00269s (2.27x) |
| 131 | + CPython 3.9 defer-imports 0.00119s (1.00x) |
| 132 | + \-\- \-\- \-\- \-\- |
| 133 | + CPython 3.10 regular 0.41860s (313.20x) |
| 134 | + CPython 3.10 slothy 0.00458s (3.43x) |
| 135 | + CPython 3.10 defer-imports 0.00134s (1.00x) |
| 136 | + \-\- \-\- \-\- \-\- |
| 137 | + CPython 3.11 regular 0.60501s (279.51x) |
| 138 | + CPython 3.11 slothy 0.00570s (2.63x) |
| 139 | + CPython 3.11 defer-imports 0.00216s (1.00x) |
| 140 | + \-\- \-\- \-\- \-\- |
| 141 | + CPython 3.12 regular 0.53233s (374.40x) |
| 142 | + CPython 3.12 slothy 0.00552s (3.88x) |
| 143 | + CPython 3.12 defer-imports 0.00142s (1.00x) |
| 144 | + \-\- \-\- \-\- \-\- |
| 145 | + CPython 3.13 regular 0.53704s (212.19x) |
| 146 | + CPython 3.13 slothy 0.00319s (1.26x) |
| 147 | + CPython 3.13 defer-imports 0.00253s (1.00x) |
| 148 | + ============== ======= ============= =================== |
149 | 149 |
|
150 | 150 | - ``python -m timeit -n 1 -r 1 -- "import defer_imports"``
|
151 | 151 |
|
|
0 commit comments