Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New C# version with Sylvan.Data.Csv reader + Minimal API single file #23

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

xoofx
Copy link

@xoofx xoofx commented Oct 28, 2022

This is a C# version that is matching the Rust version, single file using ASP.NET minimal API and using Sylvan.Data.Csv for loading the csv.

The C# version should now be more on par with the Rust version. Results from my machine:

  • Loading stop_times: C# 392ms vs Rust 669ms
  • k6 50VUs benchmark: C# 2585.538852/s vs Rust 2279.490415/s

@xoofx xoofx changed the title New C# version with NReco.Csv reader + Minimal API single file New C# version with Sylvan.Data.Csv; reader + Minimal API single file Oct 28, 2022
@xoofx xoofx changed the title New C# version with Sylvan.Data.Csv; reader + Minimal API single file New C# version with Sylvan.Data.Csv reader + Minimal API single file Oct 28, 2022
@xoofx xoofx mentioned this pull request Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants