Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36
Chrome Mobile 113
Android
Mobile
one year ago
Test name Executions per second
Async wait for init (WASM) 219206.1 Ops/sec
(WebGL) Tensor_from_OffscreenCanvas 9.6 Ops/sec
(WebGL) Tensor_from_Canvas_TypedArray 2.7 Ops/sec
(WebGL) Tensor_from_Canvas_ImageData 8.5 Ops/sec
(WebGL) Tensor_from_Canvas 9.7 Ops/sec
Async wait for init (WebGL) 827934.6 Ops/sec
(CPU) 1 572877696.0 Ops/sec
(CPU) Tensor_from_OffscreenCanvas_TypedArray 6.7 Ops/sec
(CPU) Tensor_from_OffscreenCanvas_ImageData 6.7 Ops/sec
(CPU) Tensor_from_OffscreenCanvas 6.7 Ops/sec
(CPU) Tensor_from_Canvas_TypedArray 6.7 Ops/sec
(CPU) Tensor_from_Canvas_ImageData 6.8 Ops/sec
(CPU) Tensor_from_Canvas 6.7 Ops/sec
Async wait for init (CPU) 833073.8 Ops/sec
(WASM) 2 575256448.0 Ops/sec
(WASM) Tensor_from_OffscreenCanvas_TypedArray 4.6 Ops/sec
(WASM) Tensor_from_OffscreenCanvas_ImageData 4.8 Ops/sec
(WASM) Tensor_from_OffscreenCanvas 4.7 Ops/sec
(WASM) Tensor_from_Canvas_TypedArray 4.8 Ops/sec
(WASM) Tensor_from_Canvas_ImageData 4.7 Ops/sec
(WASM) Tensor_from_Canvas 4.6 Ops/sec
(WASM) 1 571791488.0 Ops/sec
(General) OffscreenCanvas_from_OffscreenCanvas_ImageData 6.8 Ops/sec
(General) OffscreenCanvas_from_OffscreenCanvas 196.5 Ops/sec
(General) OffscreenCanvas_from_Canvas_ImageData 6.6 Ops/sec
(General) OffscreenCanvas_from_Canvas 204.4 Ops/sec
(WebGL) Tensor_from_OffscreenCanvas_ImageData 8.6 Ops/sec
(WebGL) Tensor_from_OffscreenCanvas_TypedArray 2.8 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