[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs f9c2eada4c 390/472: Move measure-time function to
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs f9c2eada4c 390/472: Move measure-time function to pacmacs-rr module |
Date: |
Thu, 6 Jan 2022 21:59:42 -0500 (EST) |
branch: elpa/pacmacs
commit f9c2eada4c13550539de4257ec2d6c0935d2f6cf
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Move measure-time function to pacmacs-rr module
It is used only there
---
pacmacs-utils.el | 6 ------
tools/pacmacs-rr.el | 6 ++++++
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/pacmacs-utils.el b/pacmacs-utils.el
index c52b8f0185..2b805230d2 100644
--- a/pacmacs-utils.el
+++ b/pacmacs-utils.el
@@ -76,12 +76,6 @@ side-effects."
(when (string-match "\\(map[0-9]+\\)\\.txt" filename)
(match-string 1 filename)))
-(defmacro pacmacs--measure-time (&rest body)
- "Measure the time it takes to evaluate BODY."
- `(let ((time (current-time)))
- ,@body
- (float-time (time-since time))))
-
(provide 'pacmacs-utils)
;;; pacmacs.el ends here
diff --git a/tools/pacmacs-rr.el b/tools/pacmacs-rr.el
index b85b0b3a78..c06d7db494 100644
--- a/tools/pacmacs-rr.el
+++ b/tools/pacmacs-rr.el
@@ -44,6 +44,12 @@
(defvar pacmacs--tick-times nil)
(defvar pacmacs-replay-finished-hook nil)
+(defmacro pacmacs--measure-time (&rest body)
+ "Measure the time it takes to evaluate BODY."
+ `(let ((time (current-time)))
+ ,@body
+ (float-time (time-since time))))
+
(defun pacmacs--record-action (action-name)
(push (cons action-name pacmacs--tick-counter)
pacmacs--recorded-actions))
- [nongnu] elpa/pacmacs 9cb0cbab39 352/472: Merge pull request #172 from codingteam/unterrified-original-possition-171, (continued)
- [nongnu] elpa/pacmacs 9cb0cbab39 352/472: Merge pull request #172 from codingteam/unterrified-original-possition-171, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 61c37f08b1 355/472: Update URL in the headers (#178), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs fad3786449 361/472: Use push instead of add-to-list (#173), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 6a91d72f35 359/472: terrify-ghost instead of reset-terrified-ghost, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs f7f962303b 371/472: Use background for start gradient color (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs c7a3a4cbac 388/472: Merge pull request #184 from codingteam/update-readme-179, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ecf71a3f49 378/472: Rename put-bits-dot to put-wall-tile-corner (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d7c9d248e6 385/472: Pass wall bits to create-wall-tile as list (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 66cdd67cbb 387/472: Merge pull request #186 from codingteam/prettier-walls-138, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 365bfaee8e 386/472: Fix create-wall-tile UT (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs f9c2eada4c 390/472: Move measure-time function to pacmacs-rr module,
ELPA Syncer <=
- [nongnu] elpa/pacmacs e037903a5b 401/472: Switch to game over mode on game over state (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 54af862690 403/472: Add position-of-new-score function (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 389db1a10b 412/472: Remove pacmacs-game-over-state-rendered var (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e59d6bda5a 430/472: Add pacmacs-levels-folder custom (#191), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs fc06a12e07 441/472: Merge pull request #204 from codingteam/bug/game-over-tiles-soft-wrap-201, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 447882d2ef 439/472: Quit Game Over state with q key (#202), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5317f7c51d 457/472: pacmacs-score is dead, long live pacmacs-score!, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs cb2ff0b438 459/472: Refactor board rendering functions (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d47f57fa86 463/472: Rename image module to walls module, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 25a8c30210 472/472: Merge pull request #226 from skangas/bump-version, ELPA Syncer, 2022/01/06