crystal-csv-gz-test

crystal-csv-gz-test

Crystal port of https://github.com/mostlygeek/go-csv-gz-test

This is a micro-benchmark project to see how fast Crystal can filter S3 inventory .csv.gz files

Other implementations:

Usage

# get some working data, downloads 1GB from S3 into testdata/ subdirectory
> ./download.sh

# Processing using a one file at a time
> crystal run ./filter.cr

My results (on my late 2016 13" MBP)

Total: 31521045, Matched: 710093, Ratio: 2.25%
Time: 00:28:44.910567000
Repository

crystal-csv-gz-test

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 6 years ago
  • June 19, 2018
License

MIT License

Links
Synced at

Sun, 17 Nov 2024 06:05:10 GMT

Languages