Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >

Best Practices for Increasing Speed with Dynamsoft Barcode Reader JavaScript Edition

Jan 24, 2019
Best Practices for Increasing Speed with Dynamsoft Barcode Reader JavaScript Edition

Dynamsoft Barcode Reader JavaScript Edition is a JavaScript API for barcode scanning based on the latest WebAssembly technology. Overall, JavaScript Edition comes with a clear advantage - end users don’t need to install anything to use your web application. However, this relatively new technology relies heavily on browsers, which may impact decoding performance. Try Online Demo >

Performance Data with Different Browsers

Generally, the performance of WebAssembly depends on the network connection, device and browser used. Below are some preliminary data from our testing.


Note:

  • The Initial Load (cold cache) column lists the time spent on downloading the WASM file and compilation when a user first accesses the above demo page.
  • The Subsequent Visits (warm cache) column lists the time spent on page load from the second time forward. The Average Time column lists the average time spent on localizing and decoding multiple barcodes from one video frame.

1. Android

From our test, on Android phones, Firefox has much better speed than Chrome. If you have control over your users’ browser choice, Firefox is recommended.

2. iPhone

On iOS phones (iPhones), we recommend using newer hardware, such as iPhone 7 or higher.

3. Desktop

The performance on desktops is generally acceptable in different browsers across the operating systems. From our test, Safari performs less optimally on macOS.

Preloading the .wasm File

For better user experience, especially with iPhones and first-time visits, you may consider making some small adjustments to ease users’ anxiety while waiting for the page to load. For example, you can move the barcode reading step further down the user flow so that when users are performing the previous steps, the page can start preloading the .wasm file or compiling it in advance. This way, users won’t notice the long load time when they reach the barcode reading step. Contrary to what some may believe, specifying the barcode format does not actually help too much on speeding up the loading of Dynamsoft Barcode Reader JavaScript Edition. The reason is that with Dynamsoft Barcode Reader, linear codes, QR code, Datamatrix, PDF417 and Aztec are all scanned at once.

Subscribe Newsletter

Subscribe to our mailing list to get the monthly update.

Subscribename@email.com