Skip to content

Benchmark history: 1.23.1 (memory, SQLite, PostgreSQL) - #184

Open
gmpassos wants to merge 1 commit into
masterfrom
benchmark/history-1.23.1
Open

gmpassos wants to merge 1 commit into
masterfrom
benchmark/history-1.23.1

Conversation

@gmpassos

Copy link
Copy Markdown
Contributor

Adds the db_users benchmark results for 1.23.1 (6eb32fa) to benchmark/db_users/HISTORY.md: one entry per DB and a 2026-10-15 column in the progression tables.

Mac17,3 (Apple M5), on AC power with the machine idle, --repeat 5 (median of 5 rounds), PostgreSQL 18.6 in Docker.

vs 1.22.0 (2026-10-14) memory SQLite PostgreSQL
byId +13.7% +14.0% −3.1%
byEmail +2.9% +13.7% −1.6%
byState (20) +9.3% +18.0% −0.2%
list (20) +3.1% +19.4% +1.1%
count +0.2% +0.0% −1.0%
authenticate −1.1% +10.5% +1.5%
register −0.1% +0.8% +1.9%
update +2.7% +7.1% −3.5%
remove +7.5% +4.5% −0.2%

The gain comes from direct constructor calls with reflection_factory 2.12 (1.23.0). It is largest where many entities are built, on SQLite. On PostgreSQL it is within the Docker noise, because each call spends far longer waiting on the database. count builds no entity and is unchanged on every DB.

This changes only the benchmark history, not the package, so it has no version bump (1.23.1 is already released).

🤖 Generated with Claude Code

Recorded at 6eb32fa on AC power with the machine idle (--repeat 5), with
a 2026-10-15 column in the progression tables. Direct constructor calls
(1.23.0): SQLite +18-19% on byState/list, +14% on single-entity reads,
+10% login; memory +14% byId, +9% byState; PostgreSQL unchanged (within
the Docker noise); count, which builds no entity, unchanged everywhere.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.25%. Comparing base (6eb32fa) to head (967097e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
- Coverage   95.25%   95.25%   -0.01%     
==========================================
  Files          68       68              
  Lines       23751    23751              
==========================================
- Hits        22625    22623       -2     
- Misses       1126     1128       +2     
Flag Coverage Δ
unittests 95.25% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant