Skip to content

Commit

Permalink
Add brotli parameters and .venv
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Jackson committed Sep 16, 2024
1 parent 883db3e commit 293036d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ draft-jackson-tls-cert-abridge.xml
package-lock.json
report.xml
!requirements.txt
/benchmarks/.venv
2 changes: 1 addition & 1 deletion benchmarks/schemes/internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 293036d

Please sign in to comment.