Author: Maciej Fijalkowski <fij...@gmail.com> Branch: Changeset: r312:a580dcb818dc Date: 2015-02-23 17:31 +0200 http://bitbucket.org/pypy/benchmarks/changeset/a580dcb818dc/
Log: one more warmupish benchmark diff --git a/warmup/pypy-annotate.py b/warmup/pypy-annotate.py new file mode 100644 --- /dev/null +++ b/warmup/pypy-annotate.py @@ -0,0 +1,18 @@ + +from rpython.annotator.annrpython import RPythonAnnotator +from rpython.translator.goal.targetrpystonedalone import pystones_main +from rpython.rtyper.rtyper import RPythonTyper + +import time +l = [] + +for i in range(1): + print i + t0 = time.time() + a = RPythonAnnotator() + a.build_types(pystones_main, [int]) + rtyper = RPythonTyper(a) + rtyper.specialize() + l.append(time.time() - t0) + +print l _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit