Commit f2905909 authored by Kirill Smelkov's avatar Kirill Smelkov

pygolang v0.0.0.dev4

parent 9bf03d9c
Pygolang change history
=======================
0.0.0.dev4 (2018-07-04)
-----------------------
- Add `py.bench` program and `golang.testing` package with corresponding bits (commit__).
`py.bench` allows to benchmark python code similarly to `go test -bench` and `py.test`.
For example, running py.bench on the following code::
def bench_add(b):
x, y = 1, 2
for i in xrange(b.N):
x + y
gives something like::
$ py.bench --count=3 x.py
...
pymod: bench_add.py
Benchmarkadd 50000000 0.020 µs/op
Benchmarkadd 50000000 0.020 µs/op
Benchmarkadd 50000000 0.020 µs/op
__ https://lab.nexedi.com/kirr/pygolang/commit/9bf03d9c
0.0.0.dev3 (2018-07-02)
-----------------------
......
......@@ -8,7 +8,7 @@ def readfile(path):
setup(
name = 'pygolang',
version = '0.0.0.dev3',
version = '0.0.0.dev4',
description = 'Go-like features for Python',
long_description = '%s\n----\n\n%s' % (
readfile('README.rst'), readfile('CHANGELOG.rst')),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment