The compression time could vary based on the text content inside, even though the filesize is the same (compression algorithms are character based). I would try creating a file that has the same text content everywhere (let me know if I am missing anything)
Below is an example to create a series of numbers from 10m to 20m which creates an 86 mb file which will have same size, same text everywhere
This is regarding the test where you create a 25 mb file from urandom data to test Bzip speed (line 27-28)
The compression time could vary based on the text content inside, even though the filesize is the same (compression algorithms are character based). I would try creating a file that has the same text content everywhere (let me know if I am missing anything)
Below is an example to create a series of numbers from 10m to 20m which creates an 86 mb file which will have same size, same text everywhere
seq 10000000 20000000 > seq.txt