Skip to content

%15 performance increase & remove show-error flag #155 #150#159

Merged
hakancelikdev merged 1 commit into
masterfrom
i150-2
Dec 20, 2020
Merged

%15 performance increase & remove show-error flag #155 #150#159
hakancelikdev merged 1 commit into
masterfrom
i150-2

Conversation

@hakancelikdev
Copy link
Copy Markdown
Owner

@hakancelikdev hakancelikdev commented Dec 20, 2020

PR; #155

ISSUE; #150

74099703 function calls (66262458 primitive calls) in 19.979 seconds

   Ordered by: internal time
   List reduced from 1867 to 10 due to restriction <10>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
3428575/2876    3.579    0.000   12.281    0.004 /usr/lib/python3.8/ast.py:365(generic_visit)
 14623557    2.612    0.000    3.532    0.000 /usr/lib/python3.8/ast.py:202(iter_fields)
  4076011    1.685    0.000    3.340    0.000 /usr/lib/python3.8/ast.py:214(iter_child_nodes)
 12945709    1.632    0.000    1.632    0.000 {built-in method builtins.getattr}
3496521/2876    1.586    0.000   12.285    0.004 /usr/lib/python3.8/ast.py:359(visit)
19365629/19360001    1.470    0.000    1.472    0.000 {built-in method builtins.isinstance}
     5091    1.318    0.000    1.318    0.000 {built-in method builtins.compile}
  1261337    0.561    0.000    2.956    0.000 /usr/lib/python3.8/ast.py:325(walk)
     4635    0.437    0.000    4.010    0.001 /home/hakan/Desktop/unimport/unimport/relate.py:7(relate)
640019/52745    0.410    0.000    9.764    0.000 /home/hakan/Desktop/unimport/unimport/scan.py:19(wrapper)

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 20, 2020

Codecov Report

Merging #159 (6dceb4e) into master (105e7c4) will increase coverage by 0.09%.
The diff coverage is 93.93%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #159      +/-   ##
==========================================
+ Coverage   96.76%   96.86%   +0.09%     
==========================================
  Files           8        8              
  Lines         650      637      -13     
==========================================
- Hits          629      617      -12     
+ Misses         21       20       -1     
Impacted Files Coverage Δ
unimport/config.py 100.00% <ø> (ø)
unimport/scan.py 99.32% <93.93%> (+0.29%) ⬆️

@hakancelikdev hakancelikdev linked an issue Dec 20, 2020 that may be closed by this pull request
@hakancelikdev hakancelikdev merged commit f5d3d3d into master Dec 20, 2020
@hakancelikdev hakancelikdev deleted the i150-2 branch December 20, 2020 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance regression

1 participant