add bsearch benchmark
add spec for option parameter
Merge pull request #23 from byplayer/kwd

add optional parameter spec