Advertisement
kopyl

Untitled

Feb 23rd, 2021
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.65 KB | None | 0 0
  1.  
  2. Line #    Mem usage    Increment  Occurences   Line Contents
  3. ============================================================
  4.    115     66.5 MiB     66.5 MiB           1   @profile
  5.    116                                         def get_amount_jobs_applied_total_2() -> int:
  6.    117    137.4 MiB     70.9 MiB           1       all_jobs = read_json_file("all_design_jobs")
  7.    118    137.4 MiB      0.0 MiB           2       amount_jobs_applied_total = len(
  8.    119    137.4 MiB      0.0 MiB        1474           [
  9.    120    137.4 MiB      0.0 MiB        2340               job["has_applied"] for job in all_jobs["jobs"]
  10.    121    137.4 MiB      0.0 MiB        1470               if job["has_applied"]
  11.    122                                                 ]
  12.    123                                             )
  13.    124    137.4 MiB      0.0 MiB           1       return amount_jobs_applied_total
  14.  
  15. Line #    Mem usage    Increment  Occurences   Line Contents
  16. ============================================================
  17.    115    133.9 MiB    133.9 MiB           1   @profile
  18.    116                                         def get_amount_jobs_applied_total_2() -> int:
  19.    117    140.7 MiB      6.8 MiB           1       all_jobs = read_json_file("all_design_jobs")
  20.    118    140.7 MiB      0.0 MiB           2       amount_jobs_applied_total = len(
  21.    119    140.7 MiB      0.0 MiB        1474           [
  22.    120    140.7 MiB      0.0 MiB        2340               job["has_applied"] for job in all_jobs["jobs"]
  23.    121    140.7 MiB      0.0 MiB        1470               if job["has_applied"]
  24.    122                                                 ]
  25.    123                                             )
  26.    124    140.7 MiB      0.0 MiB           1       return amount_jobs_applied_total
  27.  
  28. Line #    Mem usage    Increment  Occurences   Line Contents
  29. ============================================================
  30.    115    137.9 MiB    137.9 MiB           1   @profile
  31.    116                                         def get_amount_jobs_applied_total_2() -> int:
  32.    117    141.3 MiB      3.4 MiB           1       all_jobs = read_json_file("all_design_jobs")
  33.    118    141.3 MiB      0.0 MiB           2       amount_jobs_applied_total = len(
  34.    119    141.3 MiB      0.0 MiB        1474           [
  35.    120    141.3 MiB      0.0 MiB        2340               job["has_applied"] for job in all_jobs["jobs"]
  36.    121    141.3 MiB      0.0 MiB        1470               if job["has_applied"]
  37.    122                                                 ]
  38.    123                                             )
  39.    124    141.3 MiB      0.0 MiB           1       return amount_jobs_applied_total
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement