You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the jsdom and d3 libraries have been imported to generate HTML for the QRCodeService module.
However, we only use a small subset of the functionalities contained within these libraries.
As such, we could look into alternative replacements to reduce the memory footprint of the client app and decrease loading times.
One suggestion is cheeriojs, a Javascript library that can parse, traverse and manipulate HTML, but does not implement features such as visual rendering, applying CSS, loading external resources, or executing JavaScript. I think it's a close match for our needs.
Metrics that can be used to measure the effectiveness of this proposal include the client app load time as well as the time taken to generate QR Codes.
The text was updated successfully, but these errors were encountered:
Currently, the jsdom and d3 libraries have been imported to generate HTML for the QRCodeService module.
However, we only use a small subset of the functionalities contained within these libraries.
As such, we could look into alternative replacements to reduce the memory footprint of the client app and decrease loading times.
One suggestion is cheeriojs, a Javascript library that can parse, traverse and manipulate HTML, but does not implement features such as visual rendering, applying CSS, loading external resources, or executing JavaScript. I think it's a close match for our needs.
Metrics that can be used to measure the effectiveness of this proposal include the client app load time as well as the time taken to generate QR Codes.
The text was updated successfully, but these errors were encountered: