Function: profiler-report-compare-profile

profiler-report-compare-profile is an interactive and byte-compiled function defined in profiler.el.gz.

Signature

(profiler-report-compare-profile BUFFER)

Documentation

Compare the current profile with another.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/profiler.el.gz
(defun profiler-report-compare-profile (buffer)
  "Compare the current profile with another."
  (interactive (list (read-buffer "Compare to: ")))
  (let* ((profile1 (with-current-buffer buffer profiler-report-profile))
	 (profile2 profiler-report-profile)
	 (diff-profile (profiler-compare-profiles profile1 profile2)))
    (profiler-report-profile diff-profile)))