Comments (2)
I've done extensive file io testing with Dart and found that Dart's async transformers and raw IO bandwidth are actually a huge bottleneck. See dart-lang/sdk#43534 .
So I feel that the slowness may not be caused by the library itself.
The IO performance problem seems to be caused by many separate read operations, which have operating system overhead (on windows at least), and the fact that every async task is first scheduled and then executed at the next tick.
Sync operations can be twice as fast.
I haven't checked if this package can be used synchronously, but if you can I'd recommend:
- read your entire CSV file at once (dart has a limit of 1GB), or read it into chunks as large as possible
- process the data synchronously
from csv.
Well, turns out my assumption was wrong. It indeed is slow. Please see PR #36 . This solves the encoding performance problem.
from csv.
Related Issues (20)
- Create sheet HOT 2
- utf-8 support? HOT 1
- Safari issue in exported csv HOT 4
- CsvToListConverter return all the row data in single entry HOT 3
- [bug] `CsvToListConverter` does not split last row element from the first element of the next row. HOT 1
- The numbers or time contain "\" HOT 2
- Different output in debug and when deployed HOT 1
- EOL error HOT 1
- Multi Sheets per file ? HOT 1
- How to make each fields data to be enclosed with double quotes. HOT 1
- Mime type HOT 3
- Escaping HOT 1
- Delimiter for decimal HOT 2
- Unexpected Error: The text end delimiter (") for the last field is missing. HOT 2
- [DocumentManager] The view service did terminate with error: Error Domain=_UIViewServiceErrorDomain Code=1 "(null)" UserInfo={Terminated=disconnect method} HOT 1
- Issue compatibility with Flutter 3.10.x HOT 3
- Warning in cvs-5.1.0 HOT 1
- No support sep paramter
- svToListConverter().convert doesn`t work on IOS (works on android)
- Parse csv content is not correct HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csv.