Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 21 days 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 (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-26T22:38:11.000Z (almost 3 years ago)
- Last Synced: 2024-10-04T15:22:01.711Z (about 1 month 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)
```