Skip to content

Commit

Permalink
'Parsed in' instead of 'Parsing took' in CPU time benchmark.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Jul 30, 2018
1 parent f6a1fea commit 0e7a19d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ to make them fit the user application.
.. code-block:: text
$ env PYTHONPATH=. python3 examples/benchmarks/json/cpu.py
Parsing 'examples/benchmarks/json/data.json' 1 time(s) took:
Parsed 'examples/benchmarks/json/data.json' 1 time(s) in:
PACKAGE SECONDS RATIO
textparser 0.10 100%
Expand Down
4 changes: 2 additions & 2 deletions examples/benchmarks/json/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Example execution:
$ env PYTHONPATH=. python3 examples/benchmarks/json/cpu.py
Parsing 'examples/benchmarks/json/data.json' 1 time(s) took:
Parsed 'examples/benchmarks/json/data.json' 1 time(s) in:
PACKAGE SECONDS RATIO
textparser 0.10 100%
Expand Down Expand Up @@ -100,7 +100,7 @@ def parse_time(_json_string, _iterations):
measurements = sorted(measurements, key=lambda m: m[1])

print()
print("Parsing '{}' {} time(s) took:".format(DATA_JSON, ITERATIONS))
print("Parsed '{}' {} time(s) in:".format(DATA_JSON, ITERATIONS))
print()
print('PACKAGE SECONDS RATIO')

Expand Down

0 comments on commit 0e7a19d

Please sign in to comment.