I guess i was not using ?build=profile correctly. I was able to get the log file from the demo site. I put it in this pastebin: main.profile.dart.js?v=5.6.28:17811 Flutter Web Bootstrap: Auto.main.profile.d - Pastebin.com
Some parts that seem interesting:
canvaskit.js:9 wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
main.profile.dart.js?v=5.6.28:17811 CanvasKit threw an exception while laying out the paragraph. The font was "MaterialIcons". Exception:
RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
main.profile.dart.js?v=5.6.28:139644 RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
main.profile.dart.js?v=5.6.28:139644 at abort (https://demo.invoiceninja.com/canvaskit/profiling/canvaskit.js:9:135902)
main.profile.dart.js?v=5.6.28:139644 at _abort (https://demo.invoiceninja.com/canvaskit/profiling/canvaskit.js:9:183585)
main.profile.dart.js?v=5.6.28:139644 at sk_malloc_flags(unsigned long, unsigned int) (wasm://wasm/022469ce:wasm-function[360]:0x10f14)
main.profile.dart.js?v=5.6.28:139644 at SkContainerAllocator::allocate(int, double) (wasm://wasm/022469ce:wasm-function[239]:0xa5f0)
main.profile.dart.js?v=5.6.28:139644 at SkTArray<skia::textlayout::Run, false>::checkRealloc(int, SkTArray<skia::textlayout::Run, false>::ReallocType) (wasm://wasm/022469ce:wasm-function[2611]:0x1236cb)
main.profile.dart.js?v=5.6.28:139644 at std::__2::__function::__func<skia::textlayout::OneLineShaper::shape()::$_3::operator()(skia::textlayout::SkRange<unsigned long>, SkSpan<skia::textlayout::Block>, float&, unsigned long, unsigned char) const::'lambda'(skia::textlayout::Block, SkTArray<SkShaper::Feature, true>), std::__2::allocator<skia::textlayout::OneLineShaper::shape()::$_3::operator()(skia::textlayout::SkRange<unsigned long>, SkSpan<skia::textlayout::Block>, float&, unsigned long, unsigned char) const::'lambda'(skia::textlayout::Block, SkTArray<SkShaper::Feature, true>)>, void (skia::textlayout::Block, SkTArray<SkShaper::Feature, true>)>::operator()(skia::textlayout::Block&&, SkTArray<SkShaper::Feature, true>&&) (wasm://wasm/022469ce:wasm-function[7282]:0x3c9537)
main.profile.dart.js?v=5.6.28:139644 at std::__2::__function::__func<skia::textlayout::OneLineShaper::shape()::$_3, std::__2::allocator<skia::textlayout::OneLineShaper::shape()::$_3>, float (skia::textlayout::SkRange<unsigned long>, SkSpan<skia::textlayout::Block>, float&, unsigned long, unsigned char)>::operator()(skia::textlayout::SkRange<unsigned long>&&, SkSpan<skia::textlayout::Block>&&, float&, unsigned long&&, unsigned char&&) (wasm://wasm/022469ce:wasm-function[7279]:0x3c7bb8)
main.profile.dart.js?v=5.6.28:139644 at skia::textlayout::ParagraphImpl::layout(float) (wasm://wasm/022469ce:wasm-function[7989]:0x3efd3d)
main.profile.dart.js?v=5.6.28:139644 at emscripten::internal::MethodInvoker<void (SkFont::*)(float), void, SkFont*, float>::invoke(void (SkFont::* const&)(float), SkFont*, float) (wasm://wasm/022469ce:wasm-function[2492]:0x112177)
main.profile.dart.js?v=5.6.28:139644 at ClassHandle.layout (https://demo.invoiceninja.com/canvaskit/profiling/canvaskit.js:9:162679)
main.profile.dart.js?v=5.6.28:139644 Another exception was thrown: Instance of 'ErrorSummary'
canvaskit.js:9 Aborted()
I hope this helps. If you need any more information or need something tested or diagnosed then let me know and I’ll try to help.