Skip to content

Commit e60715a

Browse files
committed
update README
1 parent a6b27ec commit e60715a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Example of text file parsing in Python, Golang, Elixir, Rust and Crystal
44

55
Text source: 79.4MB in 30 files
66

7+
- Rust 1.51.0 (parallel) with sorting: 2s, without sorting: 1s
78
- Python 3.9.5 (parallel) with sorting: 3.42s, without sorting: 2.47
9+
- Go 1.16.4 (parallel) with sorting: 6.41s, without sorting: 3.75s
810
- Rust 1.51.0 with sorting: 7s, without sorting: 5s (no parallelism)
9-
- Go 1.16.4 (parallel) with sorting: 7.32s, without sorting: 4.06s
10-
- Python 3.9.5 with sorting: 10s, without sorting 8.32s (no multiprocessing)
11-
- Crystal 1.0.0 with sorting: 17s, without sorting: 7s (non optimized sort, no parallelism)
11+
- Python 3.9.5 with sorting: 10s, without sorting 8.32s (no parallelism)
12+
- Crystal 1.0.0 with sorting: 13s, without sorting: 7s (no parallelism)
1213
- Go 1.16.4 with sorting: 21s, without sorting: 11s (no parallelism)
1314
- Elixir 1.12 (parallel) with sorting: 33s (without release build)
1415

15-
1616
macOS 11.3.1, MacBook Pro (Retina, 15-inch, Late 2013)
1717

1818
```bash
@@ -25,14 +25,14 @@ target/release/words_extractor_rs
2525

2626
cd words_extractor_go
2727
make build
28-
./main
28+
GOGC=2000 ./main
2929

3030
cd words_extractor_cr
3131
crystal build --release src/fast_words_cr.cr -o main
3232
./main
3333

3434
cd words_extractor_ex
35-
mix run "WordsExtractor.run"
35+
mix run -e "WordsExtractor.run"
3636
```
3737

3838
## Running Python

words_extractor_ex/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ words_extractor_ex-*.tar
2727
/.elixir_ls/
2828
/.history/
2929
/.ipynb_checkpoints/
30+
/words/

0 commit comments

Comments
 (0)