Compare commits

..

2 Commits

Author SHA1 Message Date
ed barz f6e9a678f0 big file disclaimer added 2023-01-10 10:31:55 +01:00
ed barz 510b4a97b4 seed added 2023-01-10 10:31:10 +01:00
2 changed files with 6 additions and 2 deletions

View File

@ -18,6 +18,8 @@ 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,9 +6,11 @@ import gzip
import zlib
import humanfriendly
population = 10000
random.seed(12345)
loglines = 2000000
population = 100
loglines = 200
lines_per_minute = 5