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
onFileUpdate is not being thread safe. It needs to enqueue a task to the main thread. It should coalesce these. Maybe we can get away with sending hashes instead of the file path bytes. It will need to allocate probably regardless.
Remember that module resolution opens lots of file descriptors and parses stuff. Benchmarking making it multi threaded some time ago made the bundler slower due to increasing the file descriptor table size.
The text was updated successfully, but these errors were encountered:
onFileUpdate is not being thread safe. It needs to enqueue a task to the main thread. It should coalesce these. Maybe we can get away with sending hashes instead of the file path bytes. It will need to allocate probably regardless.
Remember that module resolution opens lots of file descriptors and parses stuff. Benchmarking making it multi threaded some time ago made the bundler slower due to increasing the file descriptor table size.
The text was updated successfully, but these errors were encountered: