[PR #6092] [CLOSED] test: sign in duration speed #32040

Closed
opened 2026-04-17 22:54:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6092
Author: @ping-maxwell
Created: 11/19/2025
Status: Closed

Base: canaryHead: test/sign-in-duration-test


📝 Commits (1)

  • b51600e test: sign in duration speed

📊 Changes

1 file changed (+7 additions, -2 deletions)

View changed files

📝 packages/better-auth/src/api/routes/sign-in.ts (+7 -2)

📄 Description

Just for testing purposes, not real pr


Summary by cubic

Add timing instrumentation to the email sign-in flow to measure how long key steps take. No functional changes.

  • Wrapped findUserByEmail, verifyPassword, and createSession with console.time/console.timeEnd for quick performance profiling.

Written for commit b51600e951. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6092 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 11/19/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `test/sign-in-duration-test` --- ### 📝 Commits (1) - [`b51600e`](https://github.com/better-auth/better-auth/commit/b51600e9518704f29ccbf3f0109478efd397598d) test: sign in duration speed ### 📊 Changes **1 file changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/sign-in.ts` (+7 -2) </details> ### 📄 Description Just for testing purposes, not real pr <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Add timing instrumentation to the email sign-in flow to measure how long key steps take. No functional changes. - Wrapped findUserByEmail, verifyPassword, and createSession with console.time/console.timeEnd for quick performance profiling. <sup>Written for commit b51600e9518704f29ccbf3f0109478efd397598d. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 22:54:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#32040