Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
pygolang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
pygolang
Commits
f2905909
Commit
f2905909
authored
Jul 04, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pygolang v0.0.0.dev4
parent
9bf03d9c
Changes
2
Show 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)
-----------------------
...
...
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'
)),
...
...
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