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
- Host: GitHub
- URL: https://github.com/jdhao/im_download_requests
- Owner: jdhao
- Created: 2020-06-21T12:54:00.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T10:28:29.000Z (over 4 years ago)
- Last Synced: 2025-08-12T09:51:35.602Z (12 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.