Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

146
Visualizações
Measure HTML5 Canvas VS CSS3 performances on video effects

I want to show a MediaStream from the camera back to the user.

I'm using a Canvas and the drawImage method to render the stream.

I need to flip and blur the image.

I want to understand if it's more performant to apply the blur and scale effects to the canvas using CanvasRenderingContext2D.filter OR using CSS3 transform.rotate() and filter: blur() applied to the canvas element.

For context i'm inside a React app, but i don't think this is relevant.

To clarify my question is not "which one is better" (although suggestions are welcome) but it's: How would you measure the performances in order to make the best decision?

I can open chrome's console>performance monitor but it only gives me a live view of the CPU usage, i don't have a way to get the average through time and it's not consistent.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda