diff --git a/frameworks/fulmine/app.js b/frameworks/fulmine/app.js index 97a682de4..699061d9d 100644 --- a/frameworks/fulmine/app.js +++ b/frameworks/fulmine/app.js @@ -65,9 +65,10 @@ app.get('/pipeline', (req, res) => { }); // GET and POST registered apart: each one goes native on uWS, and the GET reads no header. -app.get('/baseline11', (req, res) => { +const baseline = (req, res) => { res.type('text/plain').send(String(sumQuery(req.query))); -}); +}; +app.get('/baseline11', baseline); // the load generator sends no Content-Type, so the parser reads any body app.post('/baseline11', readText, (req, res) => { @@ -254,12 +255,13 @@ app.uwsApp.ws('/ws', { message: (ws, message, isBinary) => ws.send(message, isBinary) }); -// json-tls, static-tls and 8gbit over TLS on 8081, when the harness mounts the certs. +// json-tls, static-tls, 8gbit and connections-1m-tls over TLS on 8081, when the harness mounts the certs. // https://fulmine.sndesign.it/examples/https const tlsApp = (dir) => { const target = configure(express({ uwsOptions: { key_file_name: dir + '/server.key', cert_file_name: dir + '/server.crt' } })); + target.get('/baseline11', baseline); registerJsonRoute(target); registerStaticRoute(target); registerEchoRoute(target); diff --git a/frameworks/fulmine/meta.json b/frameworks/fulmine/meta.json index 40dc7b0b1..7e9040bc5 100644 --- a/frameworks/fulmine/meta.json +++ b/frameworks/fulmine/meta.json @@ -19,6 +19,7 @@ "tls_check": true, "tests": [ "baseline", "latency-1m", "latency-10k", + "connections-1m", "connections-1m-tls", "pipelined", "limited-conn", "async", diff --git a/site/data/results/fulmine.js.json b/site/data/results/fulmine.js.json index 1820fead7..542d2ccfb 100644 --- a/site/data/results/fulmine.js.json +++ b/site/data/results/fulmine.js.json @@ -161,6 +161,62 @@ "status_4xx": 0, "status_5xx": 0 }, + "connections-1m-1000000": { + "framework": "fulmine.js", + "language": "JS", + "rps": 250001, + "avg_latency": "83.4us", + "p99_latency": "158.0us", + "max_latency": "", + "cpu": "994.1%", + "memory": "6.1GiB", + "connections": 1000000, + "threads": 64, + "duration": "20s", + "pipeline": 1, + "bandwidth": "29.25MB/s", + "reconnects": 0, + "status_2xx": 5000013, + "status_3xx": 0, + "status_4xx": 0, + "status_5xx": 0, + "cpu_usec": 205108577, + "cpu_per_req_us": 41.0216, + "target_rate": 250000, + "rate_ratio": 1.0, + "p99_9_latency": "221.0us", + "p50_latency": "79.0us", + "connections_open": 1000000, + "window_connect_errors": 0 + }, + "connections-1m-tls-1000000": { + "framework": "fulmine.js", + "language": "JS", + "rps": 249967, + "avg_latency": "83.0us", + "p99_latency": "165.0us", + "max_latency": "", + "cpu": "1689.5%", + "memory": "9.3GiB", + "connections": 1000000, + "threads": 64, + "duration": "20s", + "pipeline": 1, + "bandwidth": "29.25MB/s", + "reconnects": 0, + "status_2xx": 5000345, + "status_3xx": 0, + "status_4xx": 0, + "status_5xx": 0, + "cpu_usec": 241458635, + "cpu_per_req_us": 48.2884, + "target_rate": 250000, + "rate_ratio": 0.9999, + "p99_9_latency": "263.0us", + "p50_latency": "79.0us", + "connections_open": 1000000, + "window_connect_errors": 0 + }, "echo-ws-16384": { "framework": "fulmine.js", "language": "JS", diff --git a/site/static/logs/connections-1m-tls/1000000/fulmine.log b/site/static/logs/connections-1m-tls/1000000/fulmine.log new file mode 100644 index 000000000..e69de29bb diff --git a/site/static/logs/connections-1m/1000000/fulmine.log b/site/static/logs/connections-1m/1000000/fulmine.log new file mode 100644 index 000000000..e69de29bb