summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/benchmark.el
diff options
context:
space:
mode:
authorYuuki Harano <masm+github@masm11.me>2021-03-14 23:24:49 +0900
committerYuuki Harano <masm+github@masm11.me>2021-03-14 23:24:49 +0900
commit7a7bc15242896b20c7af49f77f0e22c3d78e4d88 (patch)
tree1931644be0ecdfe850975a98d8a665ea1734e49b /lisp/emacs-lisp/benchmark.el
parent56297c0f426314dde66614a5c4e459c285af939a (diff)
parentf9b737fb9d21ac7adff403274167e76e77d033b8 (diff)
downloademacs-7a7bc15242896b20c7af49f77f0e22c3d78e4d88.tar.gz
emacs-7a7bc15242896b20c7af49f77f0e22c3d78e4d88.tar.bz2
emacs-7a7bc15242896b20c7af49f77f0e22c3d78e4d88.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into feature/pgtk
Diffstat (limited to 'lisp/emacs-lisp/benchmark.el')
-rw-r--r--lisp/emacs-lisp/benchmark.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/benchmark.el b/lisp/emacs-lisp/benchmark.el
index 14bc2817390..2a3efbe5a1b 100644
--- a/lisp/emacs-lisp/benchmark.el
+++ b/lisp/emacs-lisp/benchmark.el
@@ -62,7 +62,8 @@ See also `benchmark-run-compiled'."
;; Take account of the loop overhead.
`(- (benchmark-elapse (dotimes (,i ,repetitions)
,@forms))
- (benchmark-elapse (dotimes (,i ,repetitions))))
+ (benchmark-elapse (dotimes (,i ,repetitions)
+ nil)))
`(benchmark-elapse ,@forms))
(- gcs-done ,gcs)
(- gc-elapsed ,gc)))))