Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zbjornson/node-dnsperf
Simple Node.js version of dnsperf
https://github.com/zbjornson/node-dnsperf
dns dnsperf nodejs
Last synced: about 2 months ago
JSON representation
Simple Node.js version of dnsperf
- Host: GitHub
- URL: https://github.com/zbjornson/node-dnsperf
- Owner: zbjornson
- License: mit
- Created: 2018-08-15T03:03:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-15T03:14:01.000Z (over 6 years ago)
- Last Synced: 2024-10-14T11:42:52.070Z (3 months ago)
- Topics: dns, dnsperf, nodejs
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Simple, zero-dependency, Node.js version of https://github.com/akamai/dnsperf
for measuring DNS server throughput and latency.Limitations:
* There's no CLI parser yet -- instead you need to modify the first few lines of
dnsperf.js.
* Only a few parameters are supported. PRs welcome to add more of dnsperf's
features. (Please try to avoid adding dependencies though.)The reported statistics are on-par with dnssec's reported statistics.
```
> node .\benchmark.js
DNS Performance Testing Tool
[Status] Sending queries (to 127.0.0.1)
[Status] Started at: Tue Aug 14 2018 19:51:36 GMT-0700 (Pacific Daylight Time)
[Status] Stopping after 5 seconds
[Status] Testing complete (time limit)Statistics:
Queries sent: 67398
Queries completed: 67398 (100.00%)
Queries lost: 0 (0.00%)Response codes: NOERROR 67390 (99.99%)
ESERVFAIL 8 (0.01%)
Run time (s): 5
Queries per second: 13479.600000Average Latency (s): 0.000218 (min 0.000218, max 0.000218)
Latency StdDev (s): 0.000069
```