Guest User

json_generator_yappi

a guest
Jun 26th, 2019
95
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Clock type: CPU
  2. Ordered by: totaltime, desc
  3.  
  4. name                                  ncall  tsub      ttot      tavg
  5. ../lib/python3.6/pprint.py:47 pprint  2      0.000053  5.101781  2.550890
  6. ..pprint.py:138 PrettyPrinter.pprint  2      0.000061  5.101694  2.550847
  7. ..print.py:154 PrettyPrinter._format  101..  0.232189  5.101595  0.000501
  8. ...py:180 PrettyPrinter._pprint_dict  148..  0.046521  4.193137  0.002833
  9. ..3 PrettyPrinter._format_dict_items  148..  0.148654  4.181743  0.002826
  10. ...py:207 PrettyPrinter._pprint_list  999/2  0.016468  4.117277  0.004121
  11. ..py:350 PrettyPrinter._format_items  999/2  0.085771  4.117214  0.004121
  12. ..nerator.py:226 convert_to_notebook  1      0.001551  3.660850  3.660850
  13. ../pprint.py:391 PrettyPrinter._repr  15608  0.192822  3.468417  0.000222
  14. ..pprint.py:400 PrettyPrinter.format  15608  0.119992  3.212232  0.000206
  15. ..python3.6/pprint.py:490 _safe_repr  931..  1.526117  3.092240  0.000033
  16. ..ython3.6/json/__init__.py:120 dump  1      0.122612  0.919715  0.919715
  17. ...6/json/encoder.py:412 _iterencode  19093  0.114459  0.735462  0.000039
  18. ..on/encoder.py:333 _iterencode_dict  488..  0.323721  0.620981  0.000013
  19. ..t.py:244 PrettyPrinter._pprint_str  1020   0.274886  0.571969  0.000561
  20. ..python3.6/pprint.py:94 _safe_tuple  30235  0.344988  0.546072  0.000018
  21. ..on/encoder.py:277 _iterencode_list  297..  0.197764  0.506216  0.000017
  22. ...6/pprint.py:84 _safe_key.__init__  60470  0.201084  0.201084  0.000003
  23. ..n3.6/pprint.py:87 _safe_key.__lt__  32160  0.110420  0.110420  0.000003
  24. ..enerator.py:60 parse_example_parts  57     0.042571  0.102604  0.001800
  25. .._generator.py:173 convert_to_cells  112    0.005224  0.049814  0.000445
  26. ..62 inspect_and_sanitize_code_lines  278    0.012400  0.042644  0.000153
  27. ..nv/lib/python3.6/re.py:214 findall  1020   0.012377  0.033144  0.000032
  28. ..tor.py:53 is_interactive_statement  992    0.013246  0.022174  0.000022
  29. ..rator.py:155 remove_from_beginning  717    0.012450  0.022160  0.000031
  30. ..v/lib/python3.6/re.py:286 _compile  1020   0.005286  0.006510  0.000006
  31. ..thon3.6/sre_compile.py:557 compile  1      0.000041  0.001123  0.001123
  32. ..enerator.py:31 generate_code_block  278    0.001072  0.001072  0.000004
  33. ..ator.py:43 generate_markdown_block  259    0.001029  0.001029  0.000004
  34. ..b/python3.6/sre_parse.py:844 parse  1      0.000032  0.000547  0.000547
  35. ..python3.6/sre_compile.py:542 _code  1      0.000026  0.000500  0.000500
  36. ..s.py:318 IncrementalDecoder.decode  13     0.000165  0.000488  0.000038
  37. ..hon3.6/sre_parse.py:407 _parse_sub  1      0.000037  0.000478  0.000478
  38. ../python3.6/sre_parse.py:470 _parse  1      0.000138  0.000423  0.000423
  39. ..thon3.6/sre_compile.py:64 _compile  3/1    0.000122  0.000389  0.000130
  40. ..arse.py:163 SubPattern.__getitem__  12     0.000084  0.000125  0.000010
  41. ..re_compile.py:223 _compile_charset  2      0.000039  0.000122  0.000061
  42. ..n3.6/enum.py:801 RegexFlag.__and__  2      0.000032  0.000084  0.000042
  43. ..6/sre_compile.py:482 _compile_info  1      0.000017  0.000082  0.000082
  44. ..e_parse.py:173 SubPattern.getwidth  5/3    0.000046  0.000067  0.000013
  45. ..e_compile.py:250 _optimize_charset  2      0.000041  0.000065  0.000032
  46. ..re_parse.py:159 SubPattern.__len__  6      0.000044  0.000061  0.000010
  47. ..3.6/sre_parse.py:253 Tokenizer.get  4      0.000030  0.000057  0.000014
  48. ..oder.py:204 JSONEncoder.iterencode  1      0.000046  0.000053  0.000053
  49. ..thon3.6/sre_compile.py:388 _simple  2      0.000023  0.000045  0.000022
  50. ..lib/python3.6/enum.py:265 __call__  4      0.000028  0.000044  0.000011
  51. ..print.py:99 PrettyPrinter.__init__  2      0.000034  0.000034  0.000017
  52. ../sre_parse.py:232 Tokenizer.__next  5      0.000032  0.000032  0.000006
  53. ...6/sre_parse.py:285 Tokenizer.tell  3      0.000021  0.000028  0.000009
  54. ..tlocale.py:23 getpreferredencoding  1      0.000016  0.000023  0.000023
  55. ..re_parse.py:223 Tokenizer.__init__  1      0.000014  0.000022  0.000022
  56. ..python3.6/sre_parse.py:342 _escape  2      0.000013  0.000019  0.000009
  57. ..hon3.6/sre_compile.py:539 isstring  2      0.000012  0.000018  0.000009
  58. ..3.6/sre_parse.py:81 Pattern.groups  2      0.000012  0.000018  0.000009
  59. ..sre_parse.py:171 SubPattern.append  2      0.000014  0.000018  0.000009
  60. ../lib/python3.6/enum.py:515 __new__  4      0.000016  0.000016  0.000004
  61. ..py:308 IncrementalDecoder.__init__  1      0.000011  0.000015  0.000015
  62. ..e_parse.py:111 SubPattern.__init__  3      0.000011  0.000011  0.000004
  63. ..thon3.6/sre_parse.py:828 fix_flags  1      0.000006  0.000010  0.000010
  64. ..py:185 IncrementalEncoder.__init__  2      0.000009  0.000009  0.000005
  65. ..6/sre_parse.py:248 Tokenizer.match  3      0.000009  0.000009  0.000003
  66. ..arse.py:167 SubPattern.__setitem__  2      0.000007  0.000007  0.000003
  67. ..on/encoder.py:259 _make_iterencode  1      0.000007  0.000007  0.000007
  68. ..6/sre_parse.py:76 Pattern.__init__  1      0.000005  0.000005  0.000005
  69. ..py:259 IncrementalDecoder.__init__  1      0.000004  0.000004  0.000004
RAW Paste Data