.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2013 Mitsuya Shibata , .\" .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH MARISA\-BENCHMARK 1 "AUG 2013" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME marisa\-benchmark \- A tool to benchmark libmarisa .SH SYNOPSIS .B marisa\-benchmark .RI [ options ] " file" .SH DESCRIPTION \fBmarisa\-benchmark\fP is a tool to benchmark libmarisa. This tool takes the same input as marisa\-build and measures the performance of libmarisa for the given set of keys. This tool is useful to fix dictionary settings. .PP For the search performance, marisa\-benchmark measures the time to lookup or search keys in input order. When the keys are given in lexicographic order, few cache misses will occur in the benchmark. In contrast, when the keys are given in random order, many cache misses will occur in the benchmark. .PP See \fBmarisa\-benchmark \-h\fP for the list of options. .SH SEE ALSO The programs are generated from /usr/share/doc/libmarisa\-dev/readme.en.html in \fBlibmarisa\-dev\fP package.