question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve performance with WebAssembly

See original GitHub issue

Scanning a frame for QR codes is a rather expensive operation. The library responsible for this job (jsQR) also makes up a major part of the bundle size. Maybe performance could be increased by using a WebAssembly module instead. This component depends on modern browser features anyway so browser support shouldn’t suffer too bad?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
gruhncommented, Mar 25, 2019

Yeah, I heard of it. I hope this becomes usable soon.

1reaction
StefanFeederlecommented, Mar 25, 2019

Do you know about the Shape Detection API? It’s using native modules to scan for barcodes (and text and faces). This way we could avoid shipping huge js/webassembly bundles. https://github.com/WICG/shape-detection-api https://www.chromestatus.com/feature/4757990523535360

Read more comments on GitHub >

github_iconTop Results From Across the Web

Boosting WebAssembly Performance with SIMD and Multi ...
The previously mentioned TensorFlow Wasm benchmarks reveal that SIMD is responsible for a 1.7 to 4.5 performance improvement factor vs.
Read more >
Increase Rust and WebAssembly performance
Increase Rust and WebAssembly performance ... WebAssembly makes it possible to run languages like C, C++, Rust and other languages in the browser....
Read more >
How We Used WebAssembly To Speed Up Our Web App By ...
In this article, we explore how we can speed up web applications by replacing slow JavaScript calculations with compiled WebAssembly.
Read more >
How to get a performance boost using WebAssembly - Medium
How about learning how to use WebAssembly and get a performance boost? This article continues a serie of articles that we are writing...
Read more >
Improving performance using WebAssembly SIMD Intrinsics
Methods to Improve Performance. There are mainly three approaches to improve performance: More optimization flags; Use multi-thread; Use SIMD ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found