Skip to content

Commit

Permalink
Version 2.0.5 (#98)
Browse files Browse the repository at this point in the history
* 🔖 Bump version to 2.0.5

* 📝 ⚡ Update performance claims

using latest dataset and package dev-master version
  • Loading branch information
Ousret committed Sep 14, 2021
1 parent d62ac4c commit 314e89e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ This package offer better performance than its counterpart Chardet. Here are som

| Package | Accuracy | Mean per file (ns) | File per sec (est) |
| ------------- | :-------------: | :------------------: | :------------------: |
| [chardet](https://github.com/chardet/chardet) | 93.0 % | 150 ms | 7 file/sec |
| charset-normalizer | **95.0 %** | **36 ms** | 28 file/sec |
| [chardet](https://github.com/chardet/chardet) | 92.0 % | 220 ms | 5 file/sec |
| charset-normalizer | **97.0 %** | **40 ms** | 25 file/sec |

| Package | 99th percentile | 95th percentile | 50th percentile |
| ------------- | :-------------: | :------------------: | :------------------: |
| [chardet](https://github.com/chardet/chardet) | 647 ms | 250 ms | 24 ms |
| charset-normalizer | 354 ms | 202 ms | 16 ms |
| [chardet](https://github.com/chardet/chardet) | 888 ms | 300 ms | 27 ms |
| charset-normalizer | 430 ms | 220 ms | 18 ms |

Chardet's performance on larger file (1MB+) are very poor. Expect huge difference on large payload.

Expand Down
2 changes: 1 addition & 1 deletion charset_normalizer/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
Expose version
"""

__version__ = "2.0.4"
__version__ = "2.0.5"
VERSION = __version__.split(".")

0 comments on commit 314e89e

Please sign in to comment.