https://github.com/jpedroschmitz/reports-generator
Elixir module that processes large CSV files with Elixir Streams and generates reports based on the data.
https://github.com/jpedroschmitz/reports-generator
elixir elixir-lang parallelism
Last synced: 4 months ago
JSON representation
Elixir module that processes large CSV files with Elixir Streams and generates reports based on the data.
- Host: GitHub
- URL: https://github.com/jpedroschmitz/reports-generator
- Owner: jpedroschmitz
- Created: 2021-10-17T14:30:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-26T22:38:11.000Z (over 3 years ago)
- Last Synced: 2025-02-05T07:32:45.947Z (5 months ago)
- Topics: elixir, elixir-lang, parallelism
- Language: Elixir
- Homepage:
- Size: 1.62 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
# Reports Generator
Elixir algorithm exercise that processes large CSV files with Elixir Streams and generates reports based on the data.
## Measuring runtime:
**Normal version:**
```elixir
:timer.tc(fn -> ReportsGenerator.build("report_complete.csv") end)
```**Parallel version:**
```elixir
:timer.tc(fn -> ReportsGenerator.build_from_many(["report_1.csv", "report_2.csv", "report_3.csv"]) end)
```