Project to test if is faster to read files in PHP v7.1 or NodeJs v6.7.
Tests:
- Reading file
- Piping file to output
- Modifying file
Modification of file consist of:
- Concatenating of first_name and last_name fields into full_name
- Tranforming of gender "Female" and "Male" values into "F" and "M"
- Deleting IP address
- Changing separator from "," to ";"
Look in run.sh to view the test scenarios.
To run container use commands:
- docker build -t file-read-test .
- docker run -it --rm --name my-file-read-test file-read-test