with-find-statsInstance Retrievalwithout-find-statsGoTo Top

without-find-stats   declaration* form* => result*[Macro]

Purpose
Disable the collecting of retrieval statistics while executing forms.

Package   :gbbopen

Module   :gbbopen-core

Arguments and values

declaration     A declare expression (not evaluated)
forms     An implicit progn of forms to be evaluated
results     The values returned by evaluating the last form

Returns
The values returned by evaluating the last form.

See also
    with-find-stats

Example
Collect and display the retrieval statistics associated with running an application function scanner:

> (with-find-stats ()
     (scanner (find-instance-by-name 471 'hyp))
     (without-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)
  (#<hyp 319 (1835 8419) 0.91 [4..12]>
   #<hyp 331 (1835 8419) 0.88 [15..30]>)
  >


The GBBopen Project


with-find-statsInstance Retrievalwithout-find-statsGoTo Top