Bench cargo scope
Section
db = Chat.Db.db()
room = Chat.Rooms.list() |> Enum.find(&(&1.name == "mar23-cargo-test"))
user = Chat.User.list() |> Enum.find(&(&1.name == "s.32"))
:timer.tc(fn -> Chat.Db.Scope.KeyScope.get_cargo_keys(db, room.pub_key, [user.pub_key]) end)
- mar30fw sensor (32G sd) = 815-845 ms
- mar23fw operator (64G usb) = 790-805 ms
- mar30fw operator (64G usb) = 890-900 ms
- apr6fw operator (64G usb) = 870-918 ms