Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

97
Vistas
Why is my Chrome extension is faster during performance profiling?

I have a basic extension that contains 3 input fields. When I type at most bottom (the third) input - its content text is updated super slow (after a few seconds / after I focus out of the input).

I wanted to measure the extension's performance to understand the root cause of the issue using Chrome devtools, so I clicked on Inspect Popup, opened the Performance tab, and clicked on start profiling (the grey circle button on the top left). Then the magic happened -> as long as the session was recorded all the inputs started to work super fast! when I stopped the profiling, the problematic input started to react slowly again.

Why when I record and profile the extension it works faster? Is there a configuration that changes using the profiling time?

####popup.html####
   
<!DOCTYPE html> <html><head>
<meta charset="utf-8" />   </head>   <body>
<div id="app"></div>
<input>
<input>
<input>   </body> </html>
manifest.json
{

"name": "NAME",
"version": "0.0.0",
"manifest_version": 2,
"key": ...,
"content_security_policy": "script-src 'self' https://unpkg.com; object-src 'self'",
"icons": {
  "128": "images/icon-128.png"
},
"background": {
  "page": "background.html"
},
"browser_action": {
  "default_icon": "images/icon-128.png",
  "default_title": "Title",
  "default_popup": "popup.html"
}   }
background.html
<!DOCTYPE html> <html>   <head>
<!-- <script type="module" src="background.bundle.js"></script> -->   </head>   <body></body> </html>

have some extra webpack conf files but don't think they are relevant. The rest of the code is commented out as I'm trying to understand the behavior of the input.

as long as this screen is showed - the inputs worked fast

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda