1. 11 Oct, 2018 1 commit
  2. 30 Sep, 2018 4 commits
    • Ell's avatar
      tools: in performance-log-viewer.py, add annotated source view · c6f11967
      Ell authored
      Add an annotated source view to the performance-log viewer's
      profile view.  When selecting the [Self] entry of a function's
      profile, for which source information is available and whose source
      is found locally, a new column opens, showing the function's
      source, annotated with sample statistics.  Header-bar buttons allow
      navigation through the annotated lines, selection of all the
      samples corresponding to a given line, and opening the text editor
      at the current line.
      
      (cherry picked from commit 88438c50)
      c6f11967
    • Ell's avatar
      tools: in performance-log-view.py, don't change call-graph path ... · 8624f307
      Ell authored
      ... when selecting a function's samples
      
      Since we now preserve the call-graph path across state changes,
      there's no need to explictly set the path after selecting a
      function's samples in the profile view.
      
      (cherry picked from commit b672f200)
      8624f307
    • Ell's avatar
      tools: in performance-log-viewer.py, cache source file lookups · 43584300
      Ell authored
      In the performance-log viewer, cache the results of source-file
      lookups, to speed up future lookups.
      
      (cherry picked from commit 97498017)
      43584300
    • Ell's avatar
      tools: in performance-log-viewer.py, allow viewing source files ... · 33269cc8
      Ell authored
      ... in backtraces
      
      In the performance-log viewer's backtrace viewer, show a document
      icon next to stack frames with source-location information, whose
      source file is found locally.  Clicking the icon opens the source
      file in a text editor at the relevant line.
      
      Two environment variables control this feature:
      
        - PERFORMANCE_LOG_VIEWER_PATH is a list of colon-separated
          directories in which to look for source files.  If this
          variable is undefined, the current directory is used.
      
        - PERFORMANCE_LOG_VIEWER_EDITOR is the command to use to launch
          the text editor, for editing a specific file at a specific
          line.  The special strings "{file}" and "{line}" are replaced
          with the filename and line-number, respectively.  If this
          variable is undefined, "xdg-open {file}" is used.
      
      (cherry picked from commit 0f387092)
      33269cc8
  3. 29 Sep, 2018 2 commits
  4. 28 Sep, 2018 1 commit
  5. 27 Sep, 2018 1 commit
    • Ell's avatar
      tools: various improvements in gimp-performance-log-viewer.py · 6bc2b330
      Ell authored
      Fix int-ratio variable formatting when the input is NaN, which can
      happen when calculating the standard deviation, if all the values
      are infinite.
      
      Fix keyboard sample-range selection.
      
      Deselect all samples when right-clicking a sample graph.
      
      (cherry picked from commit d33fb0e7)
      6bc2b330
  6. 23 Sep, 2018 4 commits
  7. 21 Sep, 2018 3 commits
  8. 16 Sep, 2018 2 commits
    • Ell's avatar
      tools: in performance-log-viewer.py, fix profile viewer search column · 3d24dfbc
      Ell authored
      (cherry picked from commit f8dd444e)
      3d24dfbc
    • Ell's avatar
      tools: add performance-log-viewer.py and driver · cc18c2f8
      Ell authored
      performance-log-viewer.py is a viewer for GIMP performance logs.
      The viewer is made up of two parts: a sample-selection area at the
      top, and an information area at the bottom.
      
      The sample-selection area visualizes the sampled variables and
      markers using a simultaneous set of plots, and displays the
      currently selected samples.  Samples can be selected directly
      through the sample-selection area, or by other means, such as
      searching for all samples satisfying a certain condition, or
      containing a certain function.
      
      The information area shows global information stored in the log, as
      well as information specific to the currently selected samples,
      including variable listing and statistics, full backtrace, and
      profile/call-graph information.
      
      Note that performance-log-viewer.py takes its input from STDIN,
      like the rest of the performance-log tools, and is therefore
      suitable for use as part of a pipeline.  For standalone use, the
      performance-log-viewer driver is also included, which takes the log
      file as a command-line argument, and processes it through an
      appropriate pipeline before feeding it to the viewer.
      
      (cherry picked from commit 3601c918)
      cc18c2f8