Large Xml to csv is tooo slow(Json to csv)
See original GitHub issuewhen try with large xml to csv or json to csv it take more time. code is
StringBuilder csvData = new StringBuilder();
using (var r = new ChoJSONReader(Json))
{
using (var w = new ChoCSVWriter(csvData).WithFirstLineHeader())
{
w.Write(r);
}
}
or
StringBuilder sb = new StringBuilder();
using (var p = ChoXmlReader.LoadText(doc.InnerXml))
{
using (var w = new ChoCSVWriter(sb).WithFirstLineHeader())
w.Write(p);
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Converting very large files from xml to csv
For a 1 GB .txt file with xml data, my old method took around ~25-30 minutes, this method takes ~45 seconds. What a...
Read more >Efficient way to convert a large xml file to csv
It will depend on the structure of your xml file (next time a short sample would be helpfull). Usually, you can do it...
Read more >Read large amount of XMLs and load into single csv
The code gives the result that I want: Each row is a single XML while columns are the categories/variable names coming from the...
Read more >How to convert large xml file to csv/sheet format : r/rstats
I'm trying to convert the large FDA Adverse Drug event data available in a large xml format to a user-friendly format for my...
Read more >How to Convert Large XML to CSV Format?
This write-up is going to explain the methods to convert large XML to CSV format in bulk using the best and fastest methods....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please try installing prerelease packages. try.
Where is the source for this fix? There is no new commit for this issue.