Message349197
| Author |
Alexander.Pyhalov |
| Recipients |
Alexander.Pyhalov |
| Date |
2019年08月07日.20:36:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1565210160.36.0.538688157223.issue37790@roundup.psfhosted.org> |
| In-reply-to |
| Content |
We've moved illumos-gate wsdiff python tool from Python 2 to Python 3.
The tool does the following - for each file from old and new proto area compares file attributes to find differences in binary otput (spawning elfdump, dump and other utilities).
Performance has degraded in two times when commands.getstatusoutput() was replaced by subprocess.getstatusoutput().
os.popen() now is Popen() wrapper, so it also has poor performance.
Even naive popen() implementation using os.system() and os.mkstemp() behaved much more efficiently (about two times faster e.g. 20 minuts vs 40 minutes for single tool pass). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2019年08月07日 20:36:00 | Alexander.Pyhalov | set | recipients:
+ Alexander.Pyhalov |
| 2019年08月07日 20:36:00 | Alexander.Pyhalov | set | messageid: <1565210160.36.0.538688157223.issue37790@roundup.psfhosted.org> |
| 2019年08月07日 20:36:00 | Alexander.Pyhalov | link | issue37790 messages |
| 2019年08月07日 20:36:00 | Alexander.Pyhalov | create |
|