Message366786
| Author |
shihai1991 |
| Recipients |
serhiy.storchaka, shihai1991, vstinner |
| Date |
2020年04月19日.15:40:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1587310814.9.0.349995091031.issue40275@roundup.psfhosted.org> |
| In-reply-to |
| Content |
> These three PRs combined reduce the number of imported modules from 179 to 105 (not including 24 modules imported by the bare interpreter) and reduce the hot import time from 160 ms to 80 ms.
Good job, serhiy. I tested your patches in my vm, the number of importing module have been reduced. Could you paste your performance benchmark test? I got a no siginificant change :( when I run:
$ ./python -m pyperf timeit --compare-to python3.9 "from test import support" -p 100
python3.9: ..................................................................................................... 820 ns +- 206 ns
python: ..................................................................................................... 809 ns +- 201 ns
Mean +- std dev: [python3.9] 820 ns +- 206 ns -> [python] 809 ns +- 201 ns: 1.01x faster (-1%)
Not significant! |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2020年04月19日 15:40:14 | shihai1991 | set | recipients:
+ shihai1991, vstinner, serhiy.storchaka |
| 2020年04月19日 15:40:14 | shihai1991 | set | messageid: <1587310814.9.0.349995091031.issue40275@roundup.psfhosted.org> |
| 2020年04月19日 15:40:14 | shihai1991 | link | issue40275 messages |
| 2020年04月19日 15:40:14 | shihai1991 | create |
|