]> iEval git - io-compress-brotli.git/commit
Use the decoded size to measure the throughput, same as bro tool.
authorQuim Rovira <quim@rovira.cat>
Sun, 14 Aug 2016 11:27:09 +0000 (13:27 +0200)
committerQuim Rovira <quim@rovira.cat>
Sun, 14 Aug 2016 11:27:09 +0000 (13:27 +0200)
commit807f50a6c182d8c3b733e028821829c8ace89499
tree44247a6e45837e6c179cec8cdf24ae690a8e38e4
parent01e72b73ccd37e6f3c9080c8d98be6f18522a81b
Use the decoded size to measure the throughput, same as bro tool.

Now the performance make a bit more sense:

[quim@ling] ~/workspace/io-compress-brotli $ time perl -Iblib/lib
-Iblib/arch bin/bro-perl --input brotli/tests/testdata/alice29.txt
--output /tmp/out.test --repeat 40 --quality 10 --verbose
Ran 40 iterations in a total of 4.536567 seconds
Brotli compression speed: 1.278882 MB/s

real    0m4.586s
user    0m4.484s
sys     0m0.048s

[quim@ling] ~/workspace/io-compress-brotli $ time brotli/bin/bro --input
brotli/tests/testdata/alice29.txt --output /tmp/out.test --repeat 40
--quality 10 --verbose
Brotli compression speed: 1.2328 MB/s

real    0m4.759s
user    0m4.704s
sys     0m0.000s
bin/bro-perl
This page took 0.026138 seconds and 4 git commands to generate.