Skip to content

Instantly share code, notes, and snippets.

@Chris2048
Created January 19, 2011 18:52
Show Gist options
  • Save Chris2048/786631 to your computer and use it in GitHub Desktop.
Save Chris2048/786631 to your computer and use it in GitHub Desktop.
(require 'benchmark)
(defun my-require (feat)
(if (featurep feat)
(message "erraneous usage: '%s'" feat)
(message "'%s' loaded in %.2fs" feat
(benchmark-elapse (load-library (symbol-name feat))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment