webpack
webpack
BlogDocsChangelog

added support for import file from "./file.ext" with { type: "bytes" } to get the content as `Uint8Array`

#19928Merged
Comparing
feat-asset-bytes
(
f3829f6
) with
main
(
c647cf1
)
CodSpeed Performance Gauge
-27%
Improvements
3
Regressions
2
Untouched
37

Benchmarks

Failed

benchmark "devtool-source-map", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
Regression
CodSpeed Performance Gauge
-27%
84.7 ms116.8 ms
benchmark "react", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
Regression
CodSpeed Performance Gauge
-19%
207 ms256.1 ms

Improved

benchmark "many-modules-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+30%
167.5 ms129.1 ms
benchmark "many-chunks-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+23%
157.2 ms128 ms
benchmark "react", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+20%
133.4 ms111.5 ms

Passed

benchmark "many-modules-esm", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+10%
371.9 ms338 ms
benchmark "many-chunks-commonjs", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+10%
282.5 ms258 ms
benchmark "future-defaults", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+8%
117.6 ms108.7 ms
benchmark "devtool-eval-source-map", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+6%
78.5 ms74.1 ms
benchmark "devtool-eval-source-map", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+2%
1.3 s1.3 s
benchmark "cache-filesystem", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+2%
1.6 s1.5 s
benchmark "devtool-eval-source-map", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
284.6 ms281.3 ms
benchmark "devtool-source-map", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
1.9 s1.9 s
benchmark "context-esm", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
393.8 ms390.3 ms
benchmark "lodash", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
9.7 s9.6 s
benchmark "future-defaults", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
2.6 s2.6 s
benchmark "three-long", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
5.1 s5.1 s
benchmark "context-commonjs", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
154.5 ms153.5 ms
benchmark "three-long", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
4.8 s4.8 s
benchmark "many-modules-commonjs", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
2.1 s2.1 s
benchmark "context-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
42.2 ms42.1 ms
benchmark "many-modules-esm", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
2.5 s2.5 s
benchmark "many-chunks-esm", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
263.3 ms262.8 ms
benchmark "devtool-eval", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
1.1 s1.1 s
benchmark "react", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
868.5 ms869.2 ms
benchmark "many-chunks-commonjs", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
2 s2 s
benchmark "many-chunks-esm", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
2.3 s2.3 s
benchmark "context-commonjs", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
747.2 ms751.6 ms
benchmark "context-esm", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
3.8 s3.9 s
benchmark "cache-filesystem", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-3%
1.1 s1.1 s
benchmark "many-modules-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-3%
126.6 ms130.8 ms
benchmark "three-long", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-5%
357.2 ms374.3 ms
benchmark "lodash", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-6%
82.8 ms88.1 ms
benchmark "context-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-6%
57.2 ms60.9 ms
benchmark "devtool-eval", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-6%
237.5 ms253.7 ms
benchmark "many-chunks-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-7%
116 ms124.6 ms
benchmark "devtool-eval", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-7%
41.3 ms44.3 ms
benchmark "future-defaults", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-7%
343.3 ms369.1 ms
benchmark "lodash", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-8%
731.6 ms793.6 ms
benchmark "many-modules-commonjs", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-10%
310.6 ms347 ms
benchmark "cache-filesystem", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-11%
344.7 ms387.5 ms
benchmark "devtool-source-map", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-12%
264.3 ms298.9 ms

Commits

Click on a commit to change the comparison range
Base
main
c647cf1
-51.39%
refactor: rebase
1b35a93
1 month ago
by alexander-akait
+49.57%
test: fix
6587df0
1 month ago
by alexander-akait
+1.4%
test: fix
a170e5b
1 month ago
by alexander-akait
-58.88%
test: fix
42c74d6
1 month ago
by alexander-akait
×2.1
test: fix again
b1a2a5a
1 month ago
by alexander-akait
-78.01%
test: fix
f3829f6
1 month ago
by alexander-akait
© 2025 CodSpeed Technology
Home Terms Privacy Docs