Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions frameworks/fulmine/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions frameworks/fulmine/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"tls_check": true,
"tests": [
"baseline", "latency-1m", "latency-10k",
"connections-1m", "connections-1m-tls",
"pipelined",
"limited-conn",
"async",
Expand Down
56 changes: 56 additions & 0 deletions site/data/results/fulmine.js.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Empty file.
Empty file.