mongodb.benchmark vocabulary
Factor handbook > Vocabulary index


Summary
serialization/deserialization and insert/query benchmarks for mongodb.driver

Meta-data
Authors:Sascha Matzke


Words

Tuple classes
ClassSuperclassSlots
result tupledoc collection index batch lasterror


Symbol words
collection


Ordinary words
WordStack effect
(check-find-result)( result -- )
(find)( cursor -- )
(insert)( quot: ( i -- doc ) collection -- )
(insert-batch)( quot: ( i -- doc ) collection -- )
(prepare-batch)( i b quot: ( i -- doc ) -- batch-seq )
<result>( -- )
CHECK-KEY( -- value )
DOC-LARGE( -- value )
DOC-MEDIUM( -- value )
DOC-SMALL( -- value )
[bench-quot]( feat-seq op-word -- quot: ( doc-word -- ) )
batch( -- )
batch-size( -- size )
bchar( boolean -- char )
check-for-key( assoc key -- )
collection-name( -- collection )
deserialize( doc-quot: ( i -- doc ) -- quot: ( -- ) )
ensure-number( v -- n )
errcheck( -- )
find-all( quot -- quot: ( -- ) )
find-one( quot -- quot: ( -- ) )
find-range( quot -- quot: ( -- ) )
get*( symbol default -- value )
index( -- )
insert( doc-quot: ( i -- doc ) -- quot: ( -- ) )
large-doc( -- quot )
large-doc-prepare( -- quot: ( i -- doc ) )
medium-doc( -- quot )
medium-doc-prepare( -- quot: ( i -- doc ) )
prepare-collection( -- collection )
prepare-index( collection -- )
print-header( -- )
print-result( time -- )
print-separator( -- )
print-separator-bold( -- )
run-benchmarks( -- )
run-deserialization-bench( doc-word-seq feat-seq -- )
run-find-all-bench( doc-word-seq feat-seq -- )
run-find-one-bench( doc-word-seq feat-seq -- )
run-find-range-bench( doc-word-seq feat-seq -- )
run-insert-bench( doc-word-seq feat-seq -- )
run-serialization-bench( doc-word-seq feat-seq -- )
serialize( doc-quot: ( i -- doc ) -- quot: ( -- ) )
set-doc( name -- )
small-doc( -- quot )
small-doc-prepare( -- quot: ( i -- doc ) )
trial-size( -- size )
with-result( options quot -- )


Class predicate words
WordStack effect
result?( object -- ? )


Files