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

145
Vistas
Is it possible to check whether a browser is fast by JavaScript in a simple way?

I am building a one-page app.

I have some visual features that can be on or off.

A simple way is to ask the user whether they would like to see better effects.

However, is it possible for me to detect it from JavaScript rather than asking them?

For instance:

var iterations = 100000000;
for(var i = 0; i < iterations; i++ ){
  // do nothing
};
var time_took = console.timeEnd();
if(time_took < 150) {
  // good device
  launchEffects();
}

Is this way above reliable? Any good way to achieve this? Just approximate performance check is good, I don't want to import huge 3rd-party library.

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