Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Learn More

Slow when when a big javascript file is loaded in the dev tool

  • Pa përgjigje
  • 3 e kanë hasur këtë problem
  • 2 parje
more options

Hello,

I'm working on a website with Ember.js. There a big "vendor.js" file with 300 000 lines of code where a lot of addons are concatenated. When I open the file in the dev tool, it takes all the CPU and a lot of RAM (at least 2Go). When I reload the page, it takes again a lot of ram. It can go takes 4go for a single tab and 50% of my CPUs. Furthermore, the links are inaccurate in Firedox dev edition and don't match the lines in files. It's worst when the source map is enabled because I don't have to open the big file to have the effect. I'm on firefox dev edition 58.0b8 and firefox 57. It's a lot better when "devtools.debugger.new-debugger-frontend" is false.

Thanks for your help !

Hello, I'm working on a website with Ember.js. There a big "vendor.js" file with 300 000 lines of code where a lot of addons are concatenated. When I open the file in the dev tool, it takes all the CPU and a lot of RAM (at least 2Go). When I reload the page, it takes again a lot of ram. It can go takes 4go for a single tab and 50% of my CPUs. Furthermore, the links are inaccurate in Firedox dev edition and don't match the lines in files. It's worst when the source map is enabled because I don't have to open the big file to have the effect. I'm on firefox dev edition 58.0b8 and firefox 57. It's a lot better when "devtools.debugger.new-debugger-frontend" is false. Thanks for your help !