Add demo.

This commit is contained in:
Eduard Tolosa 2020-09-28 15:10:44 -05:00 committed by GitHub
parent ca53f1eddc
commit 71dae7d87d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,28 +5,10 @@ Fast DNS resolver written in Rust. Works on Linux, Windows, macOS, Android, Aarc
Offer the community an efficient host resolution tool.
# Performance & speed
Rusolver is **very** resource friendly, you can use up to 1000 threads in an single core machine and this will work without any problem, the bottleneck for this tool is your network speed. By default, Rusolver is able to perform resolution for ~1226 hosts per second in good network conditions (tested in an AWS machine).
Rusolver is **very** resource friendly, you can use up to 1000 threads in an single core machine and this will work without any problem, the bottleneck for this tool is your network speed. By default, Rusolver is able to perform resolution for ~1532 hosts per second in good network conditions (tested in an AWS machine).
```bash
#
# hosts.txt is a list of 61309 Google subdomains. See https://gist.github.com/Edu4rdSHL/90ddc4742b816439a112a95039a95312
#
$ cat hosts.txt | rusolver
...
real 0m50.222s
user 0m17.152s
sys 0m10.064s
$ python
Python 2.7.12 (default, Jul 21 2020, 15:19:50)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 61309/50
1226
>>>
# 1226 hosts were resolved per second in average
```
## Demo
[![asciicast](https://asciinema.org/a/362323.svg)](https://asciinema.org/a/362323)
# Installation