View Single Post
  #18  
Old 12-14-2015, 02:50
Storm Shadow's Avatar
Storm Shadow Storm Shadow is offline
Family
 
Join Date: Jun 2014
Posts: 281
Rept. Given: 186
Rept. Rcvd 191 Times in 78 Posts
Thanks Given: 138
Thanks Rcvd at 245 Times in 97 Posts
Storm Shadow Reputation: 100-199 Storm Shadow Reputation: 100-199
New build

Added
Code:
# Zoom in Ctrl+Shift+ + #
# Zoom Out Ctrl+Shift+ - #
# Profile Code Ctrl+Shift+ E #
profiling example of app itself, so see if any code takes to long or runs in a loop

Code:
  173 function calls in 0.025 seconds
 
   Ordered by: standard name
 
   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1   0.000   0.000   0.000   0.000 <string>:282(retranslateUi)
        1   0.008   0.008   0.025   0.025 <string>:4(<module>)
        2   0.000   0.000   0.000   0.000 <string>:71(_translate)
        1   0.000   0.000   0.000   0.000 <string>:77(Ui_MainWindow)
        1   0.001   0.001   0.008   0.008 <string>:78(setupUi)
        1   0.000   0.000   0.000   0.000 idaapi.py:27414(idadir)
        4   0.000   0.000   0.003   0.001 init.py:30(write)
        1   0.000   0.000   0.000   0.000 {_idaapi.idadir}
        4   0.003   0.001   0.003   0.001 {_idaapi.msg}
        2   0.000   0.000   0.000   0.000 {built-in method SendScintilla}
       18   0.000   0.000   0.000   0.000 {built-in method addAction}
        1   0.000   0.000   0.000   0.000 {built-in method addPixmap}
       18   0.000   0.000   0.000   0.000 {built-in method addSeparator}
        1   0.000   0.000   0.000   0.000 {built-in method addToolBar}
        1   0.000   0.000   0.000   0.000 {built-in method addWidget}
        1   0.000   0.000   0.000   0.000 {built-in method exec_}
        3   0.005   0.002   0.005   0.002 {built-in method load}
        1   0.000   0.000   0.000   0.000 {built-in method prepare}
        2   0.002   0.001   0.002   0.001 {built-in method resize}
        1   0.000   0.000   0.000   0.000 {built-in method setAutoCompletionSource}
        3   0.000   0.000   0.000   0.000 {built-in method setAutoCompletionThreshold}
        2   0.000   0.000   0.000   0.000 {built-in method setAutoFillBackground}
        1   0.000   0.000   0.000   0.000 {built-in method setAutoIndent}
        1   0.000   0.000   0.000   0.000 {built-in method setBraceMatching}
        1   0.000   0.000   0.000   0.000 {built-in method setCentralWidget}
        1   0.000   0.000   0.000   0.000 {built-in method setDefaultFont}
        1   0.000   0.000   0.000   0.000 {built-in method setEolFill}
        1   0.000   0.000   0.000   0.000 {built-in method setFamily}
        1   0.000   0.000   0.000   0.000 {built-in method setFixedPitch}
        1   0.000   0.000   0.000   0.000 {built-in method setFont}
        1   0.000   0.000   0.000   0.000 {built-in method setFrameShape}
        1   0.000   0.000   0.000   0.000 {built-in method setIconSize}
        1   0.000   0.000   0.000   0.000 {built-in method setLexer}
        1   0.000   0.000   0.000   0.000 {built-in method setMarginWidth}
        1   0.000   0.000   0.000   0.000 {built-in method setMarginsFont}
        1   0.000   0.000   0.000   0.000 {built-in method setMargin}
        5   0.000   0.000   0.000   0.000 {built-in method setObjectName}
        1   0.000   0.000   0.000   0.000 {built-in method setPointSize}
       18   0.000   0.000   0.000   0.000 {built-in method setShortcut}
        1   0.000   0.000   0.000   0.000 {built-in method setSpacing}
       18   0.000   0.000   0.000   0.000 {built-in method setStatusTip}
        1   0.000   0.000   0.000   0.000 {built-in method setStyleSheet}
        1   0.000   0.000   0.000   0.000 {built-in method setTabWidth}
        1   0.000   0.000   0.000   0.000 {built-in method setToolButtonStyle}
        1   0.000   0.000   0.000   0.000 {built-in method setToolTip}
        1   0.000   0.000   0.000   0.000 {built-in method setWhatsThis}
        1   0.000   0.000   0.000   0.000 {built-in method setWindowIcon}
        2   0.000   0.000   0.000   0.000 {built-in method setWindowTitle}
        1   0.005   0.005   0.005   0.005 {built-in method show}
        1   0.000   0.000   0.000   0.000 {built-in method width}
        1   0.000   0.000   0.000   0.000 {connectSlotsByName}
        9   0.000   0.000   0.000   0.000 {fromUtf8}
        1   0.000   0.000   0.000   0.000 {instance}
       18   0.000   0.000   0.000   0.000 {method 'connect' of 'PyQt4.QtCore.pyqtBoundSignal' objects}
        1   0.000   0.000   0.000   0.000 {method 'disable' of '_lsprof.Profiler' objects}
        2   0.000   0.000   0.000   0.000 {method 'insert' of 'list' objects}
        1   0.000   0.000   0.000   0.000 {nt.chdir}
        1   0.000   0.000   0.000   0.000 {nt.getcwd}
        2   0.000   0.000   0.000   0.000 {translate}
__________________
The devil whispered in my ear, "you're not strong enough to withstand the storm."

Today I whispered in the devils ear, "I am the storm."
Reply With Quote
The Following 2 Users Say Thank You to Storm Shadow For This Useful Post:
Indigo (07-19-2019), tonyweb (10-29-2016)