UNPKG
homebridge-gsh-kazari
Version:
latest (2.2.2)
2.2.2
2.2.1
Google Smart Home
github.com/UiharuKazari2008/homebridge-gsh
UiharuKazari2008/homebridge-gsh
homebridge-gsh-kazari
/
node_modules
/
better-queue-memory
/
benchmark.js
13 lines
(10 loc)
•
251 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
var
test =
require
(
'better-queue-store-test'
);
var
Memory
=
require
(
'.'
);
// Test 1: No options
test.
benchmark
(
'Memory'
, {
create
:
function
(
cb
) {
cb
(
null
,
new
Memory
()); },
destroy
:
function
(
cb
) {
cb
() },
// Pass
numItems
:
200000
, });