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) 50534.0 Ops/sec
(WebGL) Tensor_from_OffscreenCanvas 41.8 Ops/sec
(WebGL) Tensor_from_Canvas_TypedArray 3.0 Ops/sec
(WebGL) Tensor_from_Canvas_ImageData 9.6 Ops/sec
(WebGL) Tensor_from_Canvas 14.3 Ops/sec
Async wait for init (WebGL) 57449.4 Ops/sec
(CPU) 14 411625472.0 Ops/sec
(CPU) 13 413443328.0 Ops/sec
(CPU) 12 409465792.0 Ops/sec
(CPU) 11 409331136.0 Ops/sec
(CPU) 10 411099168.0 Ops/sec
(CPU) 9 404752288.0 Ops/sec
(CPU) 8 408238464.0 Ops/sec
(CPU) 7 411123136.0 Ops/sec
(CPU) 6 366373184.0 Ops/sec
(CPU) 5 408607360.0 Ops/sec
(CPU) 4 405482944.0 Ops/sec
(CPU) 3 412546016.0 Ops/sec
(General) OffscreenCanvas_from_Canvas 599.4 Ops/sec
(General) OffscreenCanvas_from_Canvas_ImageData 14.5 Ops/sec
(WASM) Tensor_from_Canvas 7.6 Ops/sec
(WASM) Tensor_from_Canvas_ImageData 6.8 Ops/sec
(WASM) Tensor_from_Canvas_TypedArray 6.2 Ops/sec
(WASM) 1 392489344.0 Ops/sec
(WebGL) Tensor_from_OffscreenCanvas_ImageData 11.5 Ops/sec
(WASM) 2 402594592.0 Ops/sec
Async wait for init (CPU) 56805.3 Ops/sec
(CPU) Tensor_from_Canvas 9.7 Ops/sec
(CPU) Tensor_from_Canvas_ImageData 9.7 Ops/sec
(CPU) Tensor_from_Canvas_TypedArray 9.3 Ops/sec
(CPU) 1 407906176.0 Ops/sec
(CPU) 2 408185696.0 Ops/sec
(WASM) 3 411809536.0 Ops/sec
(WebGL) Tensor_from_OffscreenCanvas_TypedArray 3.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