Skip to content

feat: scaffold Windows 7-zip benchmark - #7038

Open
amarkdotdev wants to merge 2 commits into
GoogleCloudPlatform:masterfrom
amarkdotdev:feat/windows-seven-benchmark-5250
Open

feat: scaffold Windows 7-zip benchmark#7038
amarkdotdev wants to merge 2 commits into
GoogleCloudPlatform:masterfrom
amarkdotdev:feat/windows-seven-benchmark-5250

Conversation

@amarkdotdev

Copy link
Copy Markdown

Summary

  • Add seven_benchmark.py scaffold with BENCHMARK_NAME and handler stubs

Fixes #5250

Test plan

  • Verified benchmark module imports

Fixes GoogleCloudPlatform#5250

Signed-off-by: Aaron <amark@g.jct.ac.il>

FLAGS = flags.FLAGS

BENCHMARK_NAME = 'seven_benchmark'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: seven_zip_benchmark


BENCHMARK_NAME = 'seven_benchmark'
BENCHMARK_CONFIG = """
seven_benchmark:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: seven_zip_benchmark


from absl import flags
from perfkitbenchmarker import configs
from perfkitbenchmarker import vm_util

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused.


def Prepare(benchmark_spec):
del benchmark_spec
return []

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


def Cleanup(benchmark_spec):
del benchmark_spec
return []

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Aaron <amark@g.jct.ac.il>
@amarkdotdev

Copy link
Copy Markdown
Author

renamed to seven_zip_benchmark, dropped the unused import, and fixed Prepare/Cleanup signatures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Windows compression benchmark 7-zip

2 participants