Avatar for the web-infra-dev user
web-infra-dev
rspack
BlogDocsChangelog

feat: add swc transformSync and minifySync api

#10640Merged
Comparing
feat/support-swc-sync-api
(
df2d742
) with
main
(
0cec0b6
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
12
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

rust@bundle-basic
tasks/benchmark/benches/groups/basic_build.rs::basic::basic_benchmark::rust@bundle-basic
CodSpeed Performance Gauge
+1%
4.1 ms
4 ms
rust@build_chunk_graph_parallel
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark::rust@build_chunk_graph_parallel
CodSpeed Performance Gauge
+1%
72.1 ms
71.3 ms
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse compilation.modules
CodSpeed Performance Gauge
0%
66.8 µs
66.5 µs
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project::js@record chunk group
CodSpeed Performance Gauge
0%
91.3 µs
90.9 µs
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project::js@collect imported identifiers
CodSpeed Performance Gauge
0%
221.3 µs
220.4 µs
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project::js@stats.toJson()
CodSpeed Performance Gauge
0%
25.4 ms
25.3 ms
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse module graph by connections
CodSpeed Performance Gauge
0%
290.8 µs
290 µs
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project::js@is css mod
CodSpeed Performance Gauge
0%
90.6 µs
90.4 µs
rust@bundle-basic_sourcemap
tasks/benchmark/benches/groups/basic_build.rs::basic::basic_benchmark::rust@bundle-basic_sourcemap
CodSpeed Performance Gauge
0%
4.2 ms
4.2 ms
rust@build_chunk_graph
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark::rust@build_chunk_graph
CodSpeed Performance Gauge
0%
93.9 ms
93.9 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project::js@record module
CodSpeed Performance Gauge
0%
2 ms
2 ms
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse module graph by dependencies
CodSpeed Performance Gauge
0%
542.3 µs
542.3 µs

Commits

Click on a commit to change the comparison range
Base
main
0cec0b6
0%
feat: add swc sync api
a26b4eb
2 days ago
by GiveMe-A-Name
0%
chore: format js
98e1aca
2 days ago
by GiveMe-A-Name
0%
Rename transform functions for consistency and update API documentation
6eafb66
23 hours ago
by GiveMe-A-Name
0%
refactor: simplify transform_sync implementation using napi::bindgen_prelude::within_runtime_if_available
39f33a5
19 hours ago
by GiveMe-A-Name
0%
Add testing abourt swc transformSync api
df2d742
16 hours ago
by GiveMe-A-Name
© 2025 CodSpeed Technology
Home Terms Privacy Docs