# One Billion Row challenge in Hs

**URL:** <https://discourse.haskell.org/t/one-billion-row-challenge-in-hs/8946>\
**Category:** Links\
**Created:** [March 3, 2024, 8:24am UTC](https://discourse.haskell.org/t/one-billion-row-challenge-in-hs/8946 "2024-03-03T08:24:38Z")\
**Posts on this page:** 1\
**Showing post:** 141

<div class="post-metadata">

**Author:** ![ReleaseCandidate](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/releasecandidate/32/2849_2.png) [@ReleaseCandidate](https://discourse.haskell.org/u/ReleaseCandidate)\
**Post date:** [March 14, 2024, 8:12pm UTC](https://discourse.haskell.org/t/one-billion-row-challenge-in-hs/8946/141 "2024-03-14T20:12:47Z")

</div>

This version now runs in 29s on my computer, 8s less than the previous version. And RAM usage went down to 60MB (-15GB).

```nohighlight
% hyperfine -w 1 -r 5 './exe-exe > ../solution.txt'
Benchmark 1: ./exe-exe > ../solution.txt
  Time (mean ± σ): 28.535 s ± 0.023 s [User: 25.609 s, System: 2.818 s]
  Range (min … max): 28.505 s … 28.556 s 5 runs

```

---

_[View the full topic](https://discourse.haskell.org/t/one-billion-row-challenge-in-hs/8946)._
