Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
d6778aeb
Unverified
Commit
d6778aeb
authored
Jun 28, 2021
by
Mircea Trofin
Committed by
GitHub
Jun 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deduplicate test function name in python bindings example (#1189)
This appears to be the source of unclean termination of the test on some versions of python related to object dereferencing.
parent
1799e1b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
example.py
bindings/python/google_benchmark/example.py
+1
-1
No files found.
bindings/python/google_benchmark/example.py
View file @
d6778aeb
...
...
@@ -102,7 +102,7 @@ def with_options(state):
@benchmark.register
(
name
=
"sum_million_microseconds"
)
@benchmark.option.unit
(
benchmark
.
kMicrosecond
)
def
with_options
(
state
):
def
with_options
2
(
state
):
while
state
:
sum
(
range
(
1
_000_000
))
...
...
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