~ubuntu-branches/debian/sid/python-decorator/sid

« back to all changes in this revision

Viewing changes to performance.sh

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2010-05-25 21:55:03 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100525215503-4xq1iyhjijh0t8o6
Tags: 3.2.0-1
* New upstream release
  - changelog no longer available
* python added to Build-Depends (clean rule needs it)
* debian/watch file points to PyPI now

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
python -m timeit -s "
2
 
from decorator import decorator
3
 
 
4
 
@decorator
5
 
def do_nothing(func, *args, **kw):
6
 
    return func(*args, **kw) 
7
 
 
8
 
@do_nothing
9
 
def f():
10
 
    pass
11
 
" "f()"
12
 
 
13
 
python -m timeit -s "
14
 
def f():
15
 
    pass
16
 
" "f()"