mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
[doc] update file size table for ORT Web (#20755)
### Description <!-- Describe your changes. --> ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
This commit is contained in:
parent
f1fef19b6e
commit
e412bc1919
1 changed files with 8 additions and 8 deletions
16
js/README.md
16
js/README.md
|
|
@ -247,15 +247,15 @@ By default, the WebAssembly artifacts from onnxruntime-web package allows use of
|
|||
|
||||
#### Reduced JavaScript bundle file fize
|
||||
|
||||
By default, the main bundle file `ort.min.js` of ONNX Runtime Web contains all features. However, its size is over 500kB and for some scenarios we want a smaller sized bundle file, if we don't use all the features. The following table lists all available bundles with their support status of features.
|
||||
By default, the main bundle file `ort.all.min.js` of ONNX Runtime Web contains all features. However, its size is over 500kB and for some scenarios we want a smaller sized bundle file, if we don't use all the features. The following table lists all available bundles with their support status of features.
|
||||
|
||||
| bundle file name | file size | file size (gzipped) | WebGL | WASM-core | WASM-proxy | WASM-threads | ES5 backward compatibility |
|
||||
| -------------------- | --------- | ------------------- | ----- | --------- | ---------- | ------------ | -------------------------- |
|
||||
| ort.es5.min.js | 594.15KB | 134.25KB | O | O | O | O | O |
|
||||
| ort.min.js | 526.02KB | 125.07KB | O | O | O | O | X |
|
||||
| ort.webgl.min.js | 385.25KB | 83.83KB | O | X | X | X | X |
|
||||
| ort.wasm.min.js | 148.56 | 44KB | X | O | O | O | X |
|
||||
| ort.wasm-core.min.js | 40.56KB | 12.74KB | X | O | X | X | X |
|
||||
| bundle file name | file size | file size (gzipped) | WebGL | WASM | WebGPU |
|
||||
| ----------------- | --------- | ------------------- | ----- | ---- | ------ |
|
||||
| ort.all.min.js | 682 KB | 166 KB | O | O | O |
|
||||
| ort.min.js | 434 KB | 102 KB | O | O | X |
|
||||
| ort.webgl.min.js | 411 KB | 93.6 KB | O | X | X |
|
||||
| ort.webgpu.min.js | 293 KB | 80.1 KB | X | O | O |
|
||||
| ort.wasm.min.js | 46 KB | 14.8 KB | X | O | X |
|
||||
|
||||
#### Build ONNX Runtime as a WebAssembly static library
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue