On Monday 02 May 2016 15:00, DFS wrote: > I tried the 10-loop test several times with all versions. > > The results were 100% consistent: VBSCript xmlHTTP was always 2x faster > than any python method.
Are you absolutely sure you're comparing the same job in two languages? Is VB using a local web cache, and Python not? Are you saving files with both tests? To the same local drive? (To ensure you aren't measuring the difference between "write this file to a slow IDE hard disk, write that file to a fast SSD".) Once you are sure that you are comparing the same task in two languages, then make sure the measurement is meaningful. If you change from a (let's say) 1 KB file to a 100 KB file, do you see the same 2 x difference? What if you increase it to a 10000 KB file? -- Steve -- https://mail.python.org/mailman/listinfo/python-list