# Hereby installed globally
pnpm install -g hereby
hereby bench-RUNTIME
# Hereby installed locally
pnpm hereby bench-RUNTIME
# With string length
hereby bench-RUNTIME --length=100_000
Where RUNTIME
is one of:
node
- Node.jsdeno
- Denograal
- GraalJShermes
- Hermesquickjs
- QuickJS
- Install Deno.
- Set the
DENO
environment variable to thedeno
binary or add it to yourPATH
. - Run with
hereby bench-deno
.
- Download and extract the GraalVM JDK.
- Set the
GRAALVM_HOME
environment variable to the GraalVM JDK directory. - Install the Node.js component with
$GRAALVM_HOME/bin/gu install nodejs
. - Run with
hereby bench-graal
.
- Download and extract Hermes.
- Set the
HERMES
environment variable to thehermes
binary or add it to yourPATH
. - Run with
hereby bench-hermes
.
- Download and extract QuickJS.
- Set the
QUICKJS
environment variable to theqjs
binary or add it to yourPATH
. - Run with
hereby bench-quickjs
.