File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
doc/modules/ROOT/pages/debugging Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -806,17 +806,13 @@ with the given LIMIT."
806806 (`" \" light-form\" "
807807 (push sym enlightened)))
808808 ; ; FIXME: This matches values too, not just keys.
809- (when (seq-find (lambda (k )
810- (and (stringp k)
811- (or (string= " orchard.trace/traced" k)
812- (string= " orchard.profile/profiled" k))))
813- meta)
809+ (when (or (nrepl-dict-get meta " orchard.trace/traced" )
810+ (nrepl-dict-get meta " orchard.profile/profiled" ))
814811 (push sym traced))
815812 (when (and do-deprecated (nrepl-dict-get meta " deprecated" ))
816813 (push sym deprecated))
817814 (let ((is-macro (nrepl-dict-get meta " macro" ))
818- (is-function (or (nrepl-dict-get meta " fn" )
819- (nrepl-dict-get meta " arglists" ))))
815+ (is-function (nrepl-dict-get meta " fn" )))
820816 (cond ((and do-macro is-macro)
821817 (push sym macros))
822818 ((and do-function is-function)
Original file line number Diff line number Diff line change 22
33CIDER has a simple built-in profiler that can you to quickly measure the running
44time of individual functions. It is similar to wrapping your functions with
5- `time` macro, except it records every timing and displays a the summarized
6- result.
5+ `time` macro, except it records every timing and displays a summarized result.
76
87NOTE: Profiling is different from benchmarking. Benchmarking more accurately
98tells you how long the code executes. If you need accurate timing results, use a
You can’t perform that action at this time.
0 commit comments