Skip to content

Instantly share code, notes, and snippets.

@mdboom
Created June 24, 2025 17:41
Show Gist options
  • Select an option

  • Save mdboom/2ac90aa058630929dc96018c5feeced7 to your computer and use it in GitHub Desktop.

Select an option

Save mdboom/2ac90aa058630929dc96018c5feeced7 to your computer and use it in GitHub Desktop.
====
Benchmark: logging
opcode[LOAD_FAST_BORROW].execution_count: 162406735
Object interpreter mortal decrefs: 138927768
Object mortal decrefs: -138444597
Object immortal decrefs: -133119691
Object immortal increfs: -109095099
Object mortal increfs: -106495872
Object interpreter mortal increfs: 103834062
opcode[LOAD_ATTR].specialization.hit: 98509057
opcode[LOAD_ATTR_INSTANCE_VALUE].execution_count: 63897683
opcode[LOAD_FAST_BORROW].pair_count[LOAD_ATTR_INSTANCE_VALUE]: 63897679
opcode[POP_JUMP_IF_FALSE].execution_count: 63897676
opcode[TO_BOOL_BOOL].pair_count[POP_JUMP_IF_FALSE]: 63897600
====
Benchmark: sqlglot_v2_optimize
Object interpreter mortal decrefs: -120654489
Object mortal decrefs: -94204778
Object interpreter mortal increfs: -91071518
Object mortal increfs: -88423607
Object immortal decrefs: -60114117
Object immortal increfs: -59207716
opcode[LOAD_FAST_BORROW].execution_count: -56816657
opcode[LOAD_GLOBAL].specialization.hit: -42649540
opcode[CALL].specialization.hit: -34081031
opcode[LOAD_GLOBAL_BUILTIN].execution_count: -28730369
Object allocations from freelist: -25555103
Object frees to freelist: -25552693
====
Benchmark: coverage
Object mortal decrefs: -87406895
Object immortal decrefs: -58280780
Object mortal increfs: -58272277
Object immortal increfs: -12314
opcode[LOAD_FAST_BORROW].execution_count: -4296
opcode[BINARY_OP].specialization.hit: 2700
opcode[LOAD_FAST].execution_count: 2700
opcode[LOAD_FAST_BORROW].pair_count[BINARY_OP_SUBSCR_DICT]: 2700
opcode[BINARY_OP_SUBSCR_DICT].execution_count: 2700
opcode[LOAD_GLOBAL_MODULE].pair_count[LOAD_FAST_BORROW]: 2700
Object interpreter mortal decrefs: 2424
opcode[LOAD_FAST_BORROW].pair_count[POP_JUMP_IF_NONE]: -1800
====
Benchmark: argparse
Object interpreter mortal decrefs: 63556179
Object interpreter mortal increfs: 47393457
opcode[LOAD_FAST_BORROW].execution_count: 39903645
Object mortal decrefs: 34559125
Object mortal increfs: 32595128
Object immortal increfs: 32556554
Object immortal decrefs: 30474997
opcode[LOAD_ATTR].specialization.hit: 16440668
opcode[CALL].specialization.hit: 15249871
opcode[STORE_FAST].execution_count: 13820345
opcode[LOAD_GLOBAL].specialization.hit: 12988828
Object frees to freelist: 10515539
====
Benchmark: async_tree_io_tg
GC[1] object visits: -38870486
Object immortal decrefs: 26870761
Object immortal increfs: 26870679
Object interpreter mortal decrefs: -16796025
Object mortal decrefs: -13440179
Object mortal increfs: -13439987
Object allocations from freelist: -10077525
Object frees to freelist: -10077525
GC[1] objects reachable from roots: -8074272
opcode[NOP].pair_count[LOAD_FAST]: -6718380
opcode[NOP].pair_count[LOAD_FAST_BORROW]: 6718380
opcode[LOAD_FAST].execution_count: -6718380
====
Benchmark: gc_collect
GC[2] object visits: -28770134
GC[1] object visits: -6097707
GC[1] objects reachable from roots: -1099791
Object immortal decrefs: -1166
Object mortal decrefs: -1048
Object frees: -330
GC[2] objects collected: -280
Object mortal increfs: -83
Object frees to freelist: -59
Object immortal increfs: -16
Object method cache hits: 14
Object method cache misses: -14
====
Benchmark: async_tree_tg
Object immortal decrefs: 28664217
Object immortal increfs: 28664066
Object interpreter mortal decrefs: -17915776
Object mortal decrefs: -14334114
Object mortal increfs: -14333939
GC[1] object visits: 11555290
Object allocations from freelist: -10749383
Object frees to freelist: -10749381
opcode[NOP].pair_count[LOAD_FAST]: -7166272
opcode[NOP].pair_count[LOAD_FAST_BORROW]: 7166272
opcode[LOAD_FAST].execution_count: -7166272
Object method cache hits: -3584225
====
Benchmark: async_tree_memoization_tg
GC[1] object visits: -27935841
Object immortal decrefs: 26821568
Object immortal increfs: 26821462
Object interpreter mortal decrefs: -16796128
Object mortal decrefs: -13489422
Object mortal increfs: -13489203
Object allocations from freelist: -10077628
Object frees to freelist: -10077628
opcode[NOP].pair_count[LOAD_FAST]: -6718380
opcode[NOP].pair_count[LOAD_FAST_BORROW]: 6718380
opcode[LOAD_FAST].execution_count: -6718380
GC[1] objects reachable from roots: -6019591
====
Benchmark: async_tree_cpu_io_mixed_tg
Object immortal decrefs: 26899250
Object immortal increfs: 26899192
Object interpreter mortal decrefs: -16796044
Object mortal decrefs: -13411556
Object mortal increfs: -13411380
Object allocations from freelist: -10077544
Object frees to freelist: -10077544
GC[1] object visits: 7313577
opcode[NOP].pair_count[LOAD_FAST]: -6718380
opcode[NOP].pair_count[LOAD_FAST_BORROW]: 6718380
opcode[LOAD_FAST].execution_count: -6718380
Object method cache hits: -3386827
====
Benchmark: async_tree_io
GC[1] object visits: 26748479
opcode[NOP].pair_count[LOAD_FAST]: -3359220
opcode[NOP].pair_count[LOAD_FAST_BORROW]: 3359220
opcode[LOAD_FAST].execution_count: -3359220
opcode[LOAD_FAST_BORROW].execution_count: 3359100
GC[1] objects reachable from roots: 3179084
GC[1] objects not reachable from roots: 1276837
Object mortal decrefs: 7145
Object method cache hits: -6882
Object method cache collisions: 6818
Object method cache misses: 6662
Object mortal increfs: 6088
====
Benchmark: gc_traversal
GC[2] object visits: -26567040
Object method cache collisions: 5
Object immortal decrefs: -3
Object mortal increfs: -1
Object mortal decrefs: 1
Object immortal increfs: -1
Object method cache hits: 1
Object method cache misses: -1
====
Benchmark: async_tree
GC[1] object visits: -25081895
GC[1] objects reachable from roots: -6033561
opcode[NOP].pair_count[LOAD_FAST]: -3359220
opcode[NOP].pair_count[LOAD_FAST_BORROW]: 3359220
opcode[LOAD_FAST].execution_count: -3359220
opcode[LOAD_FAST_BORROW].execution_count: 3359100
GC[1] objects not reachable from roots: 44421
Object immortal decrefs: -743
Object immortal increfs: -597
Object mortal increfs: -420
Object mortal decrefs: -381
Object method cache hits: -352
====
Benchmark: mdp
Object mortal decrefs: 10867380
Object mortal increfs: 10867294
Object method cache dunder hits: -10674733
Object method cache dunder misses: 10674733
Object method cache collisions: 10647756
Object immortal increfs: 10428232
Object immortal decrefs: 10428166
GC[1] object visits: 206454
GC[1] objects reachable from roots: 70840
Object method cache hits: 26980
Object method cache misses: -26980
GC[1] objects not reachable from roots: -2500
====
Benchmark: bpe_tokeniser
GC[1] object visits: -10832364
GC[1] objects reachable from roots: -2877145
GC[1] objects not reachable from roots: 625820
Object mortal decrefs: -561
Object immortal decrefs: -491
Object immortal increfs: 275
GC[1] objects collected: -160
Object allocations from freelist: -155
Object allocations: 153
Object allocations to 512 bytes: 153
Object frees: -111
Object method cache collisions: 73
====
Benchmark: async_tree_cpu_io_mixed
GC[1] object visits: 8615409
opcode[NOP].pair_count[LOAD_FAST]: -3359220
opcode[NOP].pair_count[LOAD_FAST_BORROW]: 3359220
opcode[LOAD_FAST].execution_count: -3359220
opcode[LOAD_FAST_BORROW].execution_count: 3359100
GC[1] objects reachable from roots: 2561747
Object method cache collisions: 143065
Object method cache hits: -142980
Object method cache misses: 142760
Object mortal decrefs: 142578
Object mortal increfs: 142156
Object immortal increfs: 142054
====
Benchmark: float
GC[1] object visits: 7201723
GC[1] objects reachable from roots: 1032980
GC[1] objects not reachable from roots: -23460
Object mortal decrefs: 6
Object mortal increfs: 4
Object immortal increfs: 4
Object method cache hits: -4
Object method cache misses: 4
Object immortal decrefs: 2
Object method cache collisions: 2
====
Benchmark: docutils
Object immortal increfs: -5960796
Object method cache collisions: -5075203
Object immortal decrefs: -4944785
Object mortal increfs: -4751594
Object method cache hits: 4051466
Object method cache misses: -4051466
Object mortal decrefs: -3834117
GC[1] objects reachable from roots: 1187304
GC[1] objects not reachable from roots: -1160924
GC[1] object visits: 1158173
Object method cache dunder hits: 1024161
Object method cache dunder misses: -1024161
====
Benchmark: sphinx
Object immortal increfs: -5023403
Object immortal decrefs: -4760854
Object mortal increfs: -4021826
Object mortal decrefs: -3894090
Object method cache misses: -3003092
Object method cache collisions: -2704583
Object method cache hits: 2686350
Object interpreter mortal decrefs: -2136544
Object interpreter mortal increfs: -2133774
opcode[LOAD_FAST_BORROW].execution_count: -1226609
opcode[LOAD_ATTR].specialization.hit: -1220343
opcode[LOAD_CONST_IMMORTAL].execution_count: -1220249
====
Benchmark: async_tree_memoization
opcode[NOP].pair_count[LOAD_FAST]: -3359220
opcode[NOP].pair_count[LOAD_FAST_BORROW]: 3359220
opcode[LOAD_FAST].execution_count: -3359220
opcode[LOAD_FAST_BORROW].execution_count: 3359100
GC[1] object visits: 1386657
GC[1] objects reachable from roots: 422755
Object method cache hits: -301986
Object method cache misses: 301766
Object method cache collisions: 301714
Object mortal decrefs: 301517
Object mortal increfs: 301191
Object immortal increfs: 300988
====
Benchmark: concurrent_imap
Object interpreter mortal decrefs: 2613646
Object interpreter mortal increfs: 2070106
opcode[LOAD_FAST_BORROW].execution_count: 1739190
Object mortal decrefs: 1264820
Object mortal increfs: 1227197
Object immortal decrefs: 1080059
Object immortal increfs: 987238
opcode[LOAD_ATTR].specialization.hit: 739999
opcode[LOAD_GLOBAL].specialization.hit: 596403
opcode[RETURN_VALUE].execution_count: 517656
Frames pushed: 517656
opcode[RESUME_CHECK].execution_count: 517646
====
Benchmark: networkx_k_core
GC[1] object visits: 2197676
GC[1] objects reachable from roots: 293067
GC[1] objects not reachable from roots: -867
Object immortal decrefs: -234
Object frees to freelist: 105
Object allocations from freelist: 87
Object allocations: -87
Object allocations to 512 bytes: -87
GC[1] objects collected: 48
Object frees: -46
Object method cache dunder hits: 44
Object immortal increfs: -38
====
Benchmark: argparse_subparsers
opcode[LOAD_FAST_BORROW].execution_count: -2078216
Object interpreter mortal increfs: -1558662
Object mortal increfs: 1108632
GC[1] object visits: -1100995
opcode[TO_BOOL].specialization.hit: -1039108
opcode[LOAD_FAST_BORROW].pair_count[TO_BOOL_BOOL]: -1039108
opcode[POP_JUMP_IF_TRUE].execution_count: -1039108
opcode[TO_BOOL_BOOL].execution_count: -1039108
opcode[TO_BOOL_BOOL].pair_count[POP_JUMP_IF_TRUE]: -1039108
Object interpreter mortal decrefs: -1039108
Object immortal increfs: -524086
opcode[PUSH_NULL].execution_count: -519554
====
Benchmark: mako
GC[1] object visits: 1685640
Object mortal decrefs: 93185
Object immortal decrefs: 50367
GC[1] objects not reachable from roots: 35740
Object frees: 35713
GC[1] objects collected: 27380
Object mortal increfs: 7506
Object frees to freelist: 4960
Object allocations from freelist: 4680
Object allocations to 512 bytes: -4580
Object allocations: -4520
Object immortal increfs: -3894
====
Benchmark: go
GC[1] object visits: 1608520
Object immortal decrefs: 677206
Object mortal decrefs: 71108
Object frees: 49202
GC[1] objects reachable from roots: 24540
GC[1] objects collected: 22420
GC[1] objects not reachable from roots: 16680
Object mortal increfs: 4027
Object frees to freelist: 2300
Object allocations: 1780
Object allocations to 512 bytes: 1780
Object immortal increfs: 1767
====
Benchmark: xml_etree
GC[1] object visits: 1449142
GC[1] objects reachable from roots: 101995
GC[1] objects not reachable from roots: 49285
Object mortal decrefs: 6357
Object immortal decrefs: 4561
Object immortal increfs: 3111
Object frees: 2903
Object mortal increfs: 2000
Object method cache collisions: 1955
GC[1] objects collected: 1484
Object method cache misses: 1081
Object method cache hits: -829
====
Benchmark: pycparser
GC[1] object visits: 1027417
GC[1] objects reachable from roots: 245300
Object immortal increfs: -92620
Object immortal decrefs: -91859
Object mortal increfs: -89872
Object method cache collisions: -89548
Object mortal decrefs: -88961
Object method cache dunder hits: 62838
Object method cache dunder misses: -62838
GC[1] objects not reachable from roots: 40040
Object method cache hits: 27590
Object method cache misses: -27590
====
Benchmark: sympy
Object method cache collisions: -999952
Object interpreter mortal decrefs: 919306
Object interpreter mortal increfs: 692880
Object method cache misses: -618122
Object method cache hits: 611642
opcode[LOAD_FAST_BORROW_LOAD_FAST_BORROW].execution_count: 510698
Object method cache dunder hits: 491299
Object mortal decrefs: -433724
Object immortal decrefs: -421302
Object method cache dunder misses: -381808
Object mortal increfs: -372614
Object immortal increfs: -279617
====
Benchmark: generators
GC[1] object visits: 938270
GC[1] objects reachable from roots: 258780
GC[1] objects not reachable from roots: -780
Object mortal decrefs: 293
Object immortal decrefs: 289
Object frees to freelist: 160
GC[1] objects collected: 80
Object frees: -77
Object method cache hits: 15
Object method cache misses: -15
Object mortal increfs: 10
Object immortal increfs: -8
====
Benchmark: genshi
Object immortal decrefs: 843973
GC[1] object visits: 509243
Object frees: 84903
Object mortal decrefs: 46793
GC[1] objects not reachable from roots: 24261
GC[1] objects reachable from roots: 6824
Object immortal increfs: 2601
Object mortal increfs: 1565
GC[1] objects collected: 1522
Object method cache hits: -1323
Object method cache misses: 1322
Object frees to freelist: 918
====
Benchmark: dulwich_log
Object mortal decrefs: -825270
Object immortal decrefs: -1490
Object mortal increfs: -1396
Object method cache collisions: -1283
Object method cache dunder hits: 956
Object method cache dunder misses: -956
Object allocations: 954
Object allocations to 512 bytes: 954
Object allocations from freelist: -840
Object frees: 407
Object immortal increfs: -364
Object method cache hits: 344
====
Benchmark: pylint
GC[1] object visits: 666432
Object method cache hits: 370211
Object method cache collisions: -347086
Object mortal decrefs: -322657
Object method cache misses: -298449
Object immortal increfs: -292817
Object immortal decrefs: -263919
Object mortal increfs: -261133
Object interpreter mortal increfs: -162297
Object interpreter mortal decrefs: -137798
opcode[LOAD_ATTR].specialization.hit: -95708
GC[1] objects reachable from roots: 87174
====
Benchmark: tomli_loads
GC[1] object visits: -530957
GC[1] objects not reachable from roots: -43140
GC[1] objects reachable from roots: 36900
Object immortal increfs: 45
Object immortal decrefs: 41
Object mortal decrefs: 39
Object method cache collisions: 38
Object mortal increfs: 35
Object method cache hits: -30
Object method cache misses: 30
Object method cache dunder hits: -10
Object method cache dunder misses: 10
====
Benchmark: typing_runtime_protocols
Object interpreter mortal decrefs: -500736
Object mortal decrefs: -362443
Object mortal increfs: -344016
opcode[LOAD_GLOBAL].specialization.hit: -285696
Object interpreter mortal increfs: -282624
opcode[LOAD_GLOBAL_MODULE].execution_count: -239616
Object allocations from freelist: -215040
Object frees to freelist: -215040
opcode[LOAD_FAST_BORROW].execution_count: -184320
opcode[STORE_FAST].execution_count: -178176
opcode[FOR_ITER].specialization.hit: -122880
opcode[FOR_ITER_TUPLE].execution_count: -122880
====
Benchmark: richards
Object immortal increfs: 380265
Object mortal decrefs: 380110
Object method cache collisions: 380110
Object mortal increfs: 380105
Object method cache hits: -380105
Object method cache misses: 380105
Object immortal decrefs: 380100
Object allocations from freelist: -160
Object allocations: 160
Object allocations to 512 bytes: 160
Object frees: 5
====
Benchmark: sqlglot_v2_transpile
GC[1] object visits: -326478
Object immortal decrefs: -89510
Object mortal decrefs: -73402
Object method cache dunder hits: 54205
Object method cache dunder misses: -54205
Object frees: -52282
Object method cache hits: -45639
Object method cache misses: 45639
GC[1] objects not reachable from roots: -43067
GC[1] objects collected: -32635
Object immortal increfs: -29537
Object method cache collisions: -8818
====
Benchmark: richards_super
Object immortal increfs: 295511
Object immortal decrefs: 295474
Object method cache collisions: 295474
Object mortal increfs: 295471
Object method cache hits: -295471
Object method cache misses: 295471
Object mortal decrefs: 295468
Object allocations from freelist: -40
Object allocations: 40
Object allocations to 512 bytes: 40
Object frees: -1
====
Benchmark: deepcopy
Object method cache dunder hits: 276459
Object method cache dunder misses: -276459
Object mortal increfs: -276456
Object mortal decrefs: -276453
Object method cache collisions: -276450
Object immortal decrefs: -276401
Object immortal increfs: -276400
Object method cache hits: -30
Object method cache misses: 30
Object frees: 5
====
Benchmark: sqlglot_v2
GC[1] object visits: 266043
Object immortal increfs: -90332
Object method cache dunder hits: 76970
Object method cache dunder misses: -76970
Object immortal decrefs: -58997
Object mortal decrefs: 57834
Object method cache collisions: -42815
GC[1] objects not reachable from roots: 35777
Object method cache hits: -34151
Object method cache misses: 34151
Object frees: 27493
GC[1] objects collected: 20794
====
Benchmark: deltablue
Object immortal decrefs: 264131
GC[1] object visits: 254651
Object immortal increfs: 229849
Object mortal decrefs: 180309
Object method cache collisions: 153402
Object method cache hits: -153400
Object method cache misses: 153400
Object mortal increfs: 83151
Object frees: 38458
GC[1] objects collected: 24320
GC[1] objects not reachable from roots: 21820
GC[1] objects reachable from roots: 7680
====
Benchmark: html5lib
GC[1] object visits: -138356
GC[1] objects reachable from roots: 111403
GC[1] objects not reachable from roots: -69704
Object immortal decrefs: 41239
Object immortal increfs: 40409
Object method cache misses: 20360
Object method cache hits: -20358
Object method cache collisions: 19793
Object mortal increfs: -885
Object method cache dunder hits: 592
Object method cache dunder misses: -591
GC[1] objects collected: 252
====
Benchmark: django_template
Object immortal increfs: 125514
Object immortal decrefs: 125512
Object method cache collisions: 83691
Object method cache dunder hits: -41883
Object method cache dunder misses: 41883
Object mortal decrefs: 41870
Object mortal increfs: 41869
Object method cache hits: -41808
Object method cache misses: 41808
Object frees: 1
====
Benchmark: pickle_pure_python
Object immortal decrefs: 116986
Object immortal increfs: 116974
Object mortal decrefs: -116186
Object mortal increfs: -116175
Object interpreter mortal increfs: -76800
Object interpreter mortal decrefs: -76800
GC[1] object visits: -2760
Object method cache hits: -1057
Object method cache misses: 1057
Object method cache dunder hits: 658
Object method cache dunder misses: -658
Object method cache collisions: 408
====
Benchmark: sqlglot_v2_parse
GC[1] object visits: -62934
Object immortal decrefs: 48757
Object immortal increfs: 48605
Object method cache hits: -17886
Object method cache misses: 17886
Object mortal increfs: -17738
Object mortal decrefs: -17297
Object method cache collisions: 15314
GC[1] objects not reachable from roots: -5940
Object method cache dunder hits: 2562
Object method cache dunder misses: -2562
Object frees: 1960
====
Benchmark: async_generators
GC[1] object visits: 38784
GC[1] objects reachable from roots: 25454
GC[1] objects not reachable from roots: -834
Object immortal increfs: -621
Object mortal increfs: -536
Object mortal decrefs: -439
Object method cache hits: -301
Object immortal decrefs: -253
Object interpreter mortal increfs: -240
Object interpreter mortal decrefs: -240
Object allocations: -130
opcode[CALL].specialization.hit: -120
====
Benchmark: asyncio_websockets
opcode[LOAD_FAST].execution_count: -6741
opcode[NOP].pair_count[LOAD_FAST]: -6723
opcode[NOP].pair_count[LOAD_FAST_BORROW]: 6717
opcode[LOAD_FAST_BORROW].execution_count: 5703
Object immortal increfs: -5609
Object method cache hits: -5044
Object mortal decrefs: -4882
Object immortal decrefs: -4651
Object method cache misses: 2864
Object mortal increfs: -2834
Object method cache collisions: 2818
Object interpreter mortal decrefs: -2357
====
Benchmark: raytrace
Object immortal increfs: 6286
Object immortal decrefs: 6268
Object method cache hits: -4214
Object method cache misses: 4214
Object method cache collisions: 4200
Object mortal decrefs: 2120
Object mortal increfs: 2102
Object method cache dunder hits: 20
Object method cache dunder misses: -20
Object frees: 15
====
Benchmark: pprint
Object immortal increfs: 6065
Object mortal decrefs: 4887
Object mortal increfs: 4458
Object interpreter mortal decrefs: 4211
Object interpreter mortal increfs: 3465
Object immortal decrefs: 2871
opcode[LOAD_FAST_BORROW].execution_count: 2286
Object allocations: 1797
Object allocations to 512 bytes: 1722
opcode[LOAD_GLOBAL].specialization.hit: 1179
Object frees: 959
opcode[LOAD_ATTR].specialization.hit: 873
====
Benchmark: unpickle_pure_python
Object immortal decrefs: 4271
Object immortal increfs: 3978
Object method cache collisions: 2307
Object method cache dunder hits: -1399
Object method cache dunder misses: 1399
Object method cache hits: -888
Object method cache misses: 888
Object mortal increfs: 597
Object frees: -496
Object mortal decrefs: 305
Object interpreter mortal increfs: -240
Object interpreter mortal decrefs: -240
====
Benchmark: python_startup_no_site
Object immortal decrefs: 1189
Object immortal increfs: 1007
Object method cache dunder hits: -904
Object method cache dunder misses: 904
opcode[BINARY_OP].specialization.failure_kinds[17]: -460
Object method cache collisions: -458
opcode[BINARY_OP].specialization.failure: -440
opcode[BINARY_OP].execution_count: -440
opcode[BINARY_OP].pair_count[BINARY_OP]: -440
Object method cache hits: 395
Object method cache misses: -375
Object frees: 187
====
Benchmark: python_startup
Object immortal decrefs: 1162
Object immortal increfs: 906
Object method cache dunder hits: -732
Object method cache dunder misses: 732
Object mortal increfs: 522
opcode[BINARY_OP].specialization.failure_kinds[17]: -460
opcode[BINARY_OP].specialization.failure: -440
opcode[BINARY_OP].execution_count: -440
opcode[BINARY_OP].pair_count[BINARY_OP]: -440
Object mortal decrefs: 278
Object method cache hits: 56
Object method cache misses: -36
====
Benchmark: 2to3
Object method cache collisions: 694
Object immortal decrefs: 540
Object immortal increfs: 488
Object method cache dunder hits: -279
Object method cache dunder misses: 279
Object mortal increfs: 244
Object mortal decrefs: 192
Object method cache hits: -86
Object method cache misses: 86
Object frees: -57
Object allocations from freelist: 1
Object frees to freelist: 1
====
Benchmark: pyflate
Object frees to freelist: 420
Object frees: -420
Object immortal decrefs: -23
Object immortal increfs: -22
Object method cache dunder hits: 9
Object method cache dunder misses: -9
Object method cache hits: 3
Object method cache misses: -3
Object mortal increfs: -2
Object mortal decrefs: -1
Object method cache collisions: 1
====
Benchmark: pidigits
Object frees to freelist: 240
Object frees: -238
Object method cache collisions: -7
Object immortal decrefs: -5
Object mortal increfs: -3
Object immortal increfs: -3
Object method cache hits: 3
Object method cache misses: -3
Object mortal decrefs: -1
====
Benchmark: telco
Object method cache collisions: 96
Object immortal increfs: 92
Object mortal decrefs: 85
Object immortal decrefs: 77
Object mortal increfs: 70
Object method cache hits: -49
Object method cache misses: 49
Object method cache dunder hits: -32
Object method cache dunder misses: 32
Object frees: 14
====
Benchmark: sqlite_synth
Object method cache dunder hits: 62
Object method cache dunder misses: -62
Object immortal decrefs: -55
Object mortal increfs: -50
Object immortal increfs: -50
Object method cache collisions: -46
Object mortal decrefs: -45
Object method cache hits: -12
Object method cache misses: 12
Object frees: 6
====
Benchmark: regex_compile
Object immortal increfs: 55
Object immortal decrefs: 51
opcode[COMPARE_OP].specialization.failure_kinds[0]: 40
opcode[COMPARE_OP].specialization.failure_kinds[12]: -40
Object method cache collisions: 39
Object method cache dunder hits: -26
Object method cache dunder misses: 26
opcode[STORE_SUBSCR].specialization.failure_kinds[4]: -20
opcode[STORE_SUBSCR].specialization.failure_kinds[11]: 20
Object mortal decrefs: 17
Object mortal increfs: 13
Object method cache hits: -8
====
Benchmark: scimark
Object immortal increfs: 48
Object immortal decrefs: 35
Object mortal decrefs: 29
Object method cache hits: -21
Object method cache misses: 21
Object mortal increfs: 19
Object method cache collisions: -13
Object method cache dunder hits: -12
Object method cache dunder misses: 12
Object frees: 9
Object allocations from freelist: -2
Object allocations: 2
====
Benchmark: hexiom
Object immortal increfs: 39
Object immortal decrefs: 36
Object method cache collisions: 34
Object method cache dunder hits: -15
Object method cache dunder misses: 15
Object mortal decrefs: 6
Object method cache hits: -6
Object method cache misses: 6
Object mortal increfs: 4
====
Benchmark: pathlib
Object method cache collisions: 34
Object immortal increfs: 30
Object mortal decrefs: 29
Object immortal decrefs: 27
Object mortal increfs: 26
Object method cache hits: -14
Object method cache misses: 14
Object method cache dunder hits: -14
Object method cache dunder misses: 14
Object frees: 2
====
Benchmark: networkx
Object mortal increfs: 33
Object method cache dunder hits: 29
Object method cache hits: 27
opcode[LOAD_ATTR].specialization.hit: -24
Object mortal decrefs: 24
opcode[LOAD_ATTR].specialization.miss: 24
opcode[FOR_ITER].specialization.hit: 14
opcode[FOR_ITER_LIST].execution_count: 14
opcode[FOR_ITER].specialization.miss: -14
opcode[FOR_ITER_TUPLE].specialization.miss: -14
opcode[FOR_ITER_TUPLE].execution_count: -14
Object immortal decrefs: -13
====
Benchmark: json
Object immortal increfs: 24
Object mortal decrefs: 22
Object method cache hits: -18
Object method cache misses: 18
Object immortal decrefs: 16
Object method cache collisions: 15
Object mortal increfs: 14
Object frees: 8
Object method cache dunder hits: -1
Object method cache dunder misses: 1
====
Benchmark: nqueens
Object immortal increfs: 24
Object immortal decrefs: 23
Object method cache collisions: 14
Object method cache dunder hits: -12
Object method cache dunder misses: 12
Object frees: 1
Object mortal decrefs: 1
====
Benchmark: regex_dna
opcode[TO_BOOL].specialization.failure: 20
opcode[TO_BOOL].execution_count: 20
opcode[TO_BOOL].pair_count[TO_BOOL]: 20
Object mortal increfs: -13
Object mortal decrefs: -13
Object immortal increfs: -11
Object immortal decrefs: -11
Object method cache dunder hits: 9
Object method cache dunder misses: -9
Object method cache hits: 3
Object method cache misses: -3
Object method cache collisions: -2
====
Benchmark: crypto_pyaes
Object immortal decrefs: 16
Object immortal increfs: 15
Object method cache collisions: 13
Object mortal increfs: 9
Object method cache hits: -9
Object method cache misses: 9
Object mortal decrefs: 8
Object method cache dunder hits: -3
Object method cache dunder misses: 3
Object frees: -1
====
Benchmark: networkx_connected_components
Object mortal increfs: 15
Object immortal increfs: 15
Object immortal decrefs: 14
Object method cache dunder hits: 14
opcode[LOAD_ATTR].specialization.hit: -12
opcode[LOAD_ATTR].specialization.miss: 12
Object method cache misses: 9
opcode[FOR_ITER].specialization.hit: 8
opcode[FOR_ITER_LIST].execution_count: 8
Object mortal decrefs: 8
opcode[FOR_ITER].specialization.miss: -8
opcode[FOR_ITER_TUPLE].specialization.miss: -8
====
Benchmark: comprehensions
Object immortal decrefs: -12
Object method cache hits: 12
Object method cache misses: -12
Object mortal increfs: -10
Object immortal increfs: -10
Object mortal decrefs: -8
Object frees: 4
Object method cache collisions: -3
Object method cache dunder hits: -2
Object method cache dunder misses: 2
====
Benchmark: regex_v8
Object method cache collisions: 12
Object mortal decrefs: 10
Object immortal increfs: 10
Object method cache hits: -9
Object method cache misses: 9
Object mortal increfs: 8
Object immortal decrefs: 8
Object frees: 3
====
Benchmark: meteor_contest
Object immortal increfs: -12
Object mortal decrefs: -10
Object immortal decrefs: -10
Object mortal increfs: -8
Object method cache hits: 8
Object method cache misses: -8
Object method cache collisions: -3
Object frees: -2
Object method cache dunder hits: 2
Object method cache dunder misses: -2
====
Benchmark: spectral_norm
Object mortal increfs: -11
Object mortal decrefs: -11
Object immortal increfs: -11
Object immortal decrefs: -11
Object method cache hits: 11
Object method cache misses: -11
Object method cache collisions: -7
====
Benchmark: chaos
Object frees: 11
Object mortal decrefs: 11
Object method cache collisions: 9
Object immortal increfs: 8
Object immortal decrefs: -3
Object method cache hits: -3
Object method cache misses: 3
Object method cache dunder hits: -1
Object method cache dunder misses: 1
====
Benchmark: json_loads
Object method cache collisions: 9
Object immortal decrefs: -2
Object frees: 1
Object mortal increfs: -1
Object immortal increfs: -1
Object method cache hits: 1
Object method cache misses: -1
====
Benchmark: json_dumps
Object method cache collisions: 8
Object mortal increfs: -1
Object mortal decrefs: -1
Object immortal increfs: -1
Object immortal decrefs: -1
Object method cache hits: 1
Object method cache misses: -1
====
Benchmark: fannkuch
Object immortal decrefs: -7
Object immortal increfs: -5
Object method cache hits: 4
Object method cache misses: -4
Object method cache collisions: -4
Object mortal increfs: -3
Object frees: 2
Object mortal decrefs: -1
====
Benchmark: regex_effbot
Object method cache collisions: 7
Object mortal increfs: -2
Object method cache hits: 2
Object method cache misses: -2
Object frees: 1
Object mortal decrefs: -1
Object immortal decrefs: -1
Object method cache dunder hits: -1
Object method cache dunder misses: 1
====
Benchmark: nbody
Object mortal increfs: -6
Object mortal decrefs: -6
Object immortal increfs: -6
Object immortal decrefs: -6
Object method cache hits: 6
Object method cache misses: -6
Object method cache collisions: 5
====
Benchmark: coroutines
Object mortal decrefs: -4
Object mortal increfs: -2
Object immortal increfs: -2
Object method cache hits: 2
Object method cache misses: -2
Object frees: -1
Object method cache collisions: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment