Skip to content

Commit 9067ee7

Browse files
committed
stats: list functions first
1 parent 9de1761 commit 9067ee7

File tree

2 files changed

+40
-40
lines changed

2 files changed

+40
-40
lines changed

doc/stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,10 @@ def render_page():
260260
results = get_data()
261261

262262
main_title()
263-
line_numbers(results)
264-
file_numbers(results)
265263
list_functions(results)
266264
list_variables(results)
265+
line_numbers(results)
266+
file_numbers(results)
267267
static_inline_func(results)
268268
structures(results)
269269

doc/stats.rst

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,6 @@
22
Statistics on the Python C API
33
++++++++++++++++++++++++++++++
44

5-
Line Numbers
6-
============
7-
8-
Number of C API line numbers per Python version:
9-
10-
=========== ============= =========== ============ ======
11-
Python Limited API CPython API Internal API Total
12-
=========== ============= =========== ============ ======
13-
2.7.0 12,392 (100%) 0 (0%) 0 (0%) 12,392
14-
3.6.0 15,330 (100%) 0 (0%) 0 (0%) 15,330
15-
3.7.0 15,943 (96%) 0 (0%) 703 (4%) 16,646
16-
3.8.0 12,648 (69%) 3,418 (19%) 2,241 (12%) 18,307
17-
3.9.0 11,744 (61%) 4,359 (23%) 3,118 (16%) 19,221
18-
3.10.0 9,909 (49%) 4,584 (23%) 5,553 (28%) 20,046
19-
3.11.0 8,733 (36%) 5,407 (22%) 10,079 (42%) 24,219
20-
3.12 (dev) 8,989 (28%) 5,815 (18%) 17,663 (54%) 32,467
21-
main (3.13) 8,837 (23%) 7,498 (19%) 22,560 (58%) 38,895
22-
=========== ============= =========== ============ ======
23-
24-
File Numbers
25-
============
26-
27-
Number of header file numbers per Python version:
28-
29-
=========== =========== =========== ============ =========
30-
Python Limited API CPython API Internal API Total
31-
=========== =========== =========== ============ =========
32-
2.7.0 91 0 0 91
33-
3.6.0 98 (+7) 0 (same) 0 (same) 98 (+7)
34-
3.7.0 98 (same) 0 (same) 12 (+12) 110 (+12)
35-
3.8.0 96 (-2) 15 (+15) 22 (+10) 133 (+23)
36-
3.9.0 97 (+1) 24 (+9) 34 (+12) 155 (+22)
37-
3.10.0 80 (-17) 32 (+8) 49 (+15) 161 (+6)
38-
3.11.0 71 (-9) 47 (+15) 69 (+20) 187 (+26)
39-
3.12 (dev) 70 (-1) 48 (+1) 92 (+23) 210 (+23)
40-
main (3.13) 72 (+2) 54 (+6) 110 (+18) 236 (+26)
41-
=========== =========== =========== ============ =========
42-
435
Functions
446
=========
457

@@ -85,6 +47,44 @@ Python Public Private Internal Total
8547
main (3.13) 179 (+3) 14 (-15) 17 (+5) 210 (-7)
8648
=========== ========== ======== ======== ==========
8749

50+
Line Numbers
51+
============
52+
53+
Number of C API line numbers per Python version:
54+
55+
=========== ============= =========== ============ ======
56+
Python Limited API CPython API Internal API Total
57+
=========== ============= =========== ============ ======
58+
2.7.0 12,392 (100%) 0 (0%) 0 (0%) 12,392
59+
3.6.0 15,330 (100%) 0 (0%) 0 (0%) 15,330
60+
3.7.0 15,943 (96%) 0 (0%) 703 (4%) 16,646
61+
3.8.0 12,648 (69%) 3,418 (19%) 2,241 (12%) 18,307
62+
3.9.0 11,744 (61%) 4,359 (23%) 3,118 (16%) 19,221
63+
3.10.0 9,909 (49%) 4,584 (23%) 5,553 (28%) 20,046
64+
3.11.0 8,733 (36%) 5,407 (22%) 10,079 (42%) 24,219
65+
3.12 (dev) 8,989 (28%) 5,815 (18%) 17,663 (54%) 32,467
66+
main (3.13) 8,837 (23%) 7,498 (19%) 22,560 (58%) 38,895
67+
=========== ============= =========== ============ ======
68+
69+
File Numbers
70+
============
71+
72+
Number of header file numbers per Python version:
73+
74+
=========== =========== =========== ============ =========
75+
Python Limited API CPython API Internal API Total
76+
=========== =========== =========== ============ =========
77+
2.7.0 91 0 0 91
78+
3.6.0 98 (+7) 0 (same) 0 (same) 98 (+7)
79+
3.7.0 98 (same) 0 (same) 12 (+12) 110 (+12)
80+
3.8.0 96 (-2) 15 (+15) 22 (+10) 133 (+23)
81+
3.9.0 97 (+1) 24 (+9) 34 (+12) 155 (+22)
82+
3.10.0 80 (-17) 32 (+8) 49 (+15) 161 (+6)
83+
3.11.0 71 (-9) 47 (+15) 69 (+20) 187 (+26)
84+
3.12 (dev) 70 (-1) 48 (+1) 92 (+23) 210 (+23)
85+
main (3.13) 72 (+2) 54 (+6) 110 (+18) 236 (+26)
86+
=========== =========== =========== ============ =========
87+
8888
Public functions defined as macros and static inline functions
8989
==============================================================
9090

0 commit comments

Comments
 (0)