aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-05-02 19:06:22 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-05-02 20:17:14 +0300
commitc43c0823c738a405bbe56a6769ce781b7d2d97f6 (patch)
tree289bb5b80e7db4c9cbd03677fa871938f79ffebf /gnu
parent0bc5a32a2da8f05e55fc9d8db82ebf776fd17c2a (diff)
downloadpatches-c43c0823c738a405bbe56a6769ce781b7d2d97f6.tar
patches-c43c0823c738a405bbe56a6769ce781b7d2d97f6.tar.gz
gnu: Add emacs-benchmark-init.
* gnu/packages/emacs.scm (emacs-benchmark-init): New public variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index c68e6bc221..b07d87e877 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -9394,3 +9394,23 @@ and doesn't require memorisation of commands.
requested. It's a great way of exploring list, string and arithmetic
functions.")
(license license:gpl3+)))
+
+(define-public emacs-benchmark-init
+ (package
+ (name "emacs-benchmark-init")
+ (version "1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/dholm/benchmark-init-el/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0szyqr4nncwz4vd5gww1vz31kf9r2lx25p4d0d09pm35974x53kz"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/dholm/benchmark-init-el")
+ (synopsis "Benchmark Emacs @code{require} and @code{load} calls")
+ (description "@code{benchmark-init} provides a way to keep track of where
+time is being spent during Emacs startup in order to optimize startup time.")
+ (license license:gpl3+)))