From 293036d8f8aec053236292fd202fbbf170b52ef2 Mon Sep 17 00:00:00 2001 From: Dennis Jackson Date: Tue, 6 Aug 2024 16:35:12 +0100 Subject: [PATCH] Add brotli parameters and .venv --- .gitignore | 1 + benchmarks/schemes/internal.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b7243a5..7705c33 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ draft-jackson-tls-cert-abridge.xml package-lock.json report.xml !requirements.txt +/benchmarks/.venv \ No newline at end of file diff --git a/benchmarks/schemes/internal.py b/benchmarks/schemes/internal.py index 807d707..e94ae52 100644 --- a/benchmarks/schemes/internal.py +++ b/benchmarks/schemes/internal.py @@ -104,7 +104,7 @@ def compress(self, cert_chain): return self.compress_bytes(b"".join(cert_chain)) def compress_bytes(self, raw_bytes): - return brotli.compress(raw_bytes) + return brotli.compress(raw_bytes,quality=11,lgwin=17) def decompress(self, compressed_data): # TODO Not Implemented