• Stars
    star
    3
  • Rank 3,963,521 (Top 79 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿš€ A CLI to benchmark the loading of an ESM graph in Node

node-module-benchmarker

node-module-benchmarker

Usage

Install the dependency: pnpm install -D node-module-benchmarker and use the node-module-benchmarker executable instead of node specifying the output path with the environment variable BENCHMARK_OUTPUT_PATH.

For example, BENCHMARK_OUTPUT_PATH=benchmark.json pnpm exec node-module-benchmarker src/index.js instead of node src/index.js. The tool will benchmark the time it takes to load the CJS and ESM modules, stop the execution after 5 seconds, and output the results.

Development

Setup

  1. Clone the repository: git clone https://github.com/catalysisdev/node-module-benchmarker.git.
  2. Install dependencies: pnpm install.
  3. Build: pnpm build
  4. Test: pnpm test.

System requirements

References

More Repositories

1

PPiAwesomeButton

UIButton category with new methods to setup a button with text + FontAwesome Icon
Objective-C
496
star
2

catalysis-framework

A full-stack Javascript framework ยท Built for the long-term
TypeScript
51
star
3

xcode-modular-apps-workshop

Mobos Conference (Romania) about building modular apps with Xcode
Swift
23
star
4

typed-file-system-path

๐Ÿ“ƒ Typed primitives for Typescript to work with file paths
TypeScript
7
star
5

developing-modular-apps-on-ios

Slides from the talk that I gave at NSCoder Night Madrid
7
star
6

pepicrft.me

๐Ÿฃ Personal website powered by Phoenix (pepicrft.me)
Elixir
3
star
7

dotfiles.nix

Dotfiles powered by Nix and home-manager
Nix
2
star
8

gestalt

๐ŸŽจ A Rust-powered and language-agnostic solution to build interactive UIs for web apps
2
star
9

intrepid-adventure-of-scaling-mobile-apps-talk

The slides of my presentation "The intrepid adventure of scaling a mobile apps"
2
star
10

modulex

๐Ÿ“ฆ Generate a module whose implementation can be swapped at runtime with tools like Mox
Elixir
1
star
11

detect-create-package-manager

An NPM package to detect the package manager used for running the "create" command
TypeScript
1
star
12

still_scss

๐ŸŽจ A scss preprocessor for the Still static site generator
Elixir
1
star
13

noora

๐ŸŒฑ Noora is a native UI compiler for the web
1
star
14

encrypted-environment

Ruby utility to load encrypted variables into the environment
Ruby
1
star
15

WDM_over_POF

Analysis and viability of WDM technology in POF networks - Final degree project
TeX
1
star
16

rssletter

โœ‰๏ธ Turn newsletter subscriptions into a RSS feed
Elixir
1
star
17

website-old

๐ŸŒ Pedro Piรฑera's personal static website
HTML
1
star
18

pepicrft.me-next

๐Ÿ‘ฉโ€๐Ÿš€ Personal website implemented with NextJS
JavaScript
1
star
19

gestaltjs

A full-stack and batteries-included NodeJS framework designed and built for the long-term
1
star
20

Tratamiento-Digital-de-Im-genes-iOS

Asignatura de tratamiento de digital de imรกgenes trasladada a iOS con todos los ejercicios de la asignatura.
Objective-C
1
star
21

simple-dynamic-configuration-tuist

A repository that showcases how to use dynamic configuration in Tuist
Swift
1
star
22

bodamariajoseypedro

JavaScript
1
star
23

solare

Solare is an iOS application to alert user how dangerous UV is
Objective-C
1
star
24

pepicrft

1
star