Message293123
I ran a quick benchmark on my laptop, Fedora 25:
haypo@selma$ python3 -m perf command -o ref.json -- python3 -c 'pass' && python3 -m perf command -o hashlib.json -- python3 -c 'import hashlib' && python3 -m perf compare_to ref.json hashlib.json --table
+-----------+---------+------------------------------+
| Benchmark | ref | hashlib |
+===========+=========+==============================+
| command | 26.7 ms | 30.2 ms: 1.13x slower (+13%) |
+-----------+---------+------------------------------+
Importing hashlib only takes 3.5 ms on my laptop. |
|
Date |
User |
Action |
Args |
2017-05-05 16:42:42 | vstinner | set | recipients:
+ vstinner, christian.heimes, bmwiedemann |
2017-05-05 16:42:42 | vstinner | set | messageid: <1494002562.85.0.674351292147.issue30276@psf.upfronthosting.co.za> |
2017-05-05 16:42:42 | vstinner | link | issue30276 messages |
2017-05-05 16:42:42 | vstinner | create | |
|