def METHOD_NAME(n):
  # type: (int) -> None
  log('BenchmarkGlobal')
  log('')
  for i in xrange(10):
    # create garbage with global
    #next_ = gNode
    next_ = None  # type: Node
    for j in xrange(n):
      node1 = Node(next_, j)
      next_ = node1
      mylib.MaybeCollect()
  PrintLength(next_)
  log('done')