Skip to content

Commit

Permalink
Update stats for 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Jun 23, 2023
1 parent c13f773 commit edfaeed
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 23 deletions.
3 changes: 2 additions & 1 deletion doc/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


RST_FILENAME = 'stats.rst'
MAIN_BRANCH = '3.12'
MAIN_BRANCH = '3.13'
BRANCHES = [
'2.7',
'3.6',
Expand All @@ -19,6 +19,7 @@
'3.9',
'3.10',
'3.11',
'3.12',
'main',
]
COLUMNS = ['Python', 'Limited API', 'CPython API', 'Internal API', 'Total']
Expand Down
50 changes: 28 additions & 22 deletions doc/stats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ Python Limited API CPython API Internal API Total
3.8 13,166 (70%) 3,417 (18%) 2,295 (12%) 18,878
3.9 12,265 (62%) 4,358 (22%) 3,146 (16%) 19,769
3.10 10,396 (51%) 4,616 (22%) 5,572 (27%) 20,584
3.11 9,232 (37%) 5,495 (22%) 10,046 (41%) 24,773
3.12 9,287 (31%) 5,651 (19%) 15,071 (50%) 30,009
3.11 9,235 (37%) 5,499 (22%) 10,047 (41%) 24,781
3.12 9,598 (29%) 5,903 (18%) 17,618 (53%) 33,119
3.13 9,482 (29%) 5,916 (18%) 17,660 (53%) 33,058
====== ============= =========== ============ ======

File Numbers
Expand All @@ -35,7 +36,8 @@ Python Limited API CPython API Internal API Total
3.9 98 (+1) 24 (+9) 34 (+12) 156 (+22)
3.10 81 (-17) 32 (+8) 48 (+14) 161 (+5)
3.11 72 (-9) 48 (+16) 68 (+20) 188 (+27)
3.12 72 (same) 49 (+1) 77 (+9) 198 (+10)
3.12 72 (same) 49 (+1) 91 (+23) 212 (+24)
3.13 73 (+1) 51 (+2) 91 (same) 215 (+3)
====== =========== =========== ============ =========

Functions
Expand All @@ -52,8 +54,9 @@ Python Public Private Internal Total
3.8 926 (+33) 420 (-25) 79 (+66) 1,425 (+74)
3.9 937 (+11) 405 (-15) 110 (+31) 1,452 (+27)
3.10 902 (-35) 406 (+1) 116 (+6) 1,424 (-28)
3.11 931 (+29) 351 (-55) 177 (+61) 1,459 (+35)
3.12 943 (+12) 358 (+7) 176 (-1) 1,477 (+18)
3.11 931 (+29) 352 (-54) 177 (+61) 1,460 (+36)
3.12 966 (+35) 378 (+26) 178 (+1) 1,522 (+62)
3.13 948 (-18) 375 (-3) 174 (-4) 1,497 (-25)
====== ========== ========== ========= ============

Since Python 3.9, Python is now built with ``-fvisibility=hidden`` to avoid
Expand All @@ -68,36 +71,38 @@ Variables

Symbols exported with PyAPI_DATA():

====== ========== ======== ======== ==========
Python Public Private Internal Total
====== ========== ======== ======== ==========
2.7 133 31 0 164
3.6 171 (+38) 41 (+10) 0 (same) 212 (+48)
3.7 175 (+4) 34 (-7) 9 (+9) 218 (+6)
3.8 179 (+4) 36 (+2) 12 (+3) 227 (+9)
3.9 178 (-1) 34 (-2) 14 (+2) 226 (-1)
3.10 178 (same) 35 (+1) 13 (-1) 226 (same)
3.11 182 (+4) 32 (-3) 10 (-3) 224 (-2)
3.12 183 (+1) 30 (-2) 9 (-1) 222 (-2)
====== ========== ======== ======== ==========
====== ========== ======== ========= ==========
Python Public Private Internal Total
====== ========== ======== ========= ==========
2.7 133 31 0 164
3.6 171 (+38) 41 (+10) 0 (same) 212 (+48)
3.7 175 (+4) 34 (-7) 9 (+9) 218 (+6)
3.8 179 (+4) 36 (+2) 12 (+3) 227 (+9)
3.9 178 (-1) 34 (-2) 14 (+2) 226 (-1)
3.10 178 (same) 35 (+1) 13 (-1) 226 (same)
3.11 182 (+4) 32 (-3) 10 (-3) 224 (-2)
3.12 185 (+3) 29 (-3) 12 (+2) 226 (+2)
3.13 185 (same) 30 (+1) 12 (same) 227 (+1)
====== ========== ======== ========= ==========

Functions defined as macros and static inline functions
=======================================================

Functions defined as macros (only public) and static inline functions (public or private):

====== ========== ============= ==========
====== ========== ============= =========
Python Macro Static inline Total
====== ========== ============= ==========
====== ========== ============= =========
2.7 276 0 276
3.6 306 (+30) 0 (same) 306 (+30)
3.7 315 (+9) 0 (same) 315 (+9)
3.8 314 (-1) 7 (+7) 321 (+6)
3.9 307 (-7) 11 (+4) 318 (-3)
3.10 307 (same) 18 (+7) 325 (+7)
3.11 269 (-38) 46 (+28) 315 (-10)
3.12 246 (-23) 69 (+23) 315 (same)
====== ========== ============= ==========
3.12 251 (-18) 71 (+25) 322 (+7)
3.13 248 (-3) 71 (same) 319 (-3)
====== ========== ============= =========

Structures
==========
Expand All @@ -114,6 +119,7 @@ Python Limited API CPython API Internal API Total
3.9 68 (-13) 46 (+12) 38 (+10) 152 (+9)
3.10 41 (-27) 53 (+7) 91 (+53) 185 (+33)
3.11 19 (-22) 75 (+22) 112 (+21) 206 (+21)
3.12 17 (-2) 80 (+5) 140 (+28) 237 (+31)
3.12 18 (-1) 84 (+9) 170 (+58) 272 (+66)
3.13 18 (same) 88 (+4) 168 (-2) 274 (+2)
====== =========== =========== ============ =========

0 comments on commit edfaeed

Please sign in to comment.