Skip to content

Rework color detection (#87) #121

Rework color detection (#87)

Rework color detection (#87) #121

Workflow file for this run

name: Benchmarks
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
FORCE_COLOR: 3
jobs:
benchmarks:
name: Benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 22
- run: npm install
- name: Ensure color support detection
run: node tests/environments.js
- name: Install esbuild
run: npm install esbuild
- name: Simple API calls
run: node benchmarks/simple.mjs
- name: Complex formatting expression
run: node benchmarks/complex.mjs
- name: Library module's init time
run: node benchmarks/loading.mjs
- name: Total loaded code size
run: node benchmarks/size.mjs