![]() | ![]() | ![]() | report-find-stats | ![]() |
|
| &key reset | [Function] |
Purpose
Display the retrieval statistics collected for
find-instances and
map-instances-on-space-instances.
Package :gbbopen
Module :gbbopen-core
Arguments and values
| reset | A generalized boolean (default is nil)
|
Description
Report-find-stats displays the retrieval statistics within
the scope of an active with-find-stats.
If reset is non-nil, the statistics are cleared after the
report is displayed.
See also
with-find-stats
Examples
> (with-find-stats ()
(scanner (find-instance-by-name 471 'hyp))
(report-find-stats)
(scanner (find-instance-by-name 632 'hyp)))
;; Find/Map Statistics:
;; 20 find/map operations (0 using marking, 20 using hashing)
;; 100 buckets scanned
;; 9240 instances touched
;; 9240 instances considered
;; 521 instances accepted
;; 0.16 seconds (0.80 msec/operation)
;; Find/Map Statistics:
;; 40 find/map operations (0 using marking, 40 using hashing)
;; 200 buckets scanned
;; 18480 instances touched
;; 18480 instances considered
;; 1042 instances accepted
;; 0.32 seconds (0.80 msec/operation)
(#<hyp 319 (1835 8419) 0.91 [4..12]>
#<hyp 331 (1835 8419) 0.88 [15..30]>)
> (report-find-stats)
;; No find/map statistics are available.
>
The GBBopen Project
![]() | ![]() | ![]() | report-find-stats | ![]() |