Good idea but I literally have nothing to profile about. createscene, importmesh, setup sps/instances, assign materials, render. Instead I went with a webgl2 conformance chk which ran for half a day and threw a whole bunch of errors.
"failures": [
"conformance/canvas/webgl-to-2d-canvas.html",
"conformance/extensions/webgl-compressed-texture-s3tc.html",
"conformance/extensions/webgl-compressed-texture-s3tc-srgb.html",
"conformance/reading/read-pixels-test.html",
"conformance/rendering/bind-framebuffer-flush-bug.html",
"conformance/textures/misc/compressed-tex-image.html",
"deqp/functional/gles3/shadertexturefunction/texturesize.html",
"deqp/functional/gles3/transformfeedback/basic_types_separate_points.html",
"deqp/functional/gles3/transformfeedback/basic_types_separate_lines.html",
"deqp/functional/gles3/transformfeedback/basic_types_separate_triangles.html",
"deqp/functional/gles3/transformfeedback/random_separate_points.html",
"deqp/functional/gles3/transformfeedback/random_separate_lines.html",
"deqp/functional/gles3/transformfeedback/random_separate_triangles.html",
"conformance2/extensions/ext-texture-filter-anisotropic.html",
"conformance2/glsl3/sampler-array-indexing.html",
"conformance2/glsl3/tricky-loop-conditions.html",
"conformance2/rendering/blitframebuffer-resolve-to-back-buffer.html",
"conformance2/rendering/draw-buffers.html",
"conformance2/rendering/framebuffer-render-to-layer-angle-issue.html",
"conformance2/rendering/framebuffer-texture-changing-base-level.html",
"conformance2/rendering/instanced-arrays.html",
"conformance2/rendering/vertex-id.html",
"conformance2/textures/misc/copy-texture-image-same-texture.html",
"conformance2/textures/misc/tex-3d-mipmap-levels-intel-bug.html",
"conformance2/textures/misc/tex-input-validation.html",
"conformance2/textures/misc/tex-mipmap-levels.html",
"conformance2/textures/misc/tex-storage-compressed-formats.html",
"conformance2/textures/misc/tex-unpack-params-with-flip-y-and-premultiply-alpha.html",
"conformance2/textures/canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/canvas_sub_rectangle/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/canvas_sub_rectangle/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_data/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_data/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/svg_image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/svg_image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/video/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/video/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/webgl_canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/webgl_canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_image_data/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_image_data/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_video/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_video/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_blob/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_blob/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_image_bitmap/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/textures/image_bitmap_from_image_bitmap/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html",
"conformance2/uniforms/large-uniform-buffers.html",
],
Not 100% sure but it seems like the rendering and texture failures indicate the device doesn’t support webgl2 completely. I need a faster way to determine if a device running bjs is conformative but I guess that’s for another day.
Thanks all for input and help, I have to go bang my head at another wall, cheers!