🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

fastify-benchmarks

Package Overview
Dependencies
Maintainers
9
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-benchmarks

Benchmarks for Fastify, a fast and low-overhead web framework.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
9
Created
Source

Build Status Coverage Status js-standard-style NPM version NPM downloads Gitter


TL;DR

  • Fastify is, fast and low overhead web framework for Node.js
  • This package shows how fast it is comparatively.

Installing

npm i -g fastify-benchmarks

Usage

benchmark [arguments (optional)]

Arguments

  • -h: Help on how to use the tool.
  • compare: Get comparative data for your benchmarks.

You may also compare all test results, at once, in a single table; benchmark compare -t

You can also extend the comparison table with percentage values based on fastest result; benchmark compare -p

Benchmarks

  • Machine: CPU-optimized server (DigitalOcean, 32 GB RAM, 16 vCPUs, Ubuntu 18.04.2 x64).
  • Method: autocannon -c 100 -d 5 -p 10 localhost:3000 (two rounds; oneq to warm-up, one to measure).
  • Node: 10.15.2
RouterRequests/sLatencyThroughput/Mb
rayo76372.31.219.01
polka74182.41.278.22
fastify70854.41.3411.15
micro68636.81.3810.85
connect605921.578.55
bare591201.618.55
trek-router573281.678.07
spirit55804.81.488.65
trek-engine55548.81.737.92
koa540641.778.53
spirit-router52598.41.68.18
connect-router51171.21.877.33
koa-router48438.41.997.63
total.js46595.22.0613.15
express-route-prefix43324.82.2215.05
hapi39036.812.486.08
express388002.496.13
microrouter37865.62.555.97
restify34609.62.565.47
take-five30164.82.8410.05
express-with-middlewares28750.43.3810.35
fastify-big-json11256.88.7127.60

FAQs

Package last updated on 01 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts