Avatar for the oxc-project user
oxc-project
oxc-sourcemap
BlogDocsChangelog

Performance History

Latest Results

feat(sourcemap): add into_parts / from_parts for allocation-free transforms Add `SourceMapParts<'a>` — a destructured form of `SourceMap<'a>` that exposes its owned `Cow<'a, str>` fields. Returned by `SourceMap::into_parts`, consumed by `SourceMap::from_parts` / `From<SourceMapParts>`. Use case: downstream code that wants to *transform* a sourcemap (rewrite tokens, swap in a different `file`, drop `token_chunks`) without going through string accessors. The previous API only exposed `&str` views, which forced a clone of every name / source / sourcesContent string when the caller wanted to take ownership and reassemble. With `into_parts`, that becomes a `Vec<Cow<'a, str>>` move — zero per-string allocations. Pairs naturally with `set_file` / `set_sources` etc. for in-place mutation when the caller only needs to change one field.
perf/decode-borrowed-deserialization
2 hours ago
[autofix.ci] apply automated fixes
perf/decode-borrowed-deserialization
3 hours ago
[autofix.ci] apply automated fixes
perf/decode-borrowed-deserialization
4 hours ago
chore: release v6.1.2
release-plz-2026-05-25T05-39-38Z
4 hours ago

Latest Branches

CodSpeed Performance Gauge
+6%
perf!: borrow strings in SourceMap, drop Arc<str>#329
2 hours ago
e26b447
perf/decode-borrowed-deserialization
CodSpeed Performance Gauge
+3%
CodSpeed Performance Gauge
+3%
4 hours ago
a901059
perf/decode-inline-vlq
© 2026 CodSpeed Technology
Home Terms Privacy Docs