sysu-yunz commented on issue #4901: URL: https://github.com/apache/opendal/issues/4901#issuecomment-2230490527
This is a bit strange, but here's a comparison of the results I wrote with BytesIO, and I ran it 10 times like you, and I calculated the average ``` opendal write cost: 2.4278807640075684 opendal write cost: 2.4647626876831055 opendal write cost: 2.138329029083252 opendal write cost: 2.2295989990234375 opendal write cost: 2.1915431022644043 opendal write cost: 2.1873180866241455 opendal write cost: 2.011554718017578 opendal write cost: 2.2732584476470947 opendal write cost: 2.0787739753723145 opendal write cost: 2.518566131591797 average opendal write cost: 2.252260422706604 ossfs write cost: 0.5420899391174316 ossfs write cost: 0.5580389499664307 ossfs write cost: 0.5613429546356201 ossfs write cost: 0.5493559837341309 ossfs write cost: 0.5359418392181396 ossfs write cost: 0.5070497989654541 ossfs write cost: 1.1258749961853027 ossfs write cost: 0.5559501647949219 ossfs write cost: 0.5436689853668213 ossfs write cost: 0.5498058795928955 average ossfs write cost: 0.6029793739318847 ``` The network in my office is in the same area as OSS, I wonder if the same is true on your side? Here's my library version and python version, I don't know if it's the same as yours? ``` opendal==0.45.6 ossfs==2023.12.0 Python 3.11.9 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@opendal.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org