Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ on:
push:
branches: [master, main]
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:

permissions:
contents: read
id-token: write

jobs:
benchmarks:
name: Run benchmarks
Expand All @@ -25,9 +31,9 @@ jobs:
- run: pnpm install

- name: Run benchmarks under CodSpeed
uses: CodSpeedHQ/action@v3
uses: CodSpeedHQ/action@v4
with:
mode: simulation
run: pnpm vitest bench --run --config vitest.bench.config.ts
token: ${{ secrets.CODSPEED_TOKEN }}
env:
NODE_ENV: production
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# intervaltree JS

[![CodSpeed](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/hexsprite/intervaltree?utm_source=badge)

A mutable, self-balancing interval tree for JavaScript/TypeScript.

Written in TypeScript with no external dependencies. Uses an augmented AVL tree under the hood for O(log n) operations.
Expand Down
Loading