1 The following are examples of py_cpudist.d. 2 3 This script traces the on-CPU time of Python functions and prints a report 4 in the form of a histogram. Here it traces the example program, 5 Code/Python/func_slow.py 6 7 # py_cpudist.d 8 Tracing... Hit Ctrl-C to end. 9 ^C 10 11 Exclusive function on-CPU times (us), 12 UserDict.py, func, IterableUserDict 13 value ------------- Distribution ------------- count 14 0 | 0 15 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 16 2 | 0 17 18 __init__.py, func, CodecRegistryError 19 value ------------- Distribution ------------- count 20 0 | 0 21 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 22 2 | 0 23 24 ascii.py, func, StreamReader 25 value ------------- Distribution ------------- count 26 0 | 0 27 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 28 2 | 0 29 30 ascii.py, func, StreamWriter 31 value ------------- Distribution ------------- count 32 0 | 0 33 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 34 2 | 0 35 36 ascii.py, func, getregentry 37 value ------------- Distribution ------------- count 38 0 | 0 39 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 40 2 | 0 41 42 site.py, func, aliasmbcs 43 value ------------- Distribution ------------- count 44 0 | 0 45 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 46 2 | 0 47 48 site.py, func, sethelper 49 value ------------- Distribution ------------- count 50 0 | 0 51 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 52 2 | 0 53 54 types.py, func, _C 55 value ------------- Distribution ------------- count 56 0 | 0 57 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 58 2 | 0 59 60 warnings.py, func, _OptionError 61 value ------------- Distribution ------------- count 62 0 | 0 63 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 64 2 | 0 65 66 UserDict.py, func, __init__ 67 value ------------- Distribution ------------- count 68 1 | 0 69 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 70 4 | 0 71 72 ascii.py, func, Codec 73 value ------------- Distribution ------------- count 74 1 | 0 75 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 76 4 | 0 77 78 ascii.py, func, StreamConverter 79 value ------------- Distribution ------------- count 80 1 | 0 81 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 82 4 | 0 83 84 codecs.py, func, Codec 85 value ------------- Distribution ------------- count 86 1 | 0 87 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 88 4 | 0 89 90 codecs.py, func, StreamWriter 91 value ------------- Distribution ------------- count 92 1 | 0 93 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 94 4 | 0 95 96 os.py, func, _Environ 97 value ------------- Distribution ------------- count 98 1 | 0 99 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 100 4 | 0 101 102 posixpath.py, func, basename 103 value ------------- Distribution ------------- count 104 1 | 0 105 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 106 4 | 0 107 108 posixpath.py, func, dirname 109 value ------------- Distribution ------------- count 110 1 | 0 111 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 112 4 | 0 113 114 site.py, func, _Helper 115 value ------------- Distribution ------------- count 116 1 | 0 117 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 118 4 | 0 119 120 site.py, func, _Printer 121 value ------------- Distribution ------------- count 122 1 | 0 123 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 124 4 | 0 125 126 site.py, func, setencoding 127 value ------------- Distribution ------------- count 128 1 | 0 129 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 130 4 | 0 131 132 site.py, func, setquit 133 value ------------- Distribution ------------- count 134 1 | 0 135 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 136 4 | 0 137 138 warnings.py, func, _processoptions 139 value ------------- Distribution ------------- count 140 1 | 0 141 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 142 4 | 0 143 144 copy_reg.py, func, constructor 145 value ------------- Distribution ------------- count 146 0 | 0 147 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3 148 2 | 0 149 150 codecs.py, func, StreamReader 151 value ------------- Distribution ------------- count 152 2 | 0 153 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 154 8 | 0 155 156 codecs.py, func, StreamReaderWriter 157 value ------------- Distribution ------------- count 158 2 | 0 159 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 160 8 | 0 161 162 codecs.py, func, StreamRecoder 163 value ------------- Distribution ------------- count 164 2 | 0 165 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 166 8 | 0 167 168 func_slow.py, func, ? 169 value ------------- Distribution ------------- count 170 2 | 0 171 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 172 8 | 0 173 174 os.py, func, __init__ 175 value ------------- Distribution ------------- count 176 2 | 0 177 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 178 8 | 0 179 180 site.py, func, __init__ 181 value ------------- Distribution ------------- count 182 1 | 0 183 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3 184 4 | 0 185 186 stat.py, func, S_IFMT 187 value ------------- Distribution ------------- count 188 0 | 0 189 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 6 190 2 | 0 191 192 warnings.py, func, simplefilter 193 value ------------- Distribution ------------- count 194 1 | 0 195 2 |@@@@@@@@@@@@@@@@@@@@ 1 196 4 |@@@@@@@@@@@@@@@@@@@@ 1 197 8 | 0 198 199 __init__.py, func, normalize_encoding 200 value ------------- Distribution ------------- count 201 4 | 0 202 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 203 16 | 0 204 205 copy_reg.py, func, pickle 206 value ------------- Distribution ------------- count 207 1 | 0 208 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2 209 4 |@@@@@@@@@@@@@ 1 210 8 | 0 211 212 linecache.py, func, ? 213 value ------------- Distribution ------------- count 214 4 | 0 215 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 216 16 | 0 217 218 posixpath.py, func, split 219 value ------------- Distribution ------------- count 220 2 | 0 221 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2 222 8 | 0 223 224 stat.py, func, ? 225 value ------------- Distribution ------------- count 226 4 | 0 227 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 228 16 | 0 229 230 stat.py, func, S_ISDIR 231 value ------------- Distribution ------------- count 232 1 | 0 233 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 6 234 4 | 0 235 236 posixpath.py, func, normcase 237 value ------------- Distribution ------------- count 238 0 | 0 239 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 14 240 2 | 0 241 242 UserDict.py, func, ? 243 value ------------- Distribution ------------- count 244 8 | 0 245 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 246 32 | 0 247 248 UserDict.py, func, UserDict 249 value ------------- Distribution ------------- count 250 8 | 0 251 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 252 32 | 0 253 254 site.py, func, _init_pathinfo 255 value ------------- Distribution ------------- count 256 8 | 0 257 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 258 32 | 0 259 260 site.py, func, addsitepackages 261 value ------------- Distribution ------------- count 262 8 | 0 263 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 264 32 | 0 265 266 site.py, func, setcopyright 267 value ------------- Distribution ------------- count 268 8 | 0 269 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 270 32 | 0 271 272 <string>, func, ? 273 value ------------- Distribution ------------- count 274 0 | 0 275 1 |@@@@@@@@@@@@@@@@@@ 5 276 2 |@@@@@@@@@@@@@@@@@@ 5 277 4 |@@@@ 1 278 8 | 0 279 280 posixpath.py, func, isabs 281 value ------------- Distribution ------------- count 282 0 | 0 283 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 20 284 2 |@@@@ 2 285 4 | 0 286 287 aliases.py, func, ? 288 value ------------- Distribution ------------- count 289 16 | 0 290 32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 291 64 | 0 292 293 ascii.py, func, ? 294 value ------------- Distribution ------------- count 295 16 | 0 296 32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 297 64 | 0 298 299 posixpath.py, func, exists 300 value ------------- Distribution ------------- count 301 8 | 0 302 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2 303 32 | 0 304 305 site.py, func, abs__file__ 306 value ------------- Distribution ------------- count 307 16 | 0 308 32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 309 64 | 0 310 311 site.py, func, removeduppaths 312 value ------------- Distribution ------------- count 313 16 | 0 314 32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 315 64 | 0 316 317 site.py, func, makepath 318 value ------------- Distribution ------------- count 319 2 | 0 320 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 14 321 8 | 0 322 323 posixpath.py, func, join 324 value ------------- Distribution ------------- count 325 0 | 0 326 1 |@@@@@@@@@@@@@@@@@@@@@@@@ 12 327 2 |@@@@@@@@@@ 5 328 4 |@@@@ 2 329 8 | 0 330 16 | 0 331 32 |@@ 1 332 64 | 0 333 334 codecs.py, func, ? 335 value ------------- Distribution ------------- count 336 32 | 0 337 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 338 128 | 0 339 340 site.py, func, main 341 value ------------- Distribution ------------- count 342 32 | 0 343 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 344 128 | 0 345 346 types.py, func, ? 347 value ------------- Distribution ------------- count 348 32 | 0 349 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 350 128 | 0 351 352 posixpath.py, func, abspath 353 value ------------- Distribution ------------- count 354 2 | 0 355 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 22 356 8 | 0 357 358 UserDict.py, func, DictMixin 359 value ------------- Distribution ------------- count 360 64 | 0 361 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 362 256 | 0 363 364 __init__.py, func, search_function 365 value ------------- Distribution ------------- count 366 64 | 0 367 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 368 256 | 0 369 370 copy_reg.py, func, ? 371 value ------------- Distribution ------------- count 372 64 | 0 373 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 374 256 | 0 375 376 os.py, func, _get_exports_list 377 value ------------- Distribution ------------- count 378 64 | 0 379 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 380 256 | 0 381 382 posixpath.py, func, ? 383 value ------------- Distribution ------------- count 384 64 | 0 385 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 386 256 | 0 387 388 warnings.py, func, ? 389 value ------------- Distribution ------------- count 390 64 | 0 391 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 392 256 | 0 393 394 posixpath.py, func, isdir 395 value ------------- Distribution ------------- count 396 4 | 0 397 8 |@@@@@ 1 398 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 6 399 32 | 0 400 64 |@@@@@ 1 401 128 | 0 402 403 posixpath.py, func, normpath 404 value ------------- Distribution ------------- count 405 2 | 0 406 4 |@@ 1 407 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 21 408 16 | 0 409 410 site.py, func, addpackage 411 value ------------- Distribution ------------- count 412 32 | 0 413 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2 414 128 |@@@@@@@@@@@@@ 1 415 256 | 0 416 417 site.py, func, addsitedir 418 value ------------- Distribution ------------- count 419 64 | 0 420 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2 421 256 | 0 422 423 site.py, func, ? 424 value ------------- Distribution ------------- count 425 256 | 0 426 512 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 427 1024 | 0 428 429 site.py, func, execsitecustomize 430 value ------------- Distribution ------------- count 431 256 | 0 432 512 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 433 1024 | 0 434 435 os.py, func, _exists 436 value ------------- Distribution ------------- count 437 8 | 0 438 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 9 439 32 | 0 440 64 | 0 441 128 | 0 442 256 | 0 443 512 |@@@@ 1 444 1024 | 0 445 446 __init__.py, func, ? 447 value ------------- Distribution ------------- count 448 512 | 0 449 1024 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 450 2048 | 0 451 452 os.py, func, ? 453 value ------------- Distribution ------------- count 454 512 | 0 455 1024 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 456 2048 | 0 457 458 func_slow.py, func, func_a 459 value ------------- Distribution ------------- count 460 65536 | 0 461 131072 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 462 262144 | 0 463 464 func_slow.py, func, func_b 465 value ------------- Distribution ------------- count 466 131072 | 0 467 262144 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 468 524288 | 0 469 470 func_slow.py, func, func_c 471 value ------------- Distribution ------------- count 472 262144 | 0 473 524288 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 474 1048576 | 0 475 476 477 Inclusive function on-CPU times (us), 478 UserDict.py, func, IterableUserDict 479 value ------------- Distribution ------------- count 480 0 | 0 481 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 482 2 | 0 483 484 __init__.py, func, CodecRegistryError 485 value ------------- Distribution ------------- count 486 0 | 0 487 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 488 2 | 0 489 490 ascii.py, func, StreamReader 491 value ------------- Distribution ------------- count 492 0 | 0 493 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 494 2 | 0 495 496 ascii.py, func, StreamWriter 497 value ------------- Distribution ------------- count 498 0 | 0 499 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 500 2 | 0 501 502 ascii.py, func, getregentry 503 value ------------- Distribution ------------- count 504 0 | 0 505 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 506 2 | 0 507 508 site.py, func, aliasmbcs 509 value ------------- Distribution ------------- count 510 0 | 0 511 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 512 2 | 0 513 514 site.py, func, sethelper 515 value ------------- Distribution ------------- count 516 0 | 0 517 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 518 2 | 0 519 520 types.py, func, _C 521 value ------------- Distribution ------------- count 522 0 | 0 523 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 524 2 | 0 525 526 warnings.py, func, _OptionError 527 value ------------- Distribution ------------- count 528 0 | 0 529 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 530 2 | 0 531 532 UserDict.py, func, __init__ 533 value ------------- Distribution ------------- count 534 1 | 0 535 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 536 4 | 0 537 538 ascii.py, func, Codec 539 value ------------- Distribution ------------- count 540 1 | 0 541 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 542 4 | 0 543 544 ascii.py, func, StreamConverter 545 value ------------- Distribution ------------- count 546 1 | 0 547 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 548 4 | 0 549 550 codecs.py, func, Codec 551 value ------------- Distribution ------------- count 552 1 | 0 553 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 554 4 | 0 555 556 codecs.py, func, StreamWriter 557 value ------------- Distribution ------------- count 558 1 | 0 559 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 560 4 | 0 561 562 os.py, func, _Environ 563 value ------------- Distribution ------------- count 564 1 | 0 565 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 566 4 | 0 567 568 site.py, func, _Helper 569 value ------------- Distribution ------------- count 570 1 | 0 571 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 572 4 | 0 573 574 site.py, func, _Printer 575 value ------------- Distribution ------------- count 576 1 | 0 577 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 578 4 | 0 579 580 site.py, func, setencoding 581 value ------------- Distribution ------------- count 582 1 | 0 583 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 584 4 | 0 585 586 site.py, func, setquit 587 value ------------- Distribution ------------- count 588 1 | 0 589 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 590 4 | 0 591 592 warnings.py, func, _processoptions 593 value ------------- Distribution ------------- count 594 1 | 0 595 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 596 4 | 0 597 598 copy_reg.py, func, constructor 599 value ------------- Distribution ------------- count 600 0 | 0 601 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3 602 2 | 0 603 604 codecs.py, func, StreamReader 605 value ------------- Distribution ------------- count 606 2 | 0 607 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 608 8 | 0 609 610 codecs.py, func, StreamReaderWriter 611 value ------------- Distribution ------------- count 612 2 | 0 613 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 614 8 | 0 615 616 codecs.py, func, StreamRecoder 617 value ------------- Distribution ------------- count 618 2 | 0 619 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 620 8 | 0 621 622 site.py, func, __init__ 623 value ------------- Distribution ------------- count 624 1 | 0 625 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3 626 4 | 0 627 628 stat.py, func, S_IFMT 629 value ------------- Distribution ------------- count 630 0 | 0 631 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 6 632 2 | 0 633 634 warnings.py, func, simplefilter 635 value ------------- Distribution ------------- count 636 1 | 0 637 2 |@@@@@@@@@@@@@@@@@@@@ 1 638 4 |@@@@@@@@@@@@@@@@@@@@ 1 639 8 | 0 640 641 __init__.py, func, normalize_encoding 642 value ------------- Distribution ------------- count 643 4 | 0 644 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 645 16 | 0 646 647 linecache.py, func, ? 648 value ------------- Distribution ------------- count 649 4 | 0 650 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 651 16 | 0 652 653 os.py, func, __init__ 654 value ------------- Distribution ------------- count 655 4 | 0 656 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 657 16 | 0 658 659 posixpath.py, func, basename 660 value ------------- Distribution ------------- count 661 4 | 0 662 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 663 16 | 0 664 665 posixpath.py, func, dirname 666 value ------------- Distribution ------------- count 667 4 | 0 668 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 669 16 | 0 670 671 posixpath.py, func, split 672 value ------------- Distribution ------------- count 673 2 | 0 674 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2 675 8 | 0 676 677 stat.py, func, ? 678 value ------------- Distribution ------------- count 679 4 | 0 680 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 681 16 | 0 682 683 copy_reg.py, func, pickle 684 value ------------- Distribution ------------- count 685 2 | 0 686 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3 687 8 | 0 688 689 posixpath.py, func, normcase 690 value ------------- Distribution ------------- count 691 0 | 0 692 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 14 693 2 | 0 694 695 UserDict.py, func, UserDict 696 value ------------- Distribution ------------- count 697 8 | 0 698 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 699 32 | 0 700 701 stat.py, func, S_ISDIR 702 value ------------- Distribution ------------- count 703 1 | 0 704 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 4 705 4 |@@@@@@@@@@@@@ 2 706 8 | 0 707 708 posixpath.py, func, isabs 709 value ------------- Distribution ------------- count 710 0 | 0 711 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 20 712 2 |@@@@ 2 713 4 | 0 714 715 aliases.py, func, ? 716 value ------------- Distribution ------------- count 717 16 | 0 718 32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 719 64 | 0 720 721 ascii.py, func, ? 722 value ------------- Distribution ------------- count 723 16 | 0 724 32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 725 64 | 0 726 727 posixpath.py, func, exists 728 value ------------- Distribution ------------- count 729 8 | 0 730 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2 731 32 | 0 732 733 site.py, func, setcopyright 734 value ------------- Distribution ------------- count 735 16 | 0 736 32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 737 64 | 0 738 739 posixpath.py, func, join 740 value ------------- Distribution ------------- count 741 0 | 0 742 1 |@@@@@@@@@@@@@@@@@@@@@@@@ 12 743 2 |@@@@@@@@@@ 5 744 4 |@@@@ 2 745 8 | 0 746 16 | 0 747 32 |@@ 1 748 64 | 0 749 750 codecs.py, func, ? 751 value ------------- Distribution ------------- count 752 32 | 0 753 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 754 128 | 0 755 756 types.py, func, ? 757 value ------------- Distribution ------------- count 758 32 | 0 759 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 760 128 | 0 761 762 UserDict.py, func, ? 763 value ------------- Distribution ------------- count 764 64 | 0 765 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 766 256 | 0 767 768 UserDict.py, func, DictMixin 769 value ------------- Distribution ------------- count 770 64 | 0 771 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 772 256 | 0 773 774 __init__.py, func, search_function 775 value ------------- Distribution ------------- count 776 64 | 0 777 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 778 256 | 0 779 780 os.py, func, _get_exports_list 781 value ------------- Distribution ------------- count 782 64 | 0 783 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 784 256 | 0 785 786 posixpath.py, func, ? 787 value ------------- Distribution ------------- count 788 64 | 0 789 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 790 256 | 0 791 792 site.py, func, abs__file__ 793 value ------------- Distribution ------------- count 794 64 | 0 795 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 796 256 | 0 797 798 site.py, func, removeduppaths 799 value ------------- Distribution ------------- count 800 64 | 0 801 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 802 256 | 0 803 804 warnings.py, func, ? 805 value ------------- Distribution ------------- count 806 64 | 0 807 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 808 256 | 0 809 810 posixpath.py, func, normpath 811 value ------------- Distribution ------------- count 812 2 | 0 813 4 |@@ 1 814 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 21 815 16 | 0 816 817 posixpath.py, func, isdir 818 value ------------- Distribution ------------- count 819 8 | 0 820 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 7 821 32 | 0 822 64 |@@@@@ 1 823 128 | 0 824 825 posixpath.py, func, abspath 826 value ------------- Distribution ------------- count 827 4 | 0 828 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 17 829 16 |@@@@@@@@@ 5 830 32 | 0 831 832 copy_reg.py, func, ? 833 value ------------- Distribution ------------- count 834 128 | 0 835 256 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 836 512 | 0 837 838 site.py, func, _init_pathinfo 839 value ------------- Distribution ------------- count 840 128 | 0 841 256 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 842 512 | 0 843 844 site.py, func, makepath 845 value ------------- Distribution ------------- count 846 8 | 0 847 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 13 848 32 | 0 849 64 |@@@ 1 850 128 | 0 851 852 site.py, func, execsitecustomize 853 value ------------- Distribution ------------- count 854 256 | 0 855 512 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 856 1024 | 0 857 858 <string>, func, ? 859 value ------------- Distribution ------------- count 860 0 | 0 861 1 |@@@@@@@@@@@@@@@@@@ 5 862 2 |@@@@@@@@@@@@@@@@@@ 5 863 4 | 0 864 8 | 0 865 16 | 0 866 32 | 0 867 64 | 0 868 128 | 0 869 256 | 0 870 512 |@@@@ 1 871 1024 | 0 872 873 os.py, func, _exists 874 value ------------- Distribution ------------- count 875 8 | 0 876 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 8 877 32 |@@@@ 1 878 64 | 0 879 128 | 0 880 256 | 0 881 512 |@@@@ 1 882 1024 | 0 883 884 site.py, func, addpackage 885 value ------------- Distribution ------------- count 886 64 | 0 887 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2 888 256 | 0 889 512 |@@@@@@@@@@@@@ 1 890 1024 | 0 891 892 __init__.py, func, ? 893 value ------------- Distribution ------------- count 894 512 | 0 895 1024 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 896 2048 | 0 897 898 site.py, func, addsitepackages 899 value ------------- Distribution ------------- count 900 512 | 0 901 1024 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 902 2048 | 0 903 904 site.py, func, addsitedir 905 value ------------- Distribution ------------- count 906 256 | 0 907 512 |@@@@@@@@@@@@@@@@@@@@ 1 908 1024 |@@@@@@@@@@@@@@@@@@@@ 1 909 2048 | 0 910 911 os.py, func, ? 912 value ------------- Distribution ------------- count 913 1024 | 0 914 2048 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 915 4096 | 0 916 917 site.py, func, main 918 value ------------- Distribution ------------- count 919 1024 | 0 920 2048 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 921 4096 | 0 922 923 site.py, func, ? 924 value ------------- Distribution ------------- count 925 2048 | 0 926 4096 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 927 8192 | 0 928 929 func_slow.py, func, func_c 930 value ------------- Distribution ------------- count 931 262144 | 0 932 524288 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 933 1048576 | 0 934 935 func_slow.py, func, ? 936 value ------------- Distribution ------------- count 937 524288 | 0 938 1048576 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 939 2097152 | 0 940 941 func_slow.py, func, func_a 942 value ------------- Distribution ------------- count 943 524288 | 0 944 1048576 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 945 2097152 | 0 946 947 func_slow.py, func, func_b 948 value ------------- Distribution ------------- count 949 524288 | 0 950 1048576 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 951 2097152 | 0 952 953 The first section, Exclusive function on-CPU times, shows us the time spent 954 on-CPU by various functions, not including time spent in subroutines. You can 955 see here that func_a had one instance of being on-CPU between 0.13 seconds and 956 0.25 seconds. 957 958 The second section, Inclusive function on-CPU times, shows us the time spent 959 on-CPU by various functions, including that time spent in subroutines called 960 by those functions. You can see that here func_a had an instance of being 961 on-CPU between 1.0 seconds and 2.1 seconds. 962 963 It is important to pay close attention to the third column, "count" as this 964 will indicate if there were any instances in a particular timeframe, even if 965 the number is too small to show up on the histogram clearly. 966 967