Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
@perfallit.bsky.socialDec 3, 2026, 12:20 PM

Rust and Python don't carry the same run-to-run variance, so one regression percentage across a whole repo is wrong in one direction or the other. The percentage belongs to the code it gates, set per workspace, not to the org chart. #criterion #pytest

@perfallit.bsky.socialNov 26, 2026, 11:12 AM

Drift announces itself in one field, not a crash. After a runner update, save the sorted key list of your benchmark JSON and diff it in CI. A mismatch there is the earliest point where your saved baselines stop meaning the same thing. #pytest #benchmarking

@hugovalters.bsky.socialNov 19, 2026, 10:50 AM

187 lines of Python turn pytest-benchmark JSON into branch comparisons and regression alerts at a set threshold. For devs tracking perf in CI. #python #testing #pytest https://www.valtersit.com/python/pytest-benchmark-report-analyzer/

valtersit.compytest Benchmark Report Analyzer
@perfallit.bsky.socialNov 11, 2026, 5:39 PM

The adapter you pick decides what the trend can see. pytest-benchmark JSON, `go test -bench -benchmem -json`, criterion with `--message-format=json`, or a Google Benchmark export: pick the one matching your output and keep it fixed, or the series breaks mid-quarter. #pytest #golang #rustlang #cpp

@hugovalters.bsky.socialNov 8, 2026, 9:20 AM

Test FastAPI in-process with pytest-asyncio and httpx.AsyncClient over ASGITransport—no sockets—plus a coverage gate. One command, fast CI. #python #pytest #httpx https://www.valtersit.com/vault/run-fastapi-tests-with-pytest-httpx-asyncclient-and-coverage-14387f/

valtersit.comRun FastAPI tests with pytest, httpx AsyncClient, and coverage gate
@sheerluck.misskey.io.ap.brid.gyNov 7, 2026, 3:56 PM

#pytest #python #maxima #sagemath
$ /usr/lib/python-exec/python3.14/pytest /usr/lib/python3.14/site-packages/sage/tests/maxima_library_test.py

collected 26 items

maxima_library_test.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓

26 passed

@perfallit.bsky.socialNov 4, 2026, 10:52 AM

Pick your three hottest paths and ask: would the last PR that touched them have passed a 5% gate? If nobody can answer without re-running the benchmark, the job archived a file instead of enforcing a number. That gap is where a 3% slowdown per merge slips in. #pytest #golang #performance

@perfallit.bsky.socialOct 30, 2026, 5:47 PM

pytest-benchmark only writes its JSON if you pass --benchmark-json=<file>. That file is the whole contract a gate needs: test name, runs, min/mean/max per case. Emit it on every CI run now, gate later. You want history to exist before you pick a threshold. #pytest #pytest-benchmark

@perfallit.bsky.socialOct 29, 2026, 9:28 AM

Green unit tests still merge code that's 40% slower. Correctness and speed are different axes, and a test suite only watches one of them. That's why the gate in CI is a separate job with its own exit code, not another test case. #pytest #unittesting #performance

@perfallit.bsky.socialOct 26, 2026, 5:21 PM

Run your benchmark gate inside the PR job, not a nightly build. A gate that reports the next morning tells you after the slow commit is already on main. If the full suite takes too long, shrink it to the hot paths your users actually hit. #pytest #benchmarking #performance

@jgraber.bsky.socialOct 23, 2026, 10:54 AM

#Python Friday #354: Run #Pytest in Parallel - #testing

pythonfriday.dev/2026/10/354-...

pythonfriday.dev#354: Run Pytest in Parallel - Python Friday
@perfallit.bsky.socialOct 21, 2026, 5:25 PM

Your CI doesn't read the benchmark, it reads the exit code. Put the number in one variable and the command stays boring: FAIL_PCT=5 perfall ingest --bench results.json --api-key $KEY --baseline main --fail-on-regression $FAIL_PCT Non-zero exit means the job fails right where the PR is. #pytest…

@perfallit.bsky.socialOct 20, 2026, 5:05 PM

Tune the threshold in the pipeline file, not in a settings page. The percentage rides along as an argument to the ingest command next to the benchmark file, API key, and baseline branch. If the run regresses past it, the CLI exits non-zero, and that's what your CI actually reads. #pytest #CI

@jgraber.bsky.socialOct 16, 2026, 8:12 PM

#Python Friday #353: Shuffling Test Order in #Pytest - #testing

pythonfriday.dev/2026/10/353-...