Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

ReadAsync into memory stream is extremely slow #34

Open
TechCitySouth opened this issue May 6, 2020 · 1 comment
Open

ReadAsync into memory stream is extremely slow #34

TechCitySouth opened this issue May 6, 2020 · 1 comment

Comments

@TechCitySouth
Copy link

Steve,

I set up the simple demo per your writeup. Loading a 15Mb file takes 55 seconds!
Your writeup says "...For client-side Blazor (WebAssembly), the data transfer speed is limited only by your CPU. You can load a 10 MB file into .NET memory almost instantly. On my machine, loading a 100 MB file into a .NET byte array takes about a second...."
Can you provide the sample code that accomplished this?

@Lupusa87
Copy link

Lupusa87 commented May 6, 2020

If it will be helpful to you please check this demo and this repo.
Based on Steve's work I have made my own library for loading files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants