Skip to content

Commit

Permalink
Bumps version to 0.10.0. (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheqianh committed Feb 13, 2023
1 parent 3bf6a73 commit f05ed93
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### 0.10.0 (2023-02-13)
* Drops Python 2 support.
* Adds a benchmark tool with essential options. (#228)
* Adds support for multi-options execution for benchmark CLI. (#235)
* Adds two tests to the skip list for pypy compatibility. (#231)
* Adds support for flexible symbol buffer threshold. (#238)

### 0.9.3 (2022-08-18)
* Fixes a timestamp precision check issue. (#211)
* Changes bytes read size to avoid unicode/UTF-8 conversion issue. (#216)
Expand Down
2 changes: 1 addition & 1 deletion amazon/ion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# specific language governing permissions and limitations under the
# License.
__author__ = 'Amazon.com, Inc.'
__version__ = '0.9.3'
__version__ = '0.10.0'

__all__ = [
'core',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run_setup():

setup(
name='amazon.ion',
version='0.10.1',
version='0.10.0',
description='A Python implementation of Amazon Ion.',
url='http://github.com/amazon-ion/ion-python',
author='Amazon Ion Team',
Expand Down
11 changes: 0 additions & 11 deletions tests/test_benchmark_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,19 +118,8 @@ def test_option_read_iterations(file=generate_test_path('integers.ion')):
def test_option_write_iterations(file=generate_test_path('integers.ion')):
# warmup
execution_with_command(['write', file, '--c-extension', 'true', '--iterations', '10'])

start = time.perf_counter()
execution_with_command(['write', file, '--c-extension', 'true', '--iterations', '1'])
stop = time.perf_counter()
time_1 = stop - start

start = time.perf_counter()
execution_with_command(['write', file, '--c-extension', 'true', '--iterations', '100'])
stop = time.perf_counter()
time_2 = stop - start

# Executing 100 times should be longer than benchmark only once, but don't have to be exact 100x faster.
assert time_2 > time_1


def gather_all_options_in_list(table):
Expand Down

0 comments on commit f05ed93

Please sign in to comment.