Avatar for the F915 user
F915
Zoo-Code
BlogDocsChangelog

Add CodSpeed performance benchmarks

#2
Merging
codspeed-wizard-1780399327895
into
main
CodSpeed Performance Gauge
N/A
New
18

Benchmarks

18 total
all options enabled
src/benchmarks/text-normalization.bench.ts::normalizeString
CodSpeed Performance Gauge
N/A
N/A850.8 µs
ID with special characters
src/benchmarks/tool-id.bench.ts::sanitizeToolUseId
CodSpeed Performance Gauge
N/A
N/A23 µs
simple command
src/benchmarks/parse-command.bench.ts::parseCommand
CodSpeed Performance Gauge
N/A
N/A142.9 µs
complex command (pipes, redirections, subshells)
src/benchmarks/parse-command.bench.ts::parseCommand
CodSpeed Performance Gauge
N/A
N/A264 µs
multi-line script
src/benchmarks/parse-command.bench.ts::parseCommand
CodSpeed Performance Gauge
N/A
N/A352.7 µs
short input
src/benchmarks/text-normalization.bench.ts::unescapeHtmlEntities
CodSpeed Performance Gauge
N/A
N/A42.6 µs
shell variables and expansions
src/benchmarks/parse-command.bench.ts::parseCommand
CodSpeed Performance Gauge
N/A
N/A218.4 µs
short ID (no truncation)
src/benchmarks/tool-id.bench.ts::truncateOpenAiCallId
CodSpeed Performance Gauge
N/A
N/A18.5 µs
clean ID (no-op)
src/benchmarks/tool-id.bench.ts::sanitizeToolUseId
CodSpeed Performance Gauge
N/A
N/A32.3 µs
chained commands (&&)
src/benchmarks/parse-command.bench.ts::parseCommand
CodSpeed Performance Gauge
N/A
N/A155.1 µs
short clean ID
src/benchmarks/tool-id.bench.ts::sanitizeOpenAiCallId
CodSpeed Performance Gauge
N/A
N/A18.6 µs
long ID (needs truncation + hash)
src/benchmarks/tool-id.bench.ts::truncateOpenAiCallId
CodSpeed Performance Gauge
N/A
N/A117.9 µs
short string
src/benchmarks/text-normalization.bench.ts::normalizeString
CodSpeed Performance Gauge
N/A
N/A66.3 µs
long ID with special characters
src/benchmarks/tool-id.bench.ts::sanitizeOpenAiCallId
CodSpeed Performance Gauge
N/A
N/A130 µs
special characters ID
src/benchmarks/tool-id.bench.ts::sanitizeOpenAiCallId
CodSpeed Performance Gauge
N/A
N/A24.2 µs
long string (100 lines)
src/benchmarks/text-normalization.bench.ts::normalizeString
CodSpeed Performance Gauge
N/A
N/A842.6 µs
smart quotes only
src/benchmarks/text-normalization.bench.ts::normalizeString
CodSpeed Performance Gauge
N/A
N/A252.6 µs
long input (50 repetitions)
src/benchmarks/text-normalization.bench.ts::unescapeHtmlEntities
CodSpeed Performance Gauge
N/A
N/A231.4 µs

Commits

Click on a commit to change the comparison range
No baseline data is yet availableOnce your main branch has generated a first performance report, you will see the list of commits and their performance impact here.
© 2026 CodSpeed Technology
Home Terms Privacy Docs