Function: chart-emacs-lists
chart-emacs-lists is an interactive and byte-compiled function defined
in chart.el.gz.
Signature
(chart-emacs-lists)
Documentation
Chart out the size of various important lists.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/chart.el.gz
(defun chart-emacs-lists ()
"Chart out the size of various important lists."
(interactive)
(let* ((names '("buffers" "frames" "processes" "faces"))
(nums (list (length (buffer-list))
(length (frame-list))
(length (process-list))
(length (face-list))
)))
(if (fboundp 'x-display-list)
(setq names (append names '("x-displays"))
nums (append nums (list (length (x-display-list))))))
;; Let's create the chart!
(chart-bar-quickie 'vertical "Emacs List Size Chart"
names "Various Lists"
nums "Objects")))