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) 456620.7 Ops/sec
(WebGL) Tensor_from_OffscreenCanvas 9.7 Ops/sec
(WebGL) Tensor_from_Canvas_TypedArray 2.8 Ops/sec
(WebGL) Tensor_from_Canvas_ImageData 8.5 Ops/sec
(WebGL) Tensor_from_Canvas 9.7 Ops/sec
Async wait for init (WebGL) 847807.8 Ops/sec
(CPU) 1 566986304.0 Ops/sec
(CPU) Tensor_from_OffscreenCanvas_TypedArray 6.8 Ops/sec
(CPU) Tensor_from_OffscreenCanvas_ImageData 6.9 Ops/sec
(CPU) Tensor_from_OffscreenCanvas 6.8 Ops/sec
(CPU) Tensor_from_Canvas_TypedArray 6.8 Ops/sec
(CPU) Tensor_from_Canvas_ImageData 6.8 Ops/sec
(CPU) Tensor_from_Canvas 6.8 Ops/sec
Async wait for init (CPU) 892864.4 Ops/sec
(WASM) 2 568511232.0 Ops/sec
(WASM) Tensor_from_OffscreenCanvas_TypedArray 4.9 Ops/sec
(WASM) Tensor_from_OffscreenCanvas_ImageData 4.9 Ops/sec
(WASM) Tensor_from_OffscreenCanvas 4.9 Ops/sec
(WASM) Tensor_from_Canvas_TypedArray 4.9 Ops/sec
(WASM) Tensor_from_Canvas_ImageData 4.9 Ops/sec
(WASM) Tensor_from_Canvas 4.9 Ops/sec
(WASM) 1 570875584.0 Ops/sec
(General) OffscreenCanvas_from_OffscreenCanvas_ImageData 6.4 Ops/sec
(General) OffscreenCanvas_from_OffscreenCanvas 175.1 Ops/sec
(General) OffscreenCanvas_from_Canvas_ImageData 6.3 Ops/sec
(General) OffscreenCanvas_from_Canvas 169.9 Ops/sec
(WebGL) Tensor_from_OffscreenCanvas_ImageData 8.7 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