jdhao / im_download_requests

Compare the speed of concurrent image downloads with requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

There are different ways to download images using requests. 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:

python compare.py

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

About

Compare the speed of concurrent image downloads with requests


Languages

Language:Python 100.0%