branch: externals/elisp-benchmarks commit 18eb211da6ddd2f904f3e42364192490d26ec4ff Author: Andrea Corallo <a...@sdf.org> Commit: Andrea Corallo <a...@sdf.org>
* Rename comp-speed -> native-comp-speed + bump new version * elisp-benchmarks.el (featurep, elb-speed) (elisp-benchmarks-run): Rename comp-speed -> native-comp-speed. --- elisp-benchmarks.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/elisp-benchmarks.el b/elisp-benchmarks.el index 57e779b..ad79247 100644 --- a/elisp-benchmarks.el +++ b/elisp-benchmarks.el @@ -4,7 +4,7 @@ ;; Author: Andrea Corallo <a...@sdf.org> ;; Maintainer: Andrea Corallo <a...@sdf.org> -;; Version: 1.11 +;; Version: 1.12 ;; Keywords: languages, lisp ;; Package-Type: multi ;; Created: 2019-01-12 @@ -48,7 +48,7 @@ (require 'org) (if (featurep 'native-compile) (require 'comp) - (defvar comp-speed)) + (defvar native-comp-speed)) (defgroup elb nil "Emacs Lisp benchmarks." @@ -60,7 +60,7 @@ :group 'elb) (defcustom elb-speed 3 - "Default `comp-speed' to be used for native compiling the benchmarks." + "Default `native-comp-speed' to be used for native compiling the benchmarks." :type 'number :group 'elb) @@ -91,7 +91,7 @@ RECOMPILE all the benchmark folder when non nil." (interactive (when current-prefix-arg (list (read-regexp "Run benchmark matching: ")))) - (let* ((comp-speed elb-speed) + (let* ((native-comp-speed elb-speed) (compile-function (if (fboundp 'native-compile) #'native-compile #'byte-compile-file))