Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jérome Perrin
pygolang
Commits
f2905909
Unverified
Commit
f2905909
authored
6 years ago
by
Kirill Smelkov
Browse files
Options
Download
Email Patches
Plain Diff
pygolang v0.0.0.dev4
parent
9bf03d9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
CHANGELOG.rst
CHANGELOG.rst
+24
-0
setup.py
setup.py
+1
-1
No files found.
CHANGELOG.rst
View file @
f2905909
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)
-----------------------
...
...
This diff is collapsed.
Click to expand it.
setup.py
View file @
f2905909
...
...
@@ -8,7 +8,7 @@ def readfile(path):
setup
(
name
=
'pygolang'
,
version
=
'0.0.0.dev
3
'
,
version
=
'0.0.0.dev
4
'
,
description
=
'Go-like features for Python'
,
long_description
=
'%s
\n
----
\n\n
%s'
%
(
readfile
(
'README.rst'
),
readfile
(
'CHANGELOG.rst'
)),
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment