powturbo / TurboBench

Compression Benchmark
326 stars 34 forks source link

turbobench doesn't work #13

Closed flip111 closed 5 years ago

flip111 commented 5 years ago

I have a i3-4005U cpu, running ubuntu 16.04. I just tried to clone and run this program, with the command ./turbobench -p2 -S2 file.tbb &> error_output.txt then the program aborts with exit code 255 and the output of error_output.txt is <86> <AD><FB> (less puts < and > with hexcode instead of showing raw characters). file.tbb was not written

powturbo commented 5 years ago

file.tbb is the turbobench result file after benchmarking and is generated by turbobench. Please read the "README" file.

flip111 commented 5 years ago

I want to get the file.tbb file with the results. But it's not written by turbobench. Please reopen the issue.

powturbo commented 5 years ago

Here an example: ./turbobench -ebrotli,6/zlib,6 myfile will generate the result file "myfile.tbb" The result file "myfile.tbb" is always generated. The only exception is when turbobench crashes.

flip111 commented 5 years ago

Ah i got it to work now. I was confused by the wording in the readme:

I was looking at this command ./turbobench -p2 -S2 file.tbb And it says "Print result file" .. so i think i get to see a result file.

Also this is under the "Testing" header. So i think a new result file will be generated.

But actually i had to generate a result file first with other commands before being able to generate that html file.

It would still be better to say something like "input benchmark file not found" when trying to generate a html from a file that does not exist.

I have another question .. which command can i use to test all possible codecs (and their settings) ?

flip111 commented 5 years ago

ping @powturbo is there a command to test all possible codecs and their settings? i didn't want to open a new issue for it to ask ..

powturbo commented 5 years ago

No. This will take too long to finnish. You can however define your own codec grouo in the "turbobench.ini" file.