systemjs / systemjs

Dynamic ES module loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide explanation on script load performance overhead

noherczeg opened this issue · comments

  • SystemJS Version:
  • Which library are you using?
    • system.js
    • s.js
    • system-node.cjs
  • Which extras are you using?
    • AMD extra
    • Named Exports
    • Named Register
    • Transform
    • Use Default
    • Global
    • Dynamic Import Maps
  • Are you using any custom hooks?

Question

The official documentation refers to a 1.5x performance overhead for loading scripts when using systemjs. Can anyone please provide some info on where does this overhead come from? E.g.: if I'm only using system bundles, then there should be no special AST magic applied right?

I'd suggest putting this explanation to the docs as well.

Thank you!