Skip to content

About

A straightforward JavaScript benchmarking tool and REPL with support for ES modules and libraries.

Topics

Resources

Stars

184 stars

Watchers

1 watching

Forks

Repository files navigation

JS Benchmark

Look at the Nuxt 4 documentation to learn more.

Setup

Make sure to install the dependencies:

pnpm install

Development Server

Start the development server on http://localhost:3000:

pnpm run dev

Production

Build the application for production:

pnpm run build

Locally preview production build:

pnpm run preview

Check out the deployment documentation for more information.

Cloudflare Pages

Use pnpm run build as the build command and dist as the output directory. Nuxt detects Cloudflare Pages automatically. To build and preview that preset locally:

NITRO_PRESET=cloudflare_pages pnpm run build
npx wrangler@4 pages dev dist

Testing

Run the unit tests:

pnpm test

Install the browsers once, then run the end-to-end tests in Chromium and Firefox:

pnpm exec playwright install chromium firefox
pnpm test:e2e

Use pnpm test:e2e:ui to run the Playwright suite interactively.

About

A straightforward JavaScript benchmarking tool and REPL with support for ES modules and libraries.

Topics

Resources

Stars

184 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages