Skip to content

Commit dbad283

Browse files
committed
ci: Merge commit
2 parents 19eaa2e + 0b22cea commit dbad283

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/benchmark.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,24 +98,20 @@ def test_files_build():
9898
with open(output_path, "wb") as dest_file:
9999
builder.sign(signer, "image/jpeg", source_file, dest_file)
100100

101-
102101
def test_streams_build():
103102
"""Benchmark building a C2PA asset from a stream."""
104103
output = io.BytesIO(bytearray())
105104
with open(test_path, "rb") as source_file:
106105
builder.sign(signer, "image/jpeg", source_file, output)
107106

108-
109107
def test_files_reading(benchmark):
110108
"""Benchmark file-based reading."""
111109
benchmark(test_files_read)
112110

113-
114111
def test_streams_reading(benchmark):
115112
"""Benchmark stream-based reading."""
116113
benchmark(test_streams_read)
117114

118-
119115
def test_files_builder_signer_benchmark(benchmark):
120116
"""Benchmark file-based building."""
121117
benchmark(test_files_build)

0 commit comments

Comments
 (0)