Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args NameParam defaults body Expr Str If CompareLtE NameLoad Num body Raise Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Yield TupleLoad Call NameLoad BinOpSub NameLoad Num Call NameLoad BinOpSub NameLoad Num Raise Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad decorator_list AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLtE NameLoad Num body Raise Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr keyword NameLoad If CompareIsNot NameLoad NameLoad body Assert CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Yield Call NameLoad BinOpSub NameLoad Num Assign NameStore Yield Call NameLoad BinOpSub NameLoad Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr keyword NameLoad Raise Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Num TryExcept body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type NameLoad body Pass If CompareIn Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Yield Call AttributeLoad NameLoad attr GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Assign NameStore Str Assign NameStore Yield Call NameLoad NameLoad orelse Assign NameStore Str Assign NameStore Yield Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad BinOpSub NameLoad NameLoad decorator_list AttributeLoad NameLoad attr decorator_list Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad
N/A N/A A web app to test multi-threading. N/A logging N/A sys N/A threading N/A time google.appengine.api memcache google.appengine.ext webapp ndb context model tasklets fibonacci N/A N/A n N/A N/A N/A A recursive Fibonacci to exercise task switching. N/A N/A n 1 N/A N/A N/A N/A tasklets Return n N/A N/A a b N/A N/A N/A fibonacci N/A n 1 N/A fibonacci N/A n 2 N/A N/A N/A tasklets Return N/A a b N/A N/A tasklets tasklet FibonacciMemo N/A N/A model Model N/A N/A arg N/A N/A model IntegerProperty N/A value N/A N/A model IntegerProperty N/A memoizing_fibonacci N/A N/A n N/A N/A N/A A memoizing recursive Fibonacci to exercise RPCs. N/A N/A n 1 N/A N/A N/A N/A tasklets Return n N/A key N/A N/A model Key FibonacciMemo N/A str n N/A memo N/A N/A N/A key get_async ndb_should_cache False N/A N/A memo None N/A N/A N/A N/A memo arg n N/A N/A N/A logging info memo hit: %d -> %d n N/A memo value N/A N/A N/A tasklets Return N/A memo value N/A N/A N/A logging info memo fail: %d n N/A a N/A N/A memoizing_fibonacci N/A n 1 N/A b N/A N/A memoizing_fibonacci N/A n 2 N/A ans N/A a b N/A memo N/A FibonacciMemo key key arg n value ans N/A N/A N/A logging info memo write: %d -> %d n N/A memo value N/A N/A N/A N/A memo put_async ndb_should_cache False N/A N/A N/A tasklets Return ans N/A N/A tasklets tasklet N/A TRUE_VALUES N/A frozenset N/A 1 on t true y yes FiboHandler N/A N/A webapp RequestHandler N/A get N/A N/A self N/A N/A N/A num 10 N/A N/A N/A num N/A int N/A N/A N/A self request get num N/A N/A N/A Exception N/A N/A N/A N/A N/A N/A N/A self request get reset TRUE_VALUES N/A N/A N/A N/A logging info flush N/A N/A N/A N/A model delete_multi_async N/A N/A x key N/A x N/A N/A FibonacciMemo query N/A t0 N/A N/A time time N/A N/A N/A N/A N/A self request get memo TRUE_VALUES N/A N/A memo_type memoizing  N/A ans N/A N/A memoizing_fibonacci num N/A N/A memo_type N/A ans N/A N/A fibonacci num N/A t1 N/A N/A time time N/A N/A N/A N/A N/A self response out write N/A %sfibonacci(%d) == %d # computed in %.3f
 N/A memo_type num ans N/A t1 t0 N/A N/A context toplevel N/A N/A urls N/A N/A /fibo FiboHandler N/A app N/A N/A webapp WSGIApplication urls