Skip to content

Commit

Permalink
adds a note about performance in python3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
M0r13n committed Dec 17, 2022
1 parent 123b08e commit a6492eb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,5 +270,19 @@ $ make test

Now you are ready to start developing on the project! Don't forget to add tests for every new change or feature!

# Funfacts

## Python3.11 is faster

With Python3.11 significant improvements to the CPython Runtime were made:

- [What's new with Python 3.11](https://docs.python.org/3/whatsnew/3.11.html)
- [Faster CPython](https://docs.python.org/3/whatsnew/3.11.html#whatsnew311-faster-cpython)

Some results from the internal [performance test](https://github.com/M0r13n/pyais/blob/master/tests/test_file_stream.py#L155):

**3.10:**
`Decoding 82758 messages took: 3.233757972717285`

**3.11:**
`Decoding 82758 messages took: 2.5866270065307617`

0 comments on commit a6492eb

Please sign in to comment.