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
P.S. Is there any other backend for lightningFS? I need a simple in-memory strorage.
It's quite ironic that lightningFS is so sluggish for a tiny test repo.
Maybe I'm doing something wrong?
The text was updated successfully, but these errors were encountered:
I have a code to read a real folder from File Access API into lightningFS.
The repo is about 800kb, has 300 files.
The code works very slowly, because of writeFile (~1.3 sec).
I've read that indexedDB throttles
writeFile
, is that so?How to speedup?
Here's the code, it recursively reads all dirs/files and uses
fs.promises.writeFile
to write them to lightningFS.This
writeFile
call is the main reason for the delay, even though the data is very small.P.S. Is there any other backend for lightningFS? I need a simple in-memory strorage.
It's quite ironic that lightningFS is so sluggish for a tiny test repo.
Maybe I'm doing something wrong?
The text was updated successfully, but these errors were encountered: