An open API service indexing awesome lists of open source software.

https://github.com/jdhao/im_download_requests

Compare the speed of concurrent image downloads with requests
https://github.com/jdhao/im_download_requests

Last synced: 12 months ago
JSON representation

Compare the speed of concurrent image downloads with requests

Awesome Lists containing this project

README

          

# Introduction

There are different ways to download images using
[requests](https://requests.readthedocs.io/en/master/). This repo provides a
script to benchmark the speed of parallel image downloads with requests.

# How to run?

Make sure you have requests package installed, and simply run the following
command:

```bash
python compare.py
```

You may change the variable `im_num` to benchmark the download speed for
different numbers of images.