[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 9f39f5c 095/271: More benchmark improvements.
From: |
Jackson Ray Hamilton |
Subject: |
[elpa] master 9f39f5c 095/271: More benchmark improvements. |
Date: |
Thu, 05 Feb 2015 18:30:08 +0000 |
branch: master
commit 9f39f5cd675a984d91c6b1c4b9ed692bede18c26
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>
More benchmark improvements.
---
Makefile | 7 ++++---
benchmark/context-coloring-benchmark.el | 11 ++++++-----
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index 656a035..58aac73 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
all: clean install compile test
+bench: benchjs benchel
+
benchjs:
node_modules/.bin/matcha
@@ -13,8 +15,7 @@ compile:
emacs -Q -batch -f batch-byte-compile *.el
clean:
- rm -rf node_modules
- rm *.elc
+ rm -f *.log benchmark/*.log *.elc
install:
npm install
@@ -27,4 +28,4 @@ test:
-l test/context-coloring-test.el \
-f ert-run-tests-batch-and-exit
-.PHONY: all benchjs benchel compile clean install test
+.PHONY: all bench benchjs benchel compile clean install test
diff --git a/benchmark/context-coloring-benchmark.el
b/benchmark/context-coloring-benchmark.el
index 5476847..e7b5b8b 100644
--- a/benchmark/context-coloring-benchmark.el
+++ b/benchmark/context-coloring-benchmark.el
@@ -15,7 +15,9 @@
(defun context-coloring-benchmark-run ()
(context-coloring-benchmark-setup)
- (let ((result-file (context-coloring-benchmark-resolve-path (concat
"./results.log"))))
+
+ (let ((result-file (context-coloring-benchmark-resolve-path
+ (concat "./results-" (format-time-string "%s") ".log"))))
(dolist (path '("./fixtures/jquery-2.1.1.js"
"./fixtures/lodash-2.4.1.js"
@@ -40,8 +42,7 @@
(insert "\n")
(append-to-buffer results-buffer (point-min) (point-max))))
- (append-to-file nil nil result-file)))
-
- (find-file result-file))
+ (append-to-file nil nil result-file))))
- (context-coloring-benchmark-teardown))
+ (context-coloring-benchmark-teardown)
+ (kill-emacs))
- [elpa] master 426a7cd 083/271: Fix regression where existent definitions were missed., (continued)
- [elpa] master 426a7cd 083/271: Fix regression where existent definitions were missed., Jackson Ray Hamilton, 2015/02/05
- [elpa] master f8120d4 092/271: Update scenarios. Update readme., Jackson Ray Hamilton, 2015/02/05
- [elpa] master f50880d 091/271: Update header., Jackson Ray Hamilton, 2015/02/05
- [elpa] master a0139c3 087/271: Cleanup Makefile., Jackson Ray Hamilton, 2015/02/05
- [elpa] master f3e4d7b 094/271: Improve benchmarks., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 9ad5fb2 097/271: Update benchmark times., Jackson Ray Hamilton, 2015/02/05
- [elpa] master ab13a16 093/271: Add back optional timer. Improve docs., Jackson Ray Hamilton, 2015/02/05
- [elpa] master a321d8b 096/271: Update screenshot., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c8a1710 100/271: Add message about needing Node.js., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 53cf944 099/271: Remove make from instructions., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 9f39f5c 095/271: More benchmark improvements.,
Jackson Ray Hamilton <=
- [elpa] master c7d1adf 103/271: Refactor Makefile., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 3cd5c31 101/271: Typos., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 46f0986 105/271: Update readme., Jackson Ray Hamilton, 2015/02/05
- [elpa] master ab083f4 102/271: Simplify package.json., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 1c47db9 107/271: Fix link., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 0960e18 106/271: Spelling., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 79513b2 109/271: Remove styling from faces., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c6ea2eb 116/271: Add degree sign., Jackson Ray Hamilton, 2015/02/05
- [elpa] master d430804 108/271: Add tty faces., Jackson Ray Hamilton, 2015/02/05
- [elpa] master d339677 113/271: Strip BOM., Jackson Ray Hamilton, 2015/02/05