Skip to content
libkakashiPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

lsp-bench

Benchmark suite comparing two JSON Language Server implementations. Measures latency, throughput, and memory across 8 LSP scenarios.

Servers under test

Scenarios

startup · open+diagnostics · completion · hover · formatting · documentSymbol · edit+diagnostics · memory

Each scenario runs against three fixture sizes (1KB, 50KB, 500KB).

Usage

bun run bench          # 20 iterations, 5 warmup
bun run bench:quick    # 5 iterations, 2 warmup
bun run bench:full     # 50 iterations, 10 warmup

Options

-n, --iterations <n>   Measured iterations (default: 20)
-w, --warmup <n>       Warmup iterations (default: 5)
-s, --scenario <name>  Run a single scenario
-f, --fixture <size>   small | medium | large | all
-o, --output <path>    JSON output path

Output

  • Console tables with p50/p95/mean latencies per server
  • Side-by-side comparison with speedup ratios
  • Memory (RSS) comparison
  • JSON export to results/

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages