emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/elisp-benchmarks 25c70d87f8: * benchmarks/elb-bytecomp.


From: Stefan Monnier
Subject: [elpa] externals/elisp-benchmarks 25c70d87f8: * benchmarks/elb-bytecomp.el: New benchmark
Date: Tue, 8 Feb 2022 09:58:28 -0500 (EST)

branch: externals/elisp-benchmarks
commit 25c70d87f82c377e765f5e7353e94d5b5b7bdf5b
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * benchmarks/elb-bytecomp.el: New benchmark
---
 benchmarks/elb-bytecomp.el | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/benchmarks/elb-bytecomp.el b/benchmarks/elb-bytecomp.el
new file mode 100644
index 0000000000..72fac3681a
--- /dev/null
+++ b/benchmarks/elb-bytecomp.el
@@ -0,0 +1,32 @@
+;;; elb-bytecomp.el --- Benchmark the byte compiler  -*- lexical-binding: t; 
-*-
+
+;; Copyright (C) 2022  Free Software Foundation, Inc.
+
+;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
+;; Keywords:
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;
+
+;;; Code:
+
+(defun elb-bytecomp-entry ()
+  (dotimes (_ 30)
+    (byte-compile-file (expand-file-name "elb-smie.el" elb-bench-directory))))
+
+(provide 'elb-bytecomp)
+;;; elb-bytecomp.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]