You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
(function () {
|
|
|
|
var setup = function () {
|
|
var store = new lunr.Store,
|
|
tokens = ['foo', 'bar', 'baz']
|
|
|
|
}
|
|
|
|
bench('documentStore#set', function () {
|
|
for (var i = 0; i < 1000; i++) {
|
|
store.set(i, tokens)
|
|
}
|
|
}, { setup: setup })
|
|
|
|
})()
|
|
|