Skip to content

Commit 1c33fb3

Browse files
author
Gal Ben David
committed
benchmarks updates
1 parent 4ca5127 commit 1c33fb3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,26 +48,26 @@ PyDomainExtractor is a library intended for parsing domain names into their part
4848

4949
#### Extract From Domain
5050

51-
Test was measured on a file containing 10 million random domains from various TLDs
51+
Test was measured on a file containing 10 million random domains from various TLDs (Sep. 24th 2020)
5252

5353
| Library | Function | Time |
5454
| ------------- | ------------- | ------------- |
55-
| [PyDomainExtractor](https://github.com/Intsights/PyDomainExtractor) | pydomainextractor.extract | 2.21s |
56-
| [publicsuffix2](https://github.com/nexb/python-publicsuffix2) | publicsuffix2.get_sld | 16.53s |
57-
| [tldextract](https://github.com/john-kurkowski/tldextract) | \_\_call\_\_ | 42.45s |
58-
| [tld](https://github.com/barseghyanartur/tld) | publicsuffix2.get_tld | 47.07s |
55+
| [PyDomainExtractor](https://github.com/Intsights/PyDomainExtractor) | pydomainextractor.extract | 2.30s |
56+
| [publicsuffix2](https://github.com/nexb/python-publicsuffix2) | publicsuffix2.get_sld | 25.77s |
57+
| [tldextract](https://github.com/john-kurkowski/tldextract) | \_\_call\_\_ | 34.22s |
58+
| [tld](https://github.com/barseghyanartur/tld) | tld.parse_tld | 36.64s |
5959

6060

6161
#### Extract From URL
6262

63-
Test was measured on a file containing 1 million random urls
63+
Test was measured on a file containing 1 million random urls (Sep. 24th 2020)
6464

6565
| Library | Function | Time |
6666
| ------------- | ------------- | ------------- |
67-
| [PyDomainExtractor](https://github.com/Intsights/PyDomainExtractor) | pydomainextractor.extract | 0.28s |
68-
| [publicsuffix2](https://github.com/nexb/python-publicsuffix2) | publicsuffix2.get_sld | 1.91s |
69-
| [tldextract](https://github.com/john-kurkowski/tldextract) | \_\_call\_\_ | 5.55s |
70-
| [tld](https://github.com/barseghyanartur/tld) | publicsuffix2.get_tld | 5.98s |
67+
| [PyDomainExtractor](https://github.com/Intsights/PyDomainExtractor) | pydomainextractor.extract | 2.76s |
68+
| [publicsuffix2](https://github.com/nexb/python-publicsuffix2) | publicsuffix2.get_sld | 14.33s |
69+
| [tldextract](https://github.com/john-kurkowski/tldextract) | \_\_call\_\_ | 44.34s |
70+
| [tld](https://github.com/barseghyanartur/tld) | tld.parse_tld | 79.13s |
7171

7272

7373
### Prerequisites

0 commit comments

Comments
 (0)