Compare commits

..

No commits in common. "f6e9a678f0444f580b6b16e89ab36a5bcd2ed964" and "48816f68e26753fbd784cce3616dc999f14af731" have entirely different histories.

2 changed files with 2 additions and 6 deletions

View File

@ -18,8 +18,6 @@ gzip size: 28.84 MB
zlib size: 29.7 MB
```
As you can see (this above is a real output, you might get a different result as it uses random number(actually, this reminded me to add a seed...)) so get ready to generate a large file. Also, depending on your computer and number of log lines, the file might crash or at least take a long time to load in your editor. Check the size first.
The script will also generate a log.txt file
You can try differents settings by simply updating the code:

6
flm.py
View File

@ -6,11 +6,9 @@ import gzip
import zlib
import humanfriendly
random.seed(12345)
population = 10000
population = 100
loglines = 200
loglines = 2000000
lines_per_minute = 5