var tree = {
  id: 100,
  children: [
    {
      id: 101,
      children: [
        { id: 102, children: [] },
        { id: 103, children: [] }
      ]
    },
    {
      id: 104,
      children: [
        { id: 105, children: [] }
      ]
    }
  ]
}

var time = use('time')
var st = time.number()
var actor
$_.start(e => {
  if (actor) return
  actor = e.actor
  send(actor, tree, (result, reason) => {
    if (reason)
      log.console(reason)
    else
      log.console(json.encode(result))
      
    log.console(`took ${time.number()-st} secs`)
    $_.stop()
  });
}, "tests/comments")

