Skip to content

chore(perf): add performance testing#173

Merged
kessplas merged 11 commits into
stagingfrom
kessplas/perf-test
Apr 18, 2026
Merged

chore(perf): add performance testing#173
kessplas merged 11 commits into
stagingfrom
kessplas/perf-test

Conversation

@kessplas

@kessplas kessplas commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes: Adds a rudimentary performance test.

There is limited utility in this test as it is subject to heavy noise from network conditions and S3's backend performance. As such there is no reliable baseline that could be automated against (e.g. failing CI when performance regresses). It is included for completeness.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kessplas kessplas changed the base branch from main to staging April 8, 2026 00:47
@kessplas kessplas changed the title Kessplas/perf test chore(perf): add performance testing Apr 17, 2026
@kessplas kessplas marked this pull request as ready for review April 17, 2026 22:16
Comment thread .github/workflows/python-perf.yml Outdated

jobs:
python-perf:
runs-on: macos-14-large

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why run the performance test on macos-14-large?
Ubuntu is cheaper and faster to provision.

resp["Body"].read()
return time.perf_counter() - t0

def run_local():

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Issue: Why call this local?
What is this testing?

It feels like it is testing all the ingredients of the S3EC together without testing the S3EC. Which makes sense, as it can be used to determine the local cost... OH... it determines the non-network latency... or the local latency... got it.

@kessplas kessplas merged commit 586ad4b into staging Apr 18, 2026
6 checks passed
@kessplas kessplas deleted the kessplas/perf-test branch April 18, 2026 00:08
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.

2 participants