   "Scan current buffer for all namespaces.
 Store in result `outre-list'."
   (interactive)
-  (setq outre-list (outre--scan-all-ns)))
+  (let ((start (current-time)))
+    (setq outre-list (outre--scan-all-ns))
+    (message "It took %.3f to scan buffer's namespaces"
+             (float-time (time-subtract (current-time) start)))))
 
 ;;;###autoload
 (defun outre-goto-namespace-next ()


(defun outre--find-enclosing-ns ()
  "Return the namespace around point, if any."
  (let* ((pt (point))
         (beg (outre--find-ns-previous))
         (ns (and beg (outre-parse-namespace beg))))
    (and ns (outre--get-distance-from-begin pt ns) ns)))

(defun outre-jump-to-ns (ns)
  "Jump to the beginning of namespace NAME."

;; Author: Dan Harms <danielrharms@gmail.com>
;; Created: Wednesday, June  1, 2016
;; Version: 1.0
;; Modified Time-stamp: <2016-06-16 07:52:53 dharms>
;; Modified by: Dan Harms
;; Keywords: c++ namespace

