| Server IP : 217.160.0.135 / Your IP : 216.73.217.37 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/emacs-lisp/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. #@78 Return the time in seconds elapsed for execution of FORMS. (fn &rest FORMS) (defalias 'benchmark-elapse '(macro . #[128 "\300\301!\302\303BC\304\305\306DDC\"BB\207" [make-symbol "t1" let ((current-time)) append float-time time-since] 9 (#$ . 84)])) (byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put benchmark-elapse lisp-indent-function 0 put edebug-form-spec t] 5) #@530 Measure the run time of calling FUNC a number REPETITIONS of times. The result is a list (TIME GC GCTIME) where TIME is the total time it took, in seconds. GCTIME is the amount of time that was spent in the GC and GC is the number of times the GC was called. REPETITIONS can also be a floating point number, in which case it specifies a minimum number of seconds that the benchmark execution should take. In that case the return value is prepended with the number of repetitions actually used. (fn FUNC &optional REPETITIONS) (defalias 'benchmark-call #[513 "\302!\203 \303\"\207\211\204 \304\262 \305\304V\203\\ \306 \307\211W\2032 \310 \266\211T\262\202 \210\311\312!!\262\306 \307\211W\203P \310 \266\211T\262\202= \210\311\312!!\262Z\202u \306 \210\311\312!!\262\306 \210\311\312!!\262Z ZZE\207" [gc-elapsed gcs-done floatp benchmark--adaptive 1 #[0 "\300\207" [empty-func] 1] current-time 0 nil float-time time-since] 10 (#$ . 478)]) #@172 Measure the run time of FUNC, calling it enough times to last TIME seconds. Result is (REPETITIONS . DATA) where DATA is as returned by `branchmark-call'. (fn FUNC TIME) (defalias 'benchmark--adaptive #[514 "\300\301C\211\241\210\211\262\302\303\"\211@\301X\203'