Benchmarking Node.js Worker Threads

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • benchmark.js

    A benchmarking library. As used on jsPerf.com.

  • We used Benchmark.js for benchmarking and piscina as a pool for worker threads. benchmark.js was used to run the same code in 2 scenarios - one using a single thread and one using the piscina pool. The degree of parallelism was passed to the program via an environment variable. The test code is present in worker.js in both the cases.

  • piscina

    A fast, efficient Node.js Worker Thread Pool implementation

  • We used Benchmark.js for benchmarking and piscina as a pool for worker threads. benchmark.js was used to run the same code in 2 scenarios - one using a single thread and one using the piscina pool. The degree of parallelism was passed to the program via an environment variable. The test code is present in worker.js in both the cases.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • httpbin

    HTTP Request & Response Service, written in Python + Flask.

  • // worker.js const request = require('request-promise'); function fibonacci(n) { if (n < 2) return 1; else return fibo(n - 2) + fibo(n - 1); } module.exports = async () => { fibonacci(20); await request('https://httpbin.org/get'); };

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Which NodeJS framework is the fastest?

    6 projects | /r/node | 7 Aug 2022
  • How fast is NodeJS for backend development?

    3 projects | /r/node | 2 Oct 2021
  • React Magic: How to Create a Custom Hook for Seamless Data Retrieval.

    1 project | dev.to | 30 Apr 2024
  • How to protect API Keys in React projects using Gateweaver

    2 projects | dev.to | 28 Apr 2024
  • API Handling: Utilizing the Facade Pattern with Axios in Frontend Development

    2 projects | dev.to | 25 Apr 2024