summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Quim Rovira [Wed, 17 Aug 2016 10:18:44 +0000 (12:18 +0200)]
Remove leftover param from test
Quim Rovira [Tue, 16 Aug 2016 21:48:44 +0000 (23:48 +0200)]
Remove NYI from IO::Compress::Brotli pod header
Quim Rovira [Tue, 16 Aug 2016 21:40:55 +0000 (23:40 +0200)]
Use typemaps instead of manually managing the SVs
Ævar suggested that using typemaps quite a bit of code could be cleaned
up and have some of the default sanity checks for free (see generated C
code in Brotli.c).
This also allows removing some of the perl sub wrappers, althought there
are some more cleanups that could be done on that, and the impact is
arguably low-to-none.
Quim Rovira [Mon, 15 Aug 2016 16:05:21 +0000 (18:05 +0200)]
Allow only window values between kBrotliMinWindowBits and kBrotliMaxindowBits
Quim Rovira [Mon, 15 Aug 2016 15:51:16 +0000 (17:51 +0200)]
Fix leak of encoded_buffer on bro() spotted by mattia
Quim Rovira [Mon, 15 Aug 2016 15:33:29 +0000 (17:33 +0200)]
Add missing brotli/Makefile file to the MANIFEST
Quim Rovira [Sun, 14 Aug 2016 11:27:09 +0000 (13:27 +0200)]
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
Quim Rovira [Sun, 14 Aug 2016 10:59:50 +0000 (12:59 +0200)]
Add .bak files to .gitignore
Quim Rovira [Sun, 14 Aug 2016 10:57:31 +0000 (12:57 +0200)]
Add --repeat and --verbose options to bro-perl
Quim Rovira [Sun, 14 Aug 2016 10:15:49 +0000 (12:15 +0200)]
Update MANIFEST
Quim Rovira [Sun, 14 Aug 2016 10:07:24 +0000 (12:07 +0200)]
Add travis.yml file
Quim Rovira [Sun, 14 Aug 2016 09:49:17 +0000 (11:49 +0200)]
Update README
Quim Rovira [Sun, 14 Aug 2016 09:38:41 +0000 (11:38 +0200)]
Add tests for compression, and a CLI tool for manual testing.
I changed the names of the tests, so that compress round-trip runs
after the uncompress tests.
Also added a cli tool that tries to follow the official /bro/ cli tool,
but it's use is mostly for validation and testing, and is still missing
support for many of the flags (eg. --repeat).
For this, I moved the File::Slurp module to an actual dependency, not
a tests-only dep.
Quim Rovira [Sun, 14 Aug 2016 09:31:10 +0000 (11:31 +0200)]
Initial brotli compressor bindings
This provides both one-shot and streaming support, but I haven't yet
tested this thoroughly in terms of leaks and performance. The code tries
to adhere as much as possible to the rest of the module conventions.
Quim Rovira [Sun, 14 Aug 2016 09:08:20 +0000 (11:08 +0200)]
Use a local temporary buffer for decompression instead of a global.
Allocating the temporary buffer on each call to decompress might be
slightly less efficient, but that would mostly impact streaming
decompression with very small blocks.
Not even sure this change is really worth doing.. it could use some
benchmarking to see if it really makes sense.
Quim Rovira [Sun, 14 Aug 2016 09:05:42 +0000 (11:05 +0200)]
Remove unuser var total_out
Quim Rovira [Sun, 14 Aug 2016 09:03:42 +0000 (11:03 +0200)]
Break down the long call to BrotliDecoderDecompressStream
Quim Rovira [Sat, 13 Aug 2016 12:30:35 +0000 (14:30 +0200)]
Forgot to rename the decoder custom dictionary func
Quim Rovira [Sat, 13 Aug 2016 11:29:06 +0000 (13:29 +0200)]
Update use of deprecated brotli decoder APIs
This does not cover the use of BrotliDecompressedSize, and by looking at
the brotli code, it might even be a good idea to just use the streaming
interface right away.
Quim Rovira [Sat, 13 Aug 2016 10:17:03 +0000 (12:17 +0200)]
Add libbrotli.a to the clean targets
Quim Rovira [Sat, 13 Aug 2016 10:06:09 +0000 (12:06 +0200)]
Update MANIFEST
Quim Rovira [Sat, 13 Aug 2016 10:05:48 +0000 (12:05 +0200)]
Another missing gitignore
Quim Rovira [Sat, 13 Aug 2016 10:05:11 +0000 (12:05 +0200)]
Point the tests to the brotli test data
Quim Rovira [Sat, 13 Aug 2016 10:01:24 +0000 (12:01 +0200)]
Add some gitignores before i go crazy
Quim Rovira [Sat, 13 Aug 2016 09:50:47 +0000 (11:50 +0200)]
Remove old decoder files
Quim Rovira [Sat, 13 Aug 2016 09:49:31 +0000 (11:49 +0200)]
Add a submodule for the official brotli repo, and use that instead of
the local copy of the decoder files.
Marius Gavrilescu [Fri, 1 Jan 2016 09:32:11 +0000 (11:32 +0200)]
Bump version and update Changes
Marius Gavrilescu [Fri, 1 Jan 2016 09:29:44 +0000 (11:29 +0200)]
Add BUILD_REQUIRES
Marius Gavrilescu [Thu, 31 Dec 2015 19:02:31 +0000 (21:02 +0200)]
Initial commit
This page took 0.017167 seconds and 4 git commands to generate.