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."
806
806
(`" \" light-form\" "
807
807
(push sym enlightened)))
808
808
; ; 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" ))
814
811
(push sym traced))
815
812
(when (and do-deprecated (nrepl-dict-get meta " deprecated" ))
816
813
(push sym deprecated))
817
814
(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" )))
820
816
(cond ((and do-macro is-macro)
821
817
(push sym macros))
822
818
((and do-function is-function)
Original file line number Diff line number Diff line change 2
2
3
3
CIDER has a simple built-in profiler that can you to quickly measure the running
4
4
time 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.
7
6
8
7
NOTE: Profiling is different from benchmarking. Benchmarking more accurately
9
8
tells 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