Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Chrome 113
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
Async wait for init (WASM) 47004.9 Ops/sec
(WebGL) 4 342270240.0 Ops/sec
(WebGL) 3 382926304.0 Ops/sec
(WebGL) 2 373193312.0 Ops/sec
(WebGL) 1 392135104.0 Ops/sec
(WebGL) Tensor3d_from_TypedArray 3.0 Ops/sec
(WebGL) Tensor3d_from_ImageData 9.2 Ops/sec
(WebGL) Tensor3d_from_Canvas 12.4 Ops/sec
Async wait for init (WebGL) 53067.0 Ops/sec
(CPU) 3 397796256.0 Ops/sec
(CPU) 2 388043008.0 Ops/sec
(CPU) 1 363960160.0 Ops/sec
(CPU) Tensor3d_from_TypedArray 8.8 Ops/sec
(CPU) Tensor3d_from_ImageData 8.4 Ops/sec
(CPU) Tensor3d_from_Canvas 8.5 Ops/sec
Async wait for init (CPU) 55078.2 Ops/sec
(WASM) 3 390108384.0 Ops/sec
(WASM) 2 389353120.0 Ops/sec
(WASM) 1 389297248.0 Ops/sec
(WASM) Tensor3d_from_TypedArray 7.2 Ops/sec
(WASM) Tensor3d_from_ImageData 7.0 Ops/sec
(WASM) Tensor3d_from_Canvas 6.7 Ops/sec
(General) OffscreenCanvas_2d_from_ImageData 7.2 Ops/sec
(General) OffscreenCanvas_2d_from_Canvas 552.2 Ops/sec
(WebGL) 5 365953920.0 Ops/sec
(WebGL) 6 349310944.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Async wait for init (WASM)

  • (General) OffscreenCanvas_from_Canvas

  • (General) OffscreenCanvas_from_Canvas_ImageData

  • (General) OffscreenCanvas_from_OffscreenCanvas

  • (General) OffscreenCanvas_from_OffscreenCanvas_ImageData

  • (WASM) 1

  • (WASM) Tensor_from_Canvas

  • (WASM) Tensor_from_Canvas_ImageData

  • (WASM) Tensor_from_Canvas_TypedArray

  • (WASM) Tensor_from_OffscreenCanvas

  • (WASM) Tensor_from_OffscreenCanvas_ImageData

  • (WASM) Tensor_from_OffscreenCanvas_TypedArray

  • (WASM) 2

  • Async wait for init (CPU)

  • (CPU) Tensor_from_Canvas

  • (CPU) Tensor_from_Canvas_ImageData

  • (CPU) Tensor_from_Canvas_TypedArray

  • (CPU) Tensor_from_OffscreenCanvas

  • (CPU) Tensor_from_OffscreenCanvas_ImageData

  • (CPU) Tensor_from_OffscreenCanvas_TypedArray

  • (CPU) 1

  • Async wait for init (WebGL)

  • (WebGL) Tensor_from_Canvas

  • (WebGL) Tensor_from_Canvas_ImageData

  • (WebGL) Tensor_from_Canvas_TypedArray

  • (WebGL) Tensor_from_OffscreenCanvas

  • (WebGL) Tensor_from_OffscreenCanvas_ImageData

  • (WebGL) Tensor_from_OffscreenCanvas_TypedArray