Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Example added

  • Loading branch information...
commit 892119b952717ee29d9d39891c9504c0fcbde203 1 parent 064ed7c
@penartur authored
Showing with 267 additions and 0 deletions.
  1. +39 −0 example/simple-example.js
  2. +228 −0 example/simple-example.out.txt
View
39 example/simple-example.js
@@ -0,0 +1,39 @@
+"use strict";
+
+var Benchmark = require('../lib/benchmark');
+
+var pages = {
+ "main": {
+ url: "/",
+ weight: 3
+ },
+ "search": {
+ url: "/search?q=test",
+ weight: 1
+ },
+ "notFound": {
+ url: "/notfound",
+ weight: 1
+ }
+};
+
+var engines = {
+ "google": "https://www.google.com",
+ "bing": "http://www.bing.com"
+};
+
+function main() {
+ var benchmark = new Benchmark(engines, pages, { iterations: 2 });
+ benchmark.runMultiple(
+ [
+ 1, 10, //burning in is useful for dev sites: the following passes will not wait for cache/pool filling etc.
+ 1, 2, 4, 8//, 16, 32, 64, 128, 256, 512, 1024
+ ],
+ Benchmark.statisticsDisplay.showCliTable,
+ function () {
+ console.log("Done benchmarking");
+ }
+ );
+}
+
+main();
View
228 example/simple-example.out.txt
@@ -0,0 +1,228 @@
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+Statistics for 1 simultaneous requests
+Processing google took 6841ms (684.1ms per request)
+Processing bing took 9608ms (960.8ms per request)
+main
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 716 ┃ 739 ┃ 0.96 ┃ 732 ┃ NaN ┃ 732 ┃ 780 ┃ 6 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 906 ┃ 945 ┃ 1.1 ┃ 945 ┃ NaN ┃ 945 ┃ 1087 ┃ 6 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+search
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 498 ┃ 498 ┃ 1.13 ┃ 498 ┃ NaN ┃ 498 ┃ 528 ┃ 2 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 1080 ┃ 1080 ┃ NaN ┃ 1080 ┃ NaN ┃ 1080 ┃ 1080 ┃ 1 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+notFound
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 727 ┃ 727 ┃ 1.18 ┃ 727 ┃ NaN ┃ 727 ┃ 787 ┃ 2 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 776 ┃ 776 ┃ 0.76 ┃ 776 ┃ NaN ┃ 776 ┃ 879 ┃ 2 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+[Error: Response from http://www.bing.com/notfound length is 17845; first response length was 17524]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/ length is 24481; first response length was 24160]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/ length is 24481; first response length was 24160]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+Statistics for 10 simultaneous requests
+Processing google took 9156ms (91.56ms per request)
+Processing bing took 17762ms (177.62ms per request)
+main
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 893 ┃ 896 ┃ 1.21 ┃ 903 ┃ 688 ┃ 1154 ┃ 1312 ┃ 60 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 1619 ┃ 1622 ┃ 0.93 ┃ 1716 ┃ 1257 ┃ 2753 ┃ 3587 ┃ 58 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+search
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 495 ┃ 505 ┃ 0.95 ┃ 504 ┃ 343 ┃ 681 ┃ 704 ┃ 20 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 1673 ┃ 1810 ┃ 0.8 ┃ 1777 ┃ NaN ┃ 1777 ┃ 2009 ┃ 4 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+notFound
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 934 ┃ 942 ┃ 1.1 ┃ 949 ┃ 705 ┃ 1273 ┃ 1346 ┃ 20 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 1230 ┃ 1268 ┃ 0.92 ┃ 1286 ┃ 926 ┃ 2075 ┃ 2075 ┃ 19 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+Statistics for 1 simultaneous requests
+Processing google took 61258ms (6125.8ms per request)
+Processing bing took 9199ms (919.9ms per request)
+main
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 6844 ┃ 7032 ┃ 1.16 ┃ 7427 ┃ NaN ┃ 7427 ┃ 9243 ┃ 6 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 879 ┃ 884 ┃ 0.95 ┃ 957 ┃ NaN ┃ 957 ┃ 1345 ┃ 6 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+search
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 676 ┃ 676 ┃ 0.57 ┃ 676 ┃ NaN ┃ 676 ┃ 860 ┃ 2 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 1056 ┃ 1056 ┃ NaN ┃ 1056 ┃ NaN ┃ 1056 ┃ 1056 ┃ 1 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+notFound
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 7671 ┃ 7671 ┃ 0.78 ┃ 7671 ┃ NaN ┃ 7671 ┃ 8631 ┃ 2 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 665 ┃ 665 ┃ 0.97 ┃ 665 ┃ NaN ┃ 665 ┃ 674 ┃ 2 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+Statistics for 2 simultaneous requests
+Processing google took 67694ms (3384.7ms per request)
+Processing bing took 10248ms (512.4ms per request)
+main
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 7731 ┃ 8095 ┃ 1.04 ┃ 8170 ┃ 5861 ┃ 10889 ┃ 10889 ┃ 12 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 929 ┃ 944 ┃ 0.94 ┃ 1031 ┃ 837 ┃ 1557 ┃ 1557 ┃ 12 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+search
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 509 ┃ 680 ┃ 1.83 ┃ 714 ┃ NaN ┃ 714 ┃ 995 ┃ 4 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 940 ┃ 940 ┃ NaN ┃ 940 ┃ NaN ┃ 940 ┃ 940 ┃ 1 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+notFound
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 7207 ┃ 7483 ┃ 1.13 ┃ 7401 ┃ NaN ┃ 7401 ┃ 7938 ┃ 4 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 730 ┃ 748 ┃ 0.84 ┃ 798 ┃ NaN ┃ 798 ┃ 1004 ┃ 4 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+[Error: Response from https://www.google.com/ length is 43325; first response length was 42351]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+Statistics for 4 simultaneous requests
+Processing google took 67352ms (1683.8ms per request)
+Processing bing took 14488ms (362.2ms per request)
+main
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 7680 ┃ 7806 ┃ 1.02 ┃ 7737 ┃ 5653 ┃ 9601 ┃ 10237 ┃ 23 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 1160 ┃ 1168 ┃ 1.08 ┃ 1318 ┃ 1032 ┃ 2855 ┃ 4281 ┃ 24 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+search
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 497 ┃ 506 ┃ 0.99 ┃ 569 ┃ NaN ┃ 569 ┃ 1101 ┃ 8 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 1389 ┃ 1389 ┃ 0.89 ┃ 1389 ┃ NaN ┃ 1389 ┃ 1468 ┃ 2 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+notFound
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 7594 ┃ 7736 ┃ 0.96 ┃ 7877 ┃ NaN ┃ 7877 ┃ 8843 ┃ 8 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 877 ┃ 883 ┃ 0.98 ┃ 892 ┃ NaN ┃ 892 ┃ 1008 ┃ 8 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+[Error: Response from https://www.google.com/ length is 42345; first response length was 42351]
+[Error: Response from http://www.bing.com/notfound length is 17845; first response length was 17524]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/ length is 24481; first response length was 24160]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+[Error: Response from http://www.bing.com/search?q=test length is 35494; first response length was 35493]
+Statistics for 8 simultaneous requests
+Processing google took 68302ms (853.775ms per request)
+Processing bing took 10214ms (127.675ms per request)
+main
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 7941 ┃ 8035 ┃ 1.19 ┃ 8112 ┃ 5945 ┃ 10899 ┃ 11549 ┃ 47 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 939 ┃ 939 ┃ 0.7 ┃ 990 ┃ 843 ┃ 1385 ┃ 1466 ┃ 47 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+search
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 608 ┃ 632 ┃ 0.72 ┃ 764 ┃ 385 ┃ 2249 ┃ 2249 ┃ 16 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 1322 ┃ 1322 ┃ 0.68 ┃ 1368 ┃ NaN ┃ 1368 ┃ 1659 ┃ 3 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+notFound
+┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
+┃ Engine ┃ Trimmed mean ┃ Median ┃ Temporal disrepancy ┃ Mean ┃ Top 10% ┃ Bottom 10% ┃ Max ┃ Sample size ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ google ┃ 7103 ┃ 7264 ┃ 1.02 ┃ 7443 ┃ 5323 ┃ 10010 ┃ 10010 ┃ 16 ┃
+┣━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━━┫
+┃ bing ┃ 718 ┃ 716 ┃ 1.02 ┃ 747 ┃ 675 ┃ 984 ┃ 984 ┃ 15 ┃
+┗━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
+
+Done benchmarking
Please sign in to comment.
Something went wrong with that request. Please try again.